50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
{{!
|
|
modpage.mustache -- the moderator panel when logged in
|
|
template parameters:
|
|
- prefix ( the site's prefix )
|
|
|
|
}}
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="{{prefix}}static/site.css"></link>
|
|
<!-- yes it uses js -->
|
|
<script type="text/javascript" src="{{prefix}}static/mod.js"></script>
|
|
<title> nntpchan mod page </title>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<div> post actions </div>
|
|
<hr />
|
|
<div>
|
|
<label for="nntpchan_mod_target">target</label>
|
|
<input id="nntpchan_mod_target" type="text" />
|
|
</div>
|
|
<div>
|
|
<button onclick="nntpchan_ban()">ban (url)</button>
|
|
<button onclick="nntpchan_delete()">delete (url)</button>
|
|
<button onclick="nntpchan_unban()">unban (ip)</button>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<div>
|
|
<div>
|
|
lightweight actions
|
|
</div>
|
|
<div>
|
|
<button onclick="nntpchan_admin('template.reload', {})">reload all templates</button>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<label>very load heavy actions, use with care</label>
|
|
<div>
|
|
<button onclick="nntpchan_admin('frontend.regen', {})">regenerate all pages</button>
|
|
<button onclick="nntpchan_admin('thumbnail.regen', {})">regenerate all thumbnails</button>
|
|
</div>
|
|
</div>
|
|
<div id="nntpchan_mod_result"></div>
|
|
<noscript>
|
|
<b>enable js to use the mod panel kthx</b>
|
|
</noscript>
|
|
</body>
|
|
</html>
|