Archived
1
0

ammend mod panel

This commit is contained in:
jeff 2015-09-23 08:59:02 -04:00
parent 00fbc305be
commit b595024585
2 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,7 @@ function nntpchan_admin(method, param) {
return "nothing happened?"; return "nothing happened?";
} }
} }
method: ( param && "POST" ) || "GET"
}) })
} }

View File

@ -49,14 +49,14 @@
lightweight actions lightweight actions
</div> </div>
<div> <div>
<button onclick="nntpchan_admin('template.reload', {})">reload all templates</button> <button onclick="nntpchan_admin('template.reload')">reload all templates</button>
</div> </div>
</div> </div>
<hr /> <hr />
<div> <div>
<label>very load heavy actions, use with care</label> <label>very load heavy actions, use with care</label>
<div> <div>
<button onclick="nntpchan_admin('frontend.regen', {})">regenerate all pages</button> <button onclick="nntpchan_admin('frontend.regen')">regenerate all pages</button>
<button onclick="nntpchan_admin('thumbnail.regen', {threads:1})">regenerate all thumbnails</button> <button onclick="nntpchan_admin('thumbnail.regen', {threads:1})">regenerate all thumbnails</button>
</div> </div>
</div> </div>