Roxen.git/
server/
config_interface/
boxes/
server_status.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-05-29
2017-05-29 12:26:57 by Pontus Östlund <ponost@roxen.com>
2b73eda64fd52646b07339c6a730064be1cdec9d (
14
lines) (+
11
/-
3
)
[
Show
|
Annotate
]
Branch:
ponost/admin-if-17
Plenty
11:
LocaleString box_doc = _(368,"Various global server statistics"); string add_row( string item, string value ) {
-
return "<
dl
><
dt
>" + item + "
:
</
dt
><
dd
>" + value + "</
dd
></
dl
>";
+
return
+
"<
tr
>
"
+
"
<
th style='width:25%'
>" + item + "</
th
>
"
+
"
<
td
>" + value + "</
td
>
"
+
"
</
tr
>";
} string parse( RequestID id )
58:
sprintf ("%{%.2f %}", System.getloadavg())); #endif
-
return
(
"<cbox type='"+box+"' title='"+box_name+"'>"
+
-
contents+"</cbox>"
)
;
+
return
+
"<cbox type='"+box+"' title='"+box_name+"'>"
+
"<div
class='negative-wrapper'>"
+
"<table
class='nice'>" +
contents+"</
table>"
+
"</div></
cbox>";
}