aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/management.html
blob: ad2faada756e75a6ada4bf041d346aad7c0d01d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="jumbotron">
        <h1>Your subscriptions</h1>
        <p>You are subscribed to {{ nb_feeds }} <a href="/feeds">feeds</a>. Add a <a href="/create_feed/">feed</a>.</p>
        <p>{{ nb_articles }} articles are stored in the database with {{ nb_unread_articles }} <a href="/unread/">unread articles</a>.</p>
        {% if not_on_heroku %}
            <a href="/index_database/" class="btn btn-default">Index database</a>
        {% endif %}
    </div>
    <div class="jumbotron">
        <h1>Your Profile</h1>
        <p>Update your <a href="/profile/">profile</a>.</p>
        <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
        <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
    </div>
    <div class="jumbotron">
        <h1>Import/export feeds</h1>
        <h2>Import</h2>
        <form action="" method="post" id="formImportOPML" enctype="multipart/form-data">
            <span class="btn btn-default btn-file">Batch import feeds from OPML (<span class="text-info">*.xml or *.opml</span>)<input type="file" name="opmlfile" /></span>
            <button class="btn btn-default" type="submit">OK</button>
        </form>
        <h2>Export</h2>
        <a href="/export_opml/" class="btn btn-default">Export feeds to OPML</a>
    </div>
    <div class="jumbotron">
        <h1>Export articles</h1>
        <a href="/export/" class="btn btn-default">HTML</a>
    </div>
</div><!-- /.container -->
{% endblock %}
bgstack15