From: Alexander Ebert Date: Fri, 29 Apr 2016 23:16:29 +0000 (+0200) Subject: Updated footer markup and styles X-Git-Tag: 3.0.0_Beta_1~1795 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dcc2d75d5af8a9915cd33ccbeddc64ac198f9f7f;p=GitHub%2FWoltLab%2FWCF.git Updated footer markup and styles --- diff --git a/com.woltlab.wcf/templates/pageFooter.tpl b/com.woltlab.wcf/templates/pageFooter.tpl index 2e5ccef2cb..2500fb4509 100644 --- a/com.woltlab.wcf/templates/pageFooter.tpl +++ b/com.woltlab.wcf/templates/pageFooter.tpl @@ -15,6 +15,8 @@
+ {event name='footerContents'} + {if ENABLE_BENCHMARK}{include file='benchmark'}{/if} {include file='pageFooterCopyright'} diff --git a/wcfsetup/install/files/acp/style/layout.scss b/wcfsetup/install/files/acp/style/layout.scss index 429e05497a..ba1902a0e0 100644 --- a/wcfsetup/install/files/acp/style/layout.scss +++ b/wcfsetup/install/files/acp/style/layout.scss @@ -214,6 +214,9 @@ } .pageFooter { + box-shadow: 0 0 10px rgba(0, 0, 0, .6); +} + +.pageFooterCopyright { padding: 20px 0; - text-align: center; } diff --git a/wcfsetup/install/files/acp/templates/benchmark.tpl b/wcfsetup/install/files/acp/templates/benchmark.tpl index 8a37ea8bf7..2bea953c4c 100644 --- a/wcfsetup/install/files/acp/templates/benchmark.tpl +++ b/wcfsetup/install/files/acp/templates/benchmark.tpl @@ -1,37 +1,39 @@ -

Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}

- -{if ENABLE_DEBUG_MODE} - - +
+ Execution time: {@$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()} - + + + -{/if} \ No newline at end of file + //]]> + + {/if} +
\ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/pageFooter.tpl b/wcfsetup/install/files/acp/templates/pageFooter.tpl index a577548f45..8d3f5f0903 100644 --- a/wcfsetup/install/files/acp/templates/pageFooter.tpl +++ b/wcfsetup/install/files/acp/templates/pageFooter.tpl @@ -1,11 +1,11 @@ diff --git a/wcfsetup/setup/template/footer.tpl b/wcfsetup/setup/template/footer.tpl index ea2f17b297..7eef4d9e09 100644 --- a/wcfsetup/setup/template/footer.tpl +++ b/wcfsetup/setup/template/footer.tpl @@ -1,11 +1,11 @@
- +