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" />
|
2016-03-08 06:25:29 +05:00
|
|
|
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
|
2015-08-04 19:03:44 +05:00
|
|
|
<!-- yes it uses js -->
|
2016-03-08 18:13:57 +05:00
|
|
|
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>
|
2015-08-04 19:03:44 +05:00
|
|
|
<script type="text/javascript" src="{{prefix}}static/mod.js"></script>
|
2016-02-28 17:40:16 +05:00
|
|
|
<title> {{#i18n.Translations}}{{modpage_title}}{{/i18n.Translations}} </title>
|
2015-08-04 19:03:44 +05:00
|
|
|
</head>
|
2016-03-08 18:13:00 +05:00
|
|
|
<body onload="main()">
|
2015-08-04 19:03:44 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<div> {{#i18n.Translations}}{{post_actions_label}}{{/i18n.Translations}} </div>
|
2015-08-04 19:03:44 +05:00
|
|
|
<hr />
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<label for="nntpchan_mod_target">{{#i18n.Translations}}{{target_label}}{{/i18n.Translations}}</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>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_ban()">{{#i18n.Translations}}{{ban_url_prompt}}{{/i18n.Translations}}</button>
|
|
|
|
<button onclick="nntpchan_delete()">{{#i18n.Translations}}{{delete_url_prompt}}{{/i18n.Translations}}</button>
|
|
|
|
<button onclick="nntpchan_unban()">{{#i18n.Translations}}{{unban_ip_prompt}}{{/i18n.Translations}}</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>
|
2016-02-28 17:40:16 +05:00
|
|
|
<div> {{#i18n.Translations}}{{key_actions_label}}{{/i18n.Translations}} </div>
|
2015-10-02 20:00:26 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<label for="nntpchan_board_target">{{#i18n.Translations}}{{pubkey_label}}{{/i18n.Translations}}:</label>
|
2015-10-02 20:00:26 +05:00
|
|
|
<input type="text" id="nntpchan_key_target" />
|
|
|
|
</div>
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_key_add()">{{#i18n.Translations}}{{add_key_prompt}}{{/i18n.Translations}}</button>
|
|
|
|
<button onclick="nntpchan_key_del()">{{#i18n.Translations}}{{remove_key_prompt}}{{/i18n.Translations}}</button>
|
2015-10-02 20:00:26 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2016-01-12 20:23:36 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<div> {{#i18n.Translations}}{{nntp_login_label}}{{/i18n.Translations}} </div>
|
2016-01-12 20:23:36 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<label for="nntpchan_nntp_username">{{#i18n.Translations}}{{username}}{{/i18n.Translations}}:</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-02-28 17:40:16 +05:00
|
|
|
<label for="nntpchan_nntp_passwd">{{#i18n.Translations}}{{password}}{{/i18n.Translations}}:</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>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_nntp('nntp.login.add')">{{#i18n.Translations}}{{add_user_prompt}}{{/i18n.Translations}}</button>
|
2016-01-12 20:23:36 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_nntp('nntp.login.del')">{{#i18n.Translations}}{{remove_user_prompt}}{{/i18n.Translations}}</button>
|
2016-01-12 20:23:36 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2015-09-23 17:54:49 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<div> {{#i18n.Translations}}{{board_actions_label}}{{/i18n.Translations}} </div>
|
2015-09-23 17:54:49 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<label for="nntpchan_board_target">{{#i18n.Translations}}{{board_name_title}}{{/i18n.Translations}}:</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>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_board('frontend.add')">{{#i18n.Translations}}{{add_board_prompt}}{{/i18n.Translations}}</button>
|
2015-11-10 22:53:54 +05:00
|
|
|
</div>
|
2015-09-23 17:54:49 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_board('frontend.regen')">{{#i18n.Translations}}{{regenerate_prompt}}{{/i18n.Translations}}</button>
|
2015-09-23 17:54:49 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_board('frontend.ban')">{{#i18n.Translations}}{{ban_prompt}}{{/i18n.Translations}}</button>
|
|
|
|
<button onclick="nntpchan_admin_board('frontend.unban')">{{#i18n.Translations}}{{unban_prompt}}{{/i18n.Translations}}</button>
|
2015-09-23 17:54:49 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin_board('frontend.nuke')">{{#i18n.Translations}}{{nuke_prompt}}{{/i18n.Translations}}</button>
|
2015-09-23 17:54:49 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr />
|
2015-09-19 17:54:54 +05:00
|
|
|
<div>
|
2015-09-22 19:34:38 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
{{#i18n.Translations}}{{light_actions_label}}{{/i18n.Translations}}
|
2015-09-22 19:34:38 +05:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin('template.reload')">{{#i18n.Translations}}{{reload_templates_prompt}}{{/i18n.Translations}}</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>
|
2016-02-28 17:40:16 +05:00
|
|
|
<label>{{#i18n.Translations}}{{heavy_actions_label}}{{/i18n.Translations}}</label>
|
2015-09-22 19:34:38 +05:00
|
|
|
<div>
|
2016-02-28 17:40:16 +05:00
|
|
|
<button onclick="nntpchan_admin('frontend.regen')">{{#i18n.Translations}}{{regenerate_markup_prompt}}{{/i18n.Translations}}</button>
|
|
|
|
<button onclick="nntpchan_admin('thumbnail.regen')">{{#i18n.Translations}}{{regenerate_thumbs_prompt}}{{/i18n.Translations}}</button>
|
2016-03-12 17:56:29 +05:00
|
|
|
<button onclick="nntpchan_admin('feed.sync')">{{#i18n.Translations}}{{feed_sync_prompt}}{{/i18n.Translations}}</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>
|
2016-03-07 21:42:21 +05:00
|
|
|
<div id="nntpchan_feeds"></div>
|
|
|
|
<script>
|
|
|
|
// start nntp feed stats ticker
|
|
|
|
var e = document.getElementById("nntpchan_feeds");
|
|
|
|
if (e) {
|
2016-03-07 21:44:42 +05:00
|
|
|
setInterval(function() {
|
2016-03-07 21:42:21 +05:00
|
|
|
update_nntpchan_feed_ticker(e);
|
2016-03-07 21:44:42 +05:00
|
|
|
}, 2000);
|
2016-03-07 21:42:21 +05:00
|
|
|
}
|
|
|
|
</script>
|
2015-08-04 19:03:44 +05:00
|
|
|
<noscript>
|
2016-02-28 17:40:16 +05:00
|
|
|
<b>{{#i18n.Translations}}{{nojs_info}}{{/i18n.Translations}}</b>
|
2015-08-04 19:03:44 +05:00
|
|
|
</noscript>
|
|
|
|
</body>
|
|
|
|
</html>
|