implemented editing of list credentials for admin/owner, fixed bug:
if login fails due to wrong auth, it is no longer repeated. instead, the list is disabeld
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<nav>
|
||||
<a href="index">Home</a>
|
||||
<a href="admin">Administration</a>
|
||||
<!-- a class="button" href="reload" />Reload templates</a -->
|
||||
<script type="text/javascript">
|
||||
if ('«data.user.permissions»'.includes('admin')){
|
||||
$('<a/>',{class:'button',href:'reload'}).text('Reload templates').appendTo($('nav'));
|
||||
}
|
||||
</script>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user