diff options
author | Simon Rettberg | 2017-12-05 17:19:18 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-05 17:19:18 +0100 |
commit | 637d7baa36f3dfe183720d7a4cb6c895bfd57760 (patch) | |
tree | 886ede597e2c378680dd033ef3568cc5e4f3d409 /modules-available | |
parent | [locationinfo] Native panels should ignore SSL errors for now ... (diff) | |
download | slx-admin-637d7baa36f3dfe183720d7a4cb6c895bfd57760.tar.gz slx-admin-637d7baa36f3dfe183720d7a4cb6c895bfd57760.tar.xz slx-admin-637d7baa36f3dfe183720d7a4cb6c895bfd57760.zip |
[dnbd3] Minor UI tweaks
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/dnbd3/page.inc.php | 2 | ||||
-rw-r--r-- | modules-available/dnbd3/templates/page-server-locations.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/dnbd3/page.inc.php b/modules-available/dnbd3/page.inc.php index 2836cbf4..74a23021 100644 --- a/modules-available/dnbd3/page.inc.php +++ b/modules-available/dnbd3/page.inc.php @@ -146,7 +146,7 @@ class Page_Dnbd3 extends Page if ($server['uptime'] != 0) { $server['uptime'] += ($NOW - $server['dnbd3lastseen']); } - $server['dnbd3lastseen_s'] = $server['dnbd3lastseen'] ? date('d.m.Y H:i', $server['dnbd3lastseen']) : '-'; + $server['dnbd3lastseen_s'] = $server['dnbd3lastseen'] ? Util::prettyTime($server['dnbd3lastseen']) : '-'; $server['uptime_s'] = $server['uptime'] ? floor($server['uptime'] / 86400) . 'd ' . gmdate('H:i', $server['uptime']) : '-'; $server['totalup_s'] = Util::readableFileSize($server['totalup']); $server['totaldown_s'] = Util::readableFileSize($server['totaldown']); diff --git a/modules-available/dnbd3/templates/page-server-locations.html b/modules-available/dnbd3/templates/page-server-locations.html index 20dddaac..7d7ddaf1 100644 --- a/modules-available/dnbd3/templates/page-server-locations.html +++ b/modules-available/dnbd3/templates/page-server-locations.html @@ -35,7 +35,7 @@ </div> <div class="buttonbar text-right"> - <button type="submit" class="btn btn-success" name="action" value="savelocations"> + <button type="submit" class="btn btn-primary" name="action" value="savelocations"> <span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}} </button> |