added uikit markup for uptime winix function

This commit is contained in:
Tomasz Sowa 2021-02-09 18:26:30 +01:00
parent 2799a66c16
commit 55462fca9f
1 changed files with 28 additions and 8 deletions

View File

@ -2,20 +2,40 @@
<h1>{uptime_header}</h1> <h1>{uptime_header}</h1>
<p>{uptime_current_time}: [winix_cur_time]<br> <table class="uk-table uk-table-divider uk-table-small uk-table-justify uk-width-2-3@s uk-width-1-2@m">
{uptime_up}:
<tr>
<th>{uptime_current_time}</th><td>[winix_cur_time]</td>
</tr>
<tr>
<th>{uptime_up}</th>
<td>
[if uptime_more_than_one_day] [if uptime_more_than_one_day]
[uptime_days] {uptime_days} [uptime_days] {uptime_days}
[else] [else]
[uptime_hours] [uptime_hours]
[end] [end]
<br> </td>
{uptime_how_many_sessions}: [winix_how_many_sessions]<br> </tr>
{uptime_users_logged}: [winix_users_logged]<br>
{load_avg}: [winix_loadavg_now], [winix_loadavg_1], [winix_loadavg_5], [winix_loadavg_15]<br> <tr>
{req_per_sec}: [winix_req_per_sec_now], [winix_req_per_sec_1], [winix_req_per_sec_5], [winix_req_per_sec_15] <th>{uptime_how_many_sessions}</th><td>[winix_how_many_sessions]</td>
</p> </tr>
<tr>
<th>{uptime_users_logged}</th><td>[winix_users_logged]</td>
</tr>
<tr>
<th>{load_avg}</th><td>[winix_loadavg_now], [winix_loadavg_1], [winix_loadavg_5], [winix_loadavg_15]</td>
</tr>
<tr>
<th>{req_per_sec}</th><td>[winix_req_per_sec_now], [winix_req_per_sec_1], [winix_req_per_sec_5], [winix_req_per_sec_15]</td>
</tr>
</table>
</div> </div>