Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include admin interface

  • Loading branch information...
commit f26d7eeabe08354e1f6d12618b6676c135062699 1 parent 552dae3
m94mni m94mni authored
Showing with 42 additions and 0 deletions.
  1. +42 −0 themes/common/admin.html.tmpl
42 themes/common/admin.html.tmpl
View
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <title><TMPL_VAR name></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
+ <link rel="stylesheet" href="planet.css" type="text/css">
+ </head>
+
+ <body>
+ <h2>Maintenance tasks</h2>
+ <form action="admin_cb.py" method="GET">
+ <input type="hidden" name="command" value="refresh" />
+ <input type="submit" value="Refresh planet" />
+ </form>
+ <form action="admin_cb.py" method="GET">
+ <input type="hidden" name="command" value="run" />
+ <input type="submit" value="Run planet" />
+ </form>
+ <form action="admin_cb.py" method="GET">
+ <input type="hidden" name="command" value="expunge" />
+ <input type="submit" value="Expunge planet" />
+ </form>
+
+ <h2>Blacklist</h2>
+ <div>
+ <form action="admin_cb.py" method="GET">
+ <input type="hidden" name="command" value="blacklist" />
+ <TMPL_LOOP Items>
+ <input type="checkbox" value="<TMPL_VAR id ESCAPE="HTML">" name="bl<TMPL_VAR __PASS__>">
+ <a target="_blank" href="<TMPL_VAR channel_link ESCAPE="HTML">">
+ <TMPL_VAR channel_name>
+ </a>: <a target="_blank" href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></input>
+ <br />
+ </TMPL_LOOP>
+ <br />
+ <input type="submit" value="Blacklist" />
+ </form>
+ </div>
+ </body>
+
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.