Finished polishing site-wide admin control panel
This commit is contained in:
parent
3c37080cb7
commit
441fb56f37
6 changed files with 136 additions and 12 deletions
|
|
@ -23,14 +23,20 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. %>
|
|||
</head>
|
||||
<body>
|
||||
<%- include('partial/navbar', {user}); %>
|
||||
<h1 class="panel-title"><%= instance %> Admin Panel</h1>
|
||||
<div class="admin-panel-container-div">
|
||||
<%- include('partial/adminPanel/channelList', {chanGuide, unescape}) %>
|
||||
<%- include('partial/adminPanel/userList', {user, userList, rankEnum, unescape}) %>
|
||||
<%- include('partial/adminPanel/permList', {permList, rankEnum}) %>
|
||||
<%- include('partial/adminPanel/userBanList') %>
|
||||
<%- include('partial/adminPanel/tokeCommandList') %>
|
||||
<%- include('partial/adminPanel/emoteList') %>
|
||||
<div id="admin-panel-list-container">
|
||||
<div id="admin-nav-list">
|
||||
</div>
|
||||
<div class="admin-panel-container-div">
|
||||
<h1 class="panel-title"><%= instance %> Admin Panel</h1>
|
||||
<div class="admin-panel-list-container-div">
|
||||
<%- include('partial/adminPanel/channelList', {chanGuide, unescape}) %>
|
||||
<%- include('partial/adminPanel/userList', {user, userList, rankEnum, unescape}) %>
|
||||
<%- include('partial/adminPanel/permList', {permList, rankEnum}) %>
|
||||
<%- include('partial/adminPanel/userBanList') %>
|
||||
<%- include('partial/adminPanel/tokeCommandList') %>
|
||||
<%- include('partial/adminPanel/emoteList') %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. %>
|
|||
<h3>Permissions:</h3>
|
||||
<div class="dynamic-container">
|
||||
<form action="javascript:" id="admin-perm-list-field" class="admin-list-field">
|
||||
<h4 class="admin-list-field-container">Global Permissions:</h4>
|
||||
<% Object.keys(permList).forEach((key)=>{ %>
|
||||
<% if(key != "channelOverrides"){ %>
|
||||
<span class="admin-list-field-container">
|
||||
|
|
@ -29,6 +30,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. %>
|
|||
</span>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
</form>
|
||||
<form action="javascript:" id="admin-perm-list-field" class="admin-list-field">
|
||||
<h4 class="admin-list-field-container">Channel Overrides:</h4>
|
||||
<% Object.keys(permList.channelOverrides).forEach((key)=>{ %>
|
||||
<% if(key != "channelOverrides"){ %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue