Permalink
Browse files

Separate servers on the user profile a bit

  • Loading branch information...
1 parent 2b4599e commit 90b37de86fe0c32cbc36dd50b46ffd024bf0605e @abh committed Jun 21, 2012
Showing with 11 additions and 3 deletions.
  1. +3 −3 docs/ntppool/tpl/user/profile_public.html
  2. +8 −0 docs/shared/static/css/content.css
View
6 docs/ntppool/tpl/user/profile_public.html
@@ -1,6 +1,6 @@
[% page.title = (user.username || user.email) _ "'s pool servers" %]
-<div class="block">
+<div id="userprofile" class="block">
<h3>[% user.username || user.email | html %]'s pool servers</h3>
@@ -13,7 +13,7 @@
[% END %]
[% FOR server = user.servers %]
-<p>
+<div class="server">
[% IF server.hostname %]Hostname: <b>[% server.hostname | html %]</b><br />[% END %]
IP: <b><a href="[% server.url %]">[% server.ip | html %]</a></b><br />
Current score: <b>[% server.score %]</b><br />
@@ -40,7 +40,7 @@
<div class="graph" data-server-ip="[% server.ip %]" data-width="480" data-height="100"></div>
<div class="graph-legend"></div>
-</p>
+</div>
[% END %]
[% page.js.push(combust.static_group("d3.js")) %]
View
8 docs/shared/static/css/content.css
@@ -126,6 +126,14 @@ p.thanks {font-style: italic; font-weight: bold;}
}
#admin .value span {font-size: 107%;}
#admin .server_desc {font-size: 88%;}
+
+/* user profile */
+#userprofile .server {
+ border-bottom: 1px dotted #bbb;
+ padding-bottom: 10px;
+ margin-bottom: 15px;
+}
+
/* zones */
table.servertable {

0 comments on commit 90b37de

Please sign in to comment.