Added basic Formula Wizard, Added script to compile SASS and TS, many other random changes.
Update .gitignore, .htaccess, and 68 more files...
This commit is contained in:
@@ -8,7 +8,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
||||
include_once 'commons/langs.php';
|
||||
?>
|
||||
<footer class="d-flex flex-align-center w-full p-s py-xs">
|
||||
<button id="sidebar-toggle-footer" class="p-xs border r-s t-size-10">
|
||||
<button id="sidebar-toggle-footer" class="p-xs border r-s t-size-10" aria-label="<?php echo(localize("footer.alt.sidebar.button")); ?>">
|
||||
<i class="fa fa-bars px-xxs" aria-hidden="true"></i>
|
||||
</button>
|
||||
<p class="flex-fill t-center t-size-10 t-w-500 t-muted">
|
||||
|
||||
@@ -54,6 +54,7 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
|
||||
<?php
|
||||
printSidebarEntry("https://files.nibblepoker.lu/", localize("sidebar.text.downloads"), "fad fa-download", "");
|
||||
printSidebarEntry("https://git.nibblepoker.lu/", localize("sidebar.text.gitea"), "fad fa-code", "");
|
||||
//printSidebarEntry("https://wiki.nibblepoker.lu/", localize("sidebar.text.wiki"), "fad fa-books", "");
|
||||
?>
|
||||
</div>
|
||||
<hr class="subtle">
|
||||
|
||||
@@ -59,4 +59,23 @@ function printMainHeader(string $text, ?string $iconId = null, ?string $rightTex
|
||||
));
|
||||
}
|
||||
|
||||
function printSubHeader(string $text, ?string $anchorId = null, ?string $backgroundClass = "bkgd-math"): void {
|
||||
if(is_null($backgroundClass)) {
|
||||
$backgroundClass = "bkgd-math";
|
||||
}
|
||||
$headingText = getMainHeader(
|
||||
$text,
|
||||
null,
|
||||
null,
|
||||
$anchorId,
|
||||
69, // Forcing it as a non-first of main heading.
|
||||
$backgroundClass,
|
||||
3
|
||||
);
|
||||
|
||||
$headingText = str_replace("t-size-14", "t-size-11", $headingText);
|
||||
|
||||
echo($headingText);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user