]> code.octet-stream.net Git - broadcaster/blobdiff - server/templates/users.html
More UI improvements
[broadcaster] / server / templates / users.html
index b95b3547626c32327209483600b7039f6f12a6e7..d8d0508d5205a625de5f87cf3fbf225d069b0e2c 100644 (file)
@@ -1,8 +1,9 @@
 
       <h1>User Management</h1>
-      <ul>
+      <table class="listing" border="1">
+      <tr><th>Username</th><th>Is Admin?</th><th></th></tr>
       {{range .Users}}
-        <li><b>{{.Username}}</b> <a href="/users/{{.Id}}">(Edit)</a></li>
+      <tr><td>{{.Username}}</td><td class="enabled">{{if .IsAdmin}}✅{{else}}❌{{end}}</td><td><a href="/users/{{.Id}}">(Edit)</a></td></tr>
       {{end}}
-      </ul>
+      </table>
       <p><a href="/users/new">Add New User</a></p>