aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/about.html32
-rw-r--r--pyaggr3g470r/templates/categories.html36
-rw-r--r--pyaggr3g470r/templates/edit_category.html23
3 files changed, 0 insertions, 91 deletions
diff --git a/pyaggr3g470r/templates/about.html b/pyaggr3g470r/templates/about.html
deleted file mode 100644
index fe108878..00000000
--- a/pyaggr3g470r/templates/about.html
+++ /dev/null
@@ -1,32 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-<div class="container">
- <div class="well">
- <h1>{{ _("About") }}</h1>
- <p>
- {{ _("pyAggr3g470r is a news aggregator platform and can be shared between several users.") }}
- {{ _("You can easily install pyAggr3g470r on your server.") }}
- {{ _("Alternatively, you can deploy your own copy using this button:") }}</p>
- <a class="reference external image-reference" href="https://heroku.com/deploy?template=https://github.com/cedricbonhomme/pyAggr3g470r"><img alt="https://www.herokucdn.com/deploy/button.png" src="https://www.herokucdn.com/deploy/button.png" /></a></p>
- <p>{{ _("This software is under AGPLv3 license. You are welcome to copy, modify or redistribute the %(start_link_source)ssource code%(end_link_source)s according to the %(start_link_affero)sAffero GPL%(end_link_affero)s license.",
- start_link_source="<a href='https://bitbucket.org/cedricbonhomme/pyaggr3g470r'>"|safe, end_link_source="</a>"|safe,
- start_link_affero="<a href='https://www.gnu.org/licenses/agpl-3.0.html'>"|safe, end_link_affero="</a>"|safe) }}</p>
- <p>{{ _("Found a bug? Report it %(start_link)shere%(end_link)s.", start_link="<a href='https://bitbucket.org/cedricbonhomme/pyaggr3g470r/issues'>"|safe, end_link="</a>"|safe) }}</p>
- </div>
- <div class="well">
- <h1>{{ _("Help") }}</h1>
- <p>{{ _("If you have any problem, %(start_link)scontact%(end_link)s the administrator.", start_link="<a href='http://wiki.cedricbonhomme.org/contact'>"|safe, end_link="</a>"|safe) }}</p>
- <p>{{ _("The documentation of the RESTful API is %(start_link)shere%(end_link)s.", start_link="<a href='https://pyaggr3g470r.readthedocs.org/en/latest/web-services.html'>"|safe, end_link="</a>"|safe) }}</p>
- <p>{{ _("You can subscribe to new feeds with a bookmarklet. Drag the following button to your browser bookmarks.") }}</p>
- <a class="btn btn-default" href="javascript:window.location='{{ url_for("feed.bookmarklet", _external=True) }}?url='+encodeURIComponent(document.location)'" rel="bookmark">
- {{ _("Subscribe to this feed using pyAggr3g470r") }}
- </a>
- </div>
- <div class="well">
- <h1>{{ _("Donation") }}</h1>
- <p>{{ _("If you wish and if you like pyAggr3g470r, you can donate via bitcoin %(start_link)s1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ%(end_link)s. Thank you!",
- start_link="<a href='https://blockexplorer.com/address/1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ'>"|safe, end_link="</a>"|safe) }}
- </p>
- </div>
-</div><!-- /.container -->
-{% endblock %}
diff --git a/pyaggr3g470r/templates/categories.html b/pyaggr3g470r/templates/categories.html
deleted file mode 100644
index a61cc4b2..00000000
--- a/pyaggr3g470r/templates/categories.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-<div class="container">
- <h1>{{ _("You have %(categories)d categories &middot; Add a %(start_link)scategory%(end_link)s", categories=categories|count, start_link=("<a href='%s'>" % url_for("category.form"))|safe, end_link="</a>"|safe) }}</h1>
- {% if categories|count == 0 %}
- <h1>{{_("No category")}}</h1>
- {% else %}
- <div class="table-responsive">
- <table class="table table-striped">
- <thead>
- <tr>
- <th>#</th>
- <th>{{ _('Name') }}</th>
- <th>{{ _('Feeds') }}</th>
- <th>{{ _('Articles') }}</th>
- <th>{{ _('Actions') }}</th>
- </tr>
- </thead>
- <tbody>
- {% for category in categories|sort(attribute="name") %}
- <tr>
- <td>{{ loop.index }}</td>
- <td>{{ category.name }}</td>
- <td>{{ feeds_count.get(category.id, 0) }}</td>
- <td>( {{ unread_article_count.get(category.id, 0) }} ) {{ article_count.get(category.id, 0) }}</td>
- <td>
- <a href="{{ url_for("category.form", category_id=category.id) }}"><i class="glyphicon glyphicon-edit" title='{{ _("Edit this category") }}'></i></a>
- <a href="{{ url_for("category.delete", category_id=category.id) }}"><i class="glyphicon glyphicon-remove" title='{{ _("Delete this category") }}' onclick="return confirm('{{ _('You are going to delete this category.') }}');"></i></a>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% endif %}
-{% endblock %}
diff --git a/pyaggr3g470r/templates/edit_category.html b/pyaggr3g470r/templates/edit_category.html
deleted file mode 100644
index 93c952d6..00000000
--- a/pyaggr3g470r/templates/edit_category.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends "layout.html" %}
-{% block content %}
-<div class="container">
- <div class="well">
- <h3>{{ action }}</h3>
- <form action="" method="post" name="save" class="form-horizontal">
- {{ form.hidden_tag() }}
- <div class="form-group">
- <label for="{{ form.name.id }}" class="col-sm-3 control-label">{{ form.name.label }}</label>
- <div class="col-sm-9">
- {{ form.name(class_="form-control", size="100%") }}
- </div>
- {% for error in form.name.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
- </div>
- <div class="form-group">
- <div class="col-sm-offset-3 col-sm-9">
- {{ form.submit(class_="btn btn-default") }}
- </div>
- </div>
- </form>
- </div>
-</div><!-- /.container -->
-{% endblock %}
bgstack15