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?";
}
}
method: ( param && "POST" ) || "GET"
})
}

View File

@ -49,14 +49,14 @@
lightweight actions
</div>
<div>
<button onclick="nntpchan_admin('template.reload', {})">reload all templates</button>
<button onclick="nntpchan_admin('template.reload')">reload all templates</button>
</div>
</div>
<hr />
<div>
<label>very load heavy actions, use with care</label>
<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>
</div>
</div>