mirror of
https://github.com/key-networks/ztncui.git
synced 2025-06-07 18:53:45 +02:00
Use an alert box to indicate no networks or no users
This commit is contained in:
parent
2cd0bd187e
commit
7d97987605
2 changed files with 4 additions and 9 deletions
|
@ -43,10 +43,5 @@ block content
|
||||||
a(href='/controller/network/' + network.nwid + '/members') members
|
a(href='/controller/network/' + network.nwid + '/members') members
|
||||||
|
|
||||||
else
|
else
|
||||||
tr
|
.alert.alert-info
|
||||||
td
|
strong There are no networks on this network controller - click "Add network" above to create a new network.
|
||||||
td There are no networks on this network controller - click <b>Add network</b> above to create a new network.
|
|
||||||
td
|
|
||||||
td
|
|
||||||
td
|
|
||||||
td
|
|
||||||
|
|
|
@ -18,5 +18,5 @@ block users_content
|
||||||
a(href='/users/' + user.name + '/password') set password
|
a(href='/users/' + user.name + '/password') set password
|
||||||
|
|
||||||
else
|
else
|
||||||
tr
|
.alert.alert-info
|
||||||
td There are no users on this system
|
strong There are no users on this system
|
||||||
|
|
Loading…
Add table
Reference in a new issue