2015-08-05 16:45:16 +05:00
|
|
|
{{!
|
|
|
|
modpage.mustache -- the moderator panel when logged in
|
|
|
|
template parameters:
|
|
|
|
- prefix ( the site's prefix )
|
|
|
|
|
|
|
|
}}
|
2015-08-04 19:03:44 +05:00
|
|
|
<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>
|
2015-08-07 21:36:59 +05:00
|
|
|
<label for="nntpchan_mod_target">target</label>
|
2015-08-07 19:59:57 +05:00
|
|
|
<input id="nntpchan_mod_target" type="text" />
|
2015-08-04 19:03:44 +05:00
|
|
|
</div>
|
2015-08-07 21:36:59 +05:00
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_ban()">ban (url)</button>
|
|
|
|
<button onclick="nntpchan_delete()">delete (url)</button>
|
2015-08-07 21:39:54 +05:00
|
|
|
<button onclick="nntpchan_unban()">unban (ip)</button>
|
2015-08-07 21:36:59 +05:00
|
|
|
</div>
|
2015-08-04 19:03:44 +05:00
|
|
|
</div>
|
2015-09-22 19:33:01 +05:00
|
|
|
<hr />
|
2015-10-02 20:00:26 +05:00
|
|
|
<div>
|
|
|
|
<div> key actions </div>
|
|
|
|
<div>
|
|
|
|
<label for="nntpchan_board_target">pubkey:</label>
|
|
|
|
<input type="text" id="nntpchan_key_target" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_key_add()">add key</button>
|
|
|
|
<button onclick="nntpchan_key_del()">remove key</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2015-09-23 17:54:49 +05:00
|
|
|
<div>
|
|
|
|
<div> board actions </div>
|
|
|
|
<div>
|
|
|
|
<label for="nntpchan_board_target">board name:</label>
|
|
|
|
<input type="text" id="nntpchan_board_target" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.regen')">regenerate</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.ban')">ban</button>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.unban')">unban</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.nuke')">nuke</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2015-09-19 17:54:54 +05:00
|
|
|
<div>
|
2015-09-22 19:34:38 +05:00
|
|
|
<div>
|
|
|
|
lightweight actions
|
|
|
|
</div>
|
|
|
|
<div>
|
2015-09-23 17:59:02 +05:00
|
|
|
<button onclick="nntpchan_admin('template.reload')">reload all templates</button>
|
2015-09-22 19:34:38 +05:00
|
|
|
</div>
|
2015-09-22 19:33:01 +05:00
|
|
|
</div>
|
2015-09-23 17:54:49 +05:00
|
|
|
<hr />
|
2015-09-22 19:33:01 +05:00
|
|
|
<div>
|
|
|
|
<label>very load heavy actions, use with care</label>
|
2015-09-22 19:34:38 +05:00
|
|
|
<div>
|
2015-09-23 17:59:02 +05:00
|
|
|
<button onclick="nntpchan_admin('frontend.regen')">regenerate all pages</button>
|
2015-09-22 21:41:10 +05:00
|
|
|
<button onclick="nntpchan_admin('thumbnail.regen', {threads:1})">regenerate all thumbnails</button>
|
2015-09-22 19:34:38 +05:00
|
|
|
</div>
|
2015-09-19 17:54:54 +05:00
|
|
|
</div>
|
2015-08-07 19:59:57 +05:00
|
|
|
<div id="nntpchan_mod_result"></div>
|
2015-08-04 19:03:44 +05:00
|
|
|
<noscript>
|
|
|
|
<b>enable js to use the mod panel kthx</b>
|
|
|
|
</noscript>
|
|
|
|
</body>
|
|
|
|
</html>
|