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>
|
2015-11-20 06:09:38 +05:00
|
|
|
<link rel="stylesheet" href="{{prefix}}static/site.css" />
|
|
|
|
<link rel="stylesheet" href="{{prefix}}static/user.css" />
|
2015-08-04 19:03:44 +05:00
|
|
|
<!-- 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 />
|
2016-01-12 20:23:36 +05:00
|
|
|
<div>
|
|
|
|
<div> nntp login </div>
|
|
|
|
<div>
|
2016-01-16 01:12:56 +05:00
|
|
|
<label for="nntpchan_nntp_username">username:</label>
|
2016-01-12 20:23:36 +05:00
|
|
|
<input id="nntpchan_nntp_username" />
|
2016-01-12 20:29:23 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-01-16 01:12:56 +05:00
|
|
|
<label for="nntpchan_nntp_passwd">password:</label>
|
2016-01-13 01:14:24 +05:00
|
|
|
<input type="password" id="nntpchan_nntp_passwd" />
|
2016-01-12 20:23:36 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_nntp('nntp.login.add')">add user</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_nntp('nntp.login.del')">remove user</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>
|
2016-01-12 20:23:36 +05:00
|
|
|
<input id="nntpchan_board_target" />
|
2015-09-23 17:54:49 +05:00
|
|
|
</div>
|
2015-11-10 22:53:54 +05:00
|
|
|
<div>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.add')">add board</button>
|
|
|
|
</div>
|
2015-09-23 17:54:49 +05:00
|
|
|
<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>
|
2016-02-16 03:04:59 +05:00
|
|
|
<button onclick="nntpchan_admin('frontend.regen')">rengenerate all markup</button>
|
2015-10-24 17:49:07 +05:00
|
|
|
<button onclick="nntpchan_admin('thumbnail.regen')">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>
|