Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
6d7aa7cd
Commit
6d7aa7cd
authored
May 12, 2009
by
Nigel McNie
Browse files
Fix the styling of the performance information in the footer.
parent
70abbf53
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/static/style/style.css
View file @
6d7aa7cd
...
...
@@ -2147,3 +2147,6 @@ table.tablerenderer th.desc {
#footerwrap
p
{
margin
:
0.5em
;
}
.performanceinfo
span
{
padding-right
:
1em
;
}
htdocs/theme/raw/templates/performancefooter.tpl
View file @
6d7aa7cd
<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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment