Filter users / vhosts / policies.
This commit is contained in:
parent
46fa545628
commit
0768272763
|
|
@ -1,7 +1,9 @@
|
|||
<h1>Policies</h1>
|
||||
<div class="section">
|
||||
<h2>All policies</h2>
|
||||
<div class="hider updatable">
|
||||
<div class="hider">
|
||||
<%= filter_ui(policies) %>
|
||||
<div class="updatable">
|
||||
<% if (policies.length > 0) { %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
|
|
@ -37,6 +39,7 @@
|
|||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section-hidden">
|
||||
<h2>Add / update a policy</h2>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
<div class="section">
|
||||
<h2>All users</h2>
|
||||
<div class="hider">
|
||||
<%= filter_ui(users) %>
|
||||
<div class="updatable">
|
||||
<% if (users.length > 0) { %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -26,9 +29,13 @@
|
|||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } else { %>
|
||||
<p>... no vhosts ...</p>
|
||||
<% } %>
|
||||
<p><span class="help" id="internal-users-only"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="section-hidden">
|
||||
<h2>Add a user</h2>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
<div class="section">
|
||||
<h2>All virtual hosts</h2>
|
||||
<div class="hider updatable">
|
||||
<div class="hider">
|
||||
<%= filter_ui(vhosts) %>
|
||||
<div class="updatable">
|
||||
<% if (vhosts.length > 0) { %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -49,6 +52,10 @@
|
|||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } else { %>
|
||||
<p>... no vhosts ...</p>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue