Commit 6d7aa7cd authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix the styling of the performance information in the footer.

parent 70abbf53
......@@ -2147,3 +2147,6 @@ table.tablerenderer th.desc {
#footerwrap p {
margin: 0.5em;
}
.performanceinfo span {
padding-right: 1em;
}
<div class="performanceinfo">
{if $perf_memory_total}
<span class="memoryused">{str tag="memoryused" section="performance"}: {$perf_memory_total_display}</span><br>
<span id="memoryused">{str tag="memoryused" section="performance"}: {$perf_memory_total_display}</span>
{/if}
{if $perf_realtime}
<span class="timeused">{str tag="timeused" section="performance"}: {$perf_realtime|number_format:3} {str tag="seconds" section="performance"}</span><br>
<span id="timeused">{str tag="timeused" section="performance"}: {$perf_realtime|number_format:3} {str tag="seconds" section="performance"}</span>
{/if}
{if $perf_includecount}
<span class="included">{str tag="included" section="performance"}: {$perf_includecount}</span><br>
<span id="included">{str tag="included" section="performance"}: {$perf_includecount}</span>
{/if}
{if $perf_dbreads || $perf_dbwrites}
<span class="dbqueries">{str tag="dbqueries" section="performance"}: {$perf_dbreads} {str tag='reads' section='performance'}, {$perf_dbwrites} {str tag='writes' section='performance'}</span><br>
<span id="dbqueries">{str tag="dbqueries" section="performance"}: {$perf_dbreads} {str tag='reads' section='performance'}, {$perf_dbwrites} {str tag='writes' section='performance'}</span>
{/if}
{if $perf_ticks}
<span class="posixtimes">{str tag="ticks" section="performance"}: {$perf_ticks} {str tag="user" section="performance"}: {$perf_utime}
<span id="posixtimes">{str tag="ticks" section="performance"}: {$perf_ticks} {str tag="user" section="performance"}: {$perf_utime}
{str tag="sys" section="performance"}: {$perf_stime} {str tag="cuser" section="performance"}: {$perf_cutime}
{str tag="csys" section="performance"}: {$perf_cstime}</span><br>
{str tag="csys" section="performance"}: {$perf_cstime}</span>
{/if}
{if $perf_serverload}
<span class="serverload">{str tag="serverload" section="performance"}: {$perf_serverload}</span><br>
<span id="serverload">{str tag="serverload" section="performance"}: {$perf_serverload}</span>
{/if}
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment