diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-30 18:30:41 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-30 18:30:41 +0100 |
commit | abd8facd80bfd4b4d600d8b38921ff819c9806a0 (patch) | |
tree | 8ce02b900378c1b93d1887f75ea5aadbef86fc3a /pyaggr3g470r/templates | |
parent | Minor changes (comment and logging). (diff) | |
download | newspipe-abd8facd80bfd4b4d600d8b38921ff819c9806a0.tar.gz newspipe-abd8facd80bfd4b4d600d8b38921ff819c9806a0.tar.bz2 newspipe-abd8facd80bfd4b4d600d8b38921ff819c9806a0.zip |
Minor changes to the layout.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 6 | ||||
-rw-r--r-- | pyaggr3g470r/templates/recover.html | 6 | ||||
-rw-r--r-- | pyaggr3g470r/templates/signup.html | 7 |
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 --> |