Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/default/modpage.mustache

37 lines
1.0 KiB
Plaintext
Raw Normal View History

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-19 17:54:54 +05:00
<div>
<button onclick="nntpchan_admin('template.reload', {})">reload all templates</button>
</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>