Updated a couple pages, Finished new basic style, Removed tools from menu, Updated formula wizard, Other minor changes

Update .gitignore, .htaccess, and 32 more files...
This commit is contained in:
2023-11-07 23:23:42 +01:00
parent 3891f5ce98
commit f14b8d33a6
34 changed files with 545 additions and 268 deletions

View File

@@ -12,7 +12,7 @@ include_once 'commons/langs.php';
<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">
<a class="bland-link t-muted" href="<?php print(l10n_url_abs('/privacy/')); ?>">
<a class="bland-link" href="<?php print(l10n_url_abs('/privacy/')); ?>">
<?php print(localize('footer.text.privacy')); ?>
</a>
</p>

View File

@@ -9,13 +9,16 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
<meta name="viewport" content="width=device-width"/>
<!--<meta content="cache, store" http-equiv="Cache-Control">
<meta content="cache, store" http-equiv="Pragma">
<meta content="3600" http-equiv="Expires">-->
<?php
// Caching should be handled in '.htaccess' !
//<!--<meta content="cache, store" http-equiv="Cache-Control">
//<meta content="cache, store" http-equiv="Pragma">
//<meta content="3600" http-equiv="Expires">-->
?>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="alternate icon" href="/favicon.ico">
<link rel="stylesheet" href="/resources/FontAwesomePro/5.15.3/css/all.min.css">
<link rel="stylesheet" href="/resources/NibblePoker/css/nibblepoker.min.css">
<link rel="stylesheet" href="/resources/NibblePoker/css/nibblepoker.min.css?v=1">
<?php
if($enable_waffle_iron) {
// Turns out you can't change an SVG's path fill if it's inside an IMG tag...

View File

@@ -30,6 +30,8 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
<hr class="subtle">
<?php
printSidebarEntry(l10n_url_abs('/'), localize("sidebar.text.home"), "fad fa-home", "home");
//printSidebarEntry(l10n_url_abs('/shop'), localize("sidebar.text.shop"), "fad fa-shopping-cart", "shop");
//printSidebarEntry(l10n_url_abs('/school'), localize("sidebar.text.school"), "fad fa-chalkboard-teacher", "school");
?>
<hr class="subtle">
<?php
@@ -42,9 +44,9 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
printSidebarEntry(l10n_url_abs('/content/?tags=electronic'), localize("sidebar.text.electronics"), "fad fa-microchip", "electronic");
?>
</div>
<hr class="subtle">
<?php
printSidebarEntry(l10n_url_abs('/tools/'), localize("sidebar.text.tools"), "fad fa-tools", "tools");
//<hr class="subtle">
//printSidebarEntry(l10n_url_abs('/tools/'), localize("sidebar.text.tools"), "fad fa-tools", "tools");
?>
<hr class="subtle">
<?php