浏览代码

Fixed "no networks" message

Key Networks 7 年之前
父节点
当前提交
2cd0bd187e
共有 1 个文件被更改,包括 12 次插入7 次删除
  1. 12 7
      views/networks.pug

+ 12 - 7
views/networks.pug

@@ -14,17 +14,17 @@ block content
 
 
     table.table.table-responsive.table-striped.table-hover
     table.table.table-responsive.table-striped.table-hover
       tr
       tr
-        td(width='3%')
+        th(width='3%')
           = ''
           = ''
-        td(width='20%')
+        th(width='20%')
           | Network name
           | Network name
-        td(width='10%')
+        th(width='10%')
           | Network ID
           | Network ID
-        td(width='7%')
+        th(width='7%')
           = ''
           = ''
-        td(width='10%')
+        th(width='10%')
           = ''
           = ''
-        td(width='50%')
+        th(width='50%')
           = ''
           = ''
       each network in networks
       each network in networks
         tr
         tr
@@ -44,4 +44,9 @@ block content
 
 
       else
       else
         tr
         tr
-          td There are no networks on this network controller
+          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