Просмотр исходного кода

Use an alert box to indicate no networks or no users

Key Networks 7 лет назад
Родитель
Сommit
7d97987605
2 измененных файлов с 4 добавлено и 9 удалено
  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