Browse Source

minor adjustments to footer design

update bootstrap to 4.5.2
remotes/origin/HEAD
René Wagner 9 months ago
parent
commit
fb869e1abe
  1. 12
      assets/vendor/bootstrap/bootstrap.min.css
  2. 6
      index.php

12
assets/vendor/bootstrap/bootstrap.min.css
File diff suppressed because it is too large
View File

6
index.php

@ -25,7 +25,7 @@ fclose($statsfile);
$links_string = "";
if ($config_content["settings"]["custom_links"]) {
foreach ($config_content["settings"]["custom_links"] as $name => $url) {
$links_string = $links_string . "<a href=\"$url\" class=\"badge badge-secondary\" target=\"_blank\">$name</a> ";
$links_string = $links_string . "<a href=\"$url\" class=\"badge badge-primary\" target=\"_blank\">$name</a> ";
}
$links_string = substr($links_string, 0, -1);
}
@ -78,10 +78,10 @@ function show_random_shortlink() {
</div>
</main>
<footer class="footer mt-auto py-3 bg-light">
<footer class="footer mt-auto py-3 bg-dark">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<span class="text-muted">&copy; 2020 <?php echo $config_content["settings"]["author"]; ?> and <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span>
<span class="text-light">&copy; 2020 <?php echo $config_content["settings"]["author"]; ?> and <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span>
<?php if ($links_string) { echo "<span class=\"text-muted\">$links_string</span>"; } ?>
</div>
</div>

Loading…
Cancel
Save