Reformatted loading placeholder and checked it off
parent
0fede1e4a9
commit
a791b1bf3e
|
@ -10,7 +10,7 @@
|
||||||
[X] Admin user add/delete frontend
|
[X] Admin user add/delete frontend
|
||||||
[X] admin user adding backend
|
[X] admin user adding backend
|
||||||
[X] admin user deleting backend
|
[X] admin user deleting backend
|
||||||
[ ] Add Loading...
|
[X] Add Loading...
|
||||||
[ ] Replace ns_lookup_rdns with ns_lookup_rxfr where applicable
|
[ ] Replace ns_lookup_rdns with ns_lookup_rxfr where applicable
|
||||||
[ ] Prevent deleting user's only peer
|
[ ] Prevent deleting user's only peer
|
||||||
[ ] Let users download ssl certs
|
[ ] Let users download ssl certs
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<h2>Add user</h2>
|
<h2>Add user</h2>
|
||||||
<p>To add a new user, type in the user's first device name and a username and click 'add'. The hostname and username must each be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. </p>
|
<p>To add a new user, type in the user's first device name and a username and click 'add'. The hostname and username must each be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. </p>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<div data-bind="visible:isLoaded">
|
<div data-bind="visible:isLoaded">
|
||||||
<input type="text" data-bind="textInput:newUserHostname,event:{keypress:addUserKeyPress}" placeholder="pc1"></input>
|
<input type="text" data-bind="textInput:newUserHostname,event:{keypress:addUserKeyPress}" placeholder="pc1"></input>
|
||||||
<input type="text" data-bind="textInput:newUsername,event:{keypress:addUserKeyPress}" placeholder="joe"></input>
|
<input type="text" data-bind="textInput:newUsername,event:{keypress:addUserKeyPress}" placeholder="joe"></input>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<h2>Delete User</h2>
|
<h2>Delete User</h2>
|
||||||
<p>To delete a user, select the username from the list below and click 'Delete'. This will delete the user and all their peers. </p>
|
<p>To delete a user, select the username from the list below and click 'Delete'. This will delete the user and all their peers. </p>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<div data-bind="visible:isLoaded">
|
<div data-bind="visible:isLoaded">
|
||||||
<select data-bind="options:users,optionsText:'name',value:userToDelete,optionsCaption:'(user)'"></select>
|
<select data-bind="options:users,optionsText:'name',value:userToDelete,optionsCaption:'(user)'"></select>
|
||||||
<button data-bind="click:delUser,disable:isDeletingUser,text:deleteUserText">Delete</button>
|
<button data-bind="click:delUser,disable:isDeletingUser,text:deleteUserText">Delete</button>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<br><hr>
|
<br><hr>
|
||||||
|
|
||||||
<h2>Peers</h2>
|
<h2>Peers</h2>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<table data-bind="visible:isLoaded">
|
<table data-bind="visible:isLoaded">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>Host</th><th>IPv4</th><th></th>
|
<th>Host</th><th>IPv4</th><th></th>
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<h2>Add peer</h2>
|
<h2>Add peer</h2>
|
||||||
<p>To add a new peer, type in a hostname and select a user. The hostname must be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. </p>
|
<p>To add a new peer, type in a hostname and select a user. The hostname must be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. </p>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<div data-bind="visible:isLoaded">
|
<div data-bind="visible:isLoaded">
|
||||||
<input type="text" data-bind="textInput:newPeerHostname,event:{keypress:addPeerKeyPress}" placeholder="phone"></input>
|
<input type="text" data-bind="textInput:newPeerHostname,event:{keypress:addPeerKeyPress}" placeholder="phone"></input>
|
||||||
<select data-bind="options:users,optionsText:'name',value:newPeerUser,optionsCaption:'(user)'"></select>
|
<select data-bind="options:users,optionsText:'name',value:newPeerUser,optionsCaption:'(user)'"></select>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<p>Use this console to edit your network-connected devices. </p>
|
<p>Use this console to edit your network-connected devices. </p>
|
||||||
|
|
||||||
<h2>Your peers</h2>
|
<h2>Your peers</h2>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<table data-bind="visible:isLoaded">
|
<table data-bind="visible:isLoaded">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>Host</th><th></th>
|
<th>Host</th><th></th>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<h2>Add a peer</h2>
|
<h2>Add a peer</h2>
|
||||||
<p>To add a new peer, type in a hostname and click add. The hostname must be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. Keep it short for your own sake!</p>
|
<p>To add a new peer, type in a hostname and click add. The hostname must be 3-10 lowercase letters and numbers <code>/[a-z0-9]{3,10}/</code>. Keep it short for your own sake!</p>
|
||||||
<p data-bind="hidden:isLoaded">Loading...</p>
|
<p data-bind="hidden:isLoaded"><code>Loading...</code></p>
|
||||||
<div data-bind="visible:isLoaded">
|
<div data-bind="visible:isLoaded">
|
||||||
<input type="text" data-bind="textInput:newPeerName,event:{keypress:addKeyPress}" placeholder="mypc1"></input>
|
<input type="text" data-bind="textInput:newPeerName,event:{keypress:addKeyPress}" placeholder="mypc1"></input>
|
||||||
<button data-bind="click:addPeer,disable:isAdding,text:addText">Add</button>
|
<button data-bind="click:addPeer,disable:isAdding,text:addText">Add</button>
|
||||||
|
|
Loading…
Reference in New Issue