aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/layout.html6
-rw-r--r--pyaggr3g470r/templates/recover.html6
-rw-r--r--pyaggr3g470r/templates/signup.html7
3 files changed, 5 insertions, 14 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index da33568c..9cfa2eae 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -110,7 +110,7 @@ deployed on Heroku or on a traditional server." />
</ul>
</li>
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ _('Filter') }} <b class="caret"></b></a>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-filter"></span> {{ _('Filter') }} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a accesskey="u" href="/unread">{{ _('Unread') }}</a></li>
<li><a accesskey="f" href="/favorites">{{ _('Favorites') }}</a></li>
@@ -119,12 +119,12 @@ deployed on Heroku or on a traditional server." />
<li><a href="/history">{{ _('History') }}</a></li>
</ul>
</li>
- <li><a accesskey="m" href="/management">{{ _('Management') }}</a></li>
+ <li><a accesskey="m" href="/management"><span class="glyphicon glyphicon-cog"></span> {{ _('Management') }}</a></li>
{% if g.user.is_admin() %}
<li><a href="{{ url_for('dashboard') }}"><span class="glyphicon glyphicon-dashboard"></span> {{ _('Dashboard') }}</a></li>
{% endif %}
<li><a href="/about">{{ _('About') }}</a></li>
- <li><a href="{{ url_for('logout') }}">{{ _('Logout') }}</a></li>
+ <li><a href="{{ url_for('logout') }}"><span class="glyphicon glyphicon-log-out"></span> {{ _('Logout') }}</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<button class="btn btn-default btn-xs" type="submit"><span class="glyphicon glyphicon-search"></span></button> <b class="caret"></b>
diff --git a/pyaggr3g470r/templates/recover.html b/pyaggr3g470r/templates/recover.html
index 8e690bdb..1098ffef 100644
--- a/pyaggr3g470r/templates/recover.html
+++ b/pyaggr3g470r/templates/recover.html
@@ -3,19 +3,15 @@
<div class="container">
<div class="jumbotron">
<h2>{{ _('Recover your account') }}</h2>
-
{% for message in form.email.errors %}
<div class="flash">{{ message }}</div>
{% endfor %}
-
<form action="{{ url_for('recover') }}" method=post>
{{ form.hidden_tag() }}
-
<div class="form-group">
{{ form.email(class_="form-control", placeholder=_('Your email')) }}
</div>
-
- {{ form.submit(class_="btn") }}
+ {{ form.submit(class_="btn btn-default") }}
</form>
</div>
</div><!-- /.container -->
diff --git a/pyaggr3g470r/templates/signup.html b/pyaggr3g470r/templates/signup.html
index 98e37492..dd8154e2 100644
--- a/pyaggr3g470r/templates/signup.html
+++ b/pyaggr3g470r/templates/signup.html
@@ -4,27 +4,22 @@
<div class="form jumbotron">
<form action="" method="post" name="save">
{{ form.hidden_tag() }}
-
<div class="form-group">
{{ form.nickname.label }}
{{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
<p class="help-block">{{ _('Letters, numbers, dots and underscores only.') }}</p>
</div>
-
{{ form.email.label }}
{{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
-
<div class="form-group">
{{ form.password.label }}
{{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
<p class="help-block">{{ _('Minimum 6 characters.') }}</p>
</div>
-
{{ form.recaptcha.label }}
{{ form.recaptcha }} {% for error in form.recaptcha.errors %} <span style="color: red;">{{ error }}<br /></span> {% endfor %}
-
<br />
- {{ form.submit(class_="btn") }}
+ {{ form.submit(class_="btn btn-default") }}
</form>
</div>
</div><!-- /.container -->
bgstack15