Przeglądaj źródła

Use an alert box to indicate no networks or no users

Key Networks 7 lat temu
rodzic
commit
7d97987605
2 zmienionych plików z 4 dodań i 9 usunięć
  1. 2 7
      views/networks.pug
  2. 2 2
      views/users.pug

+ 2 - 7
views/networks.pug

@@ -43,10 +43,5 @@ block content
             a(href='/controller/network/' + network.nwid + '/members') members
 
       else
-        tr
-          td
-          td There are no networks on this network controller - click <b>Add network</b> above to create a new network.
-          td
-          td
-          td
-          td
+        .alert.alert-info
+          strong There are no networks on this network controller - click "Add network" above to create a new network.

+ 2 - 2
views/users.pug

@@ -18,5 +18,5 @@ block users_content
           a(href='/users/' + user.name + '/password') set password
 
     else
-      tr
-        td There are no users on this system
+      .alert.alert-info
+        strong There are no users on this system