aboutsummaryrefslogtreecommitdiff
path: root/source/static/templates/management.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:20:00 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:20:00 +0100
commit9a6fe2bf696c4c364518159735f4f5d12c666681 (patch)
treec540d7d1cf76542627673ef36490c641bb02f50f /source/static/templates/management.html
parentUpdated revision date (diff)
downloadnewspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.tar.gz
newspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.tar.bz2
newspipe-9a6fe2bf696c4c364518159735f4f5d12c666681.zip
Reaorganization of folders for the CSS, templates and pictures.
Diffstat (limited to 'source/static/templates/management.html')
-rw-r--r--source/static/templates/management.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/source/static/templates/management.html b/source/static/templates/management.html
new file mode 100644
index 00000000..a2bce1dc
--- /dev/null
+++ b/source/static/templates/management.html
@@ -0,0 +1,80 @@
+## management.html
+<%inherit file="base.html"/>
+<div class="left inner">
+ <h1>Subscriptions</h1>
+ <form method=get action="/add_feed/">
+ <p>
+ Add a feed:
+ <input type="url" name="url" placeholder="URL of a site" maxlength=2048 autocomplete="off">
+ <input type="submit" value="OK">
+ </p>
+ </form>
+
+ %if feeds:
+ <form method=get action="/remove_feed/">
+ Delete the feed:
+ <select name="feed_id">
+ %for feed in feeds:
+ <option value="${feed['feed_id']}">${feed['feed_title']}</option>
+ %endfor
+ </select>
+ <input type="submit" value="OK">
+ </form>
+ %endif
+
+ %if not mail_notification_enabled:
+ <p>E-mail notification is disabled in the configuration file.</p>
+ %endif
+
+ %if feeds:
+ <hr />
+ <h1>Facts</h1>
+ <ul>
+ <li>active e-mail notifications: <a href="/notifications/">${nb_mail_notifications}</a>;</li>
+ <li>you like <a href="/favorites/">${nb_favorites}</a> article(s);</li>
+ <li><a href="/statistics/">tag clouds</a>;</li>
+ <li><a href="/inactives/">inactive feeds</a>;</li>
+ <li><a href="/languages/">languages</a>.</li>
+ </ul>
+ %endif
+
+ <hr />
+
+ <h1>Account</h1>
+ <p>
+ <form method=get action="/change_username/">
+ <input type="text" name="new_username" value="" placeholder="Enter a new username." />
+ </form>
+ <br />
+ <form method=get action="/change_password/">
+ <input type="password" name="new_password" value="" placeholder="Enter a new password." />
+ </form>
+ </p>
+
+ <hr />
+
+
+ <h1>Database</h1>
+ <p>${nb_articles} article(s) are stored in the database with <a href="/unread/">${nb_unread_articles} unread article(s)</a>.
+
+ <form method=get action="/fetch/">
+ <input type="submit" value="Fetch all feeds">
+ </form>
+ <form method=get action="/drop_base">
+ <input type="submit" value="Delete all articles">
+ </form>
+
+ <hr />
+
+ <h1>Export articles</h1>
+ <p>
+ <form method=get action="/export/">
+ <select name="export_method">
+ <option value="export_html" selected='selected'>HTML (simple Webzine)</option>
+ <option value="export_epub">ePub</option>
+ <option value="export_pdf">PDF</option>
+ <option value="export_txt">Text</option>
+ </select>
+ <input type="submit" value="Export">
+ </form>
+ </p>
bgstack15