Changed footer appearance
This commit is contained in:
parent
1a3f77175b
commit
620d1204f7
2 changed files with 6 additions and 9 deletions
|
@ -133,11 +133,9 @@ body {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
footer {
|
footer .main-wrapper {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 1em 0;
|
margin-top: 1em;
|
||||||
padding-top: 0.5em;
|
|
||||||
border-top: 1px solid #eee;
|
|
||||||
font-size: small;
|
font-size: small;
|
||||||
color: silver;
|
color: silver;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,16 +35,15 @@ LayoutHelper::addScript('core.js');
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<div class="main-wrapper">
|
<div class="main-wrapper">
|
||||||
|
<hr>
|
||||||
<span>Load: <?php echo sprintf('%.05f', microtime(true) - $this->context->startTime) ?>s</span>
|
<span>Load: <?php echo sprintf('%.05f', microtime(true) - $this->context->startTime) ?>s</span>
|
||||||
<span>Queries: <?php echo count(Database::getLogs()) ?></span>
|
<span>Queries: <?php echo count(Database::getLogs()) ?></span>
|
||||||
<span><a href="<?php echo SZURU_LINK ?>">szurubooru v<?php echo SZURU_VERSION ?></a></span>
|
<span><a href="<?php echo SZURU_LINK ?>">szurubooru v<?php echo SZURU_VERSION ?></a></span>
|
||||||
<?php if (PrivilegesHelper::confirm(Privilege::ListLogs)): ?>
|
<?php if (PrivilegesHelper::confirm(Privilege::ListLogs)): ?>
|
||||||
<span><a href="<?php echo \Chibi\UrlHelper::route('log', 'list') ?>">Logs</a></span>
|
<span><a href="<?php echo \Chibi\UrlHelper::route('log', 'list') ?>">Logs</a></span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
|
||||||
<?php if ($this->config->misc->debugQueries): ?>
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="main-wrapper">
|
<?php if ($this->config->misc->debugQueries): ?>
|
||||||
<pre class="debug">
|
<pre class="debug">
|
||||||
<?php foreach (Database::getLogs() as $query)
|
<?php foreach (Database::getLogs() as $query)
|
||||||
{
|
{
|
||||||
|
@ -54,8 +53,8 @@ LayoutHelper::addScript('core.js');
|
||||||
printf('<p>%s [%s]</p>', htmlspecialchars($query->getSql()), join(', ', $bindings));
|
printf('<p>%s [%s]</p>', htmlspecialchars($query->getSql()), join(', ', $bindings));
|
||||||
} ?>
|
} ?>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<div id="small-screen"></div>
|
<div id="small-screen"></div>
|
||||||
|
|
Loading…
Reference in a new issue