diff --git a/realms/templates/auth/login.html b/realms/templates/auth/login.html index db774c9..034f256 100644 --- a/realms/templates/auth/login.html +++ b/realms/templates/auth/login.html @@ -1,8 +1,8 @@ {% extends 'layout.html' %} {% from 'macros.html' import render_form, render_field %} {% block body %} - {% call render_form(form, action_url=url_for('auth.login'), action_text='Login', btn_class='btn btn-primary') %} - {{ render_field(form.email, placeholder='Email', type='email', required=1) }} - {{ render_field(form.password, placeholder='Password', type='password', required=1) }} - {% endcall %} + {% call render_form(form, action_url=url_for('auth.login'), action_text='Login', btn_class='btn btn-primary') %} + {{ render_field(form.email, placeholder='Email', type='email', required=1) }} + {{ render_field(form.password, placeholder='Password', type='password', required=1) }} + {% endcall %} {% endblock %} diff --git a/realms/templates/auth/register.html b/realms/templates/auth/register.html index 065dc03..2e82fbd 100644 --- a/realms/templates/auth/register.html +++ b/realms/templates/auth/register.html @@ -1,13 +1,13 @@ {% extends 'layout.html' %} {% from 'macros.html' import render_form, render_field %} {% block body %} - {% call render_form(form, action_url=url_for('auth.register'), action_text='Register', btn_class='btn btn-primary') %} - {{ render_field(form.username, placeholder='Username', type='username', **{"required": 1, "data-parsley-type": "alphanum"}) }} - {{ render_field(form.email, placeholder='Email', type='email', required=1) }} - {{ render_field(form.password, placeholder='Password', type='password', **{"required": 1, "data-parsley-minlength": "6"}) }} - {{ render_field(form.confirm, placeholder='Confirm Password', type='password', **{"required": 1, "data-parsley-minlength": "6"}) }} - {% if config.RECAPTCHA_ENABLE %} - {{ render_field(form.recaptcha) }} - {% endif %} - {% endcall %} + {% call render_form(form, action_url=url_for('auth.register'), action_text='Register', btn_class='btn btn-primary') %} + {{ render_field(form.username, placeholder='Username', type='username', **{"required": 1, "data-parsley-type": "alphanum"}) }} + {{ render_field(form.email, placeholder='Email', type='email', required=1) }} + {{ render_field(form.password, placeholder='Password', type='password', **{"required": 1, "data-parsley-minlength": "6"}) }} + {{ render_field(form.confirm, placeholder='Confirm Password', type='password', **{"required": 1, "data-parsley-minlength": "6"}) }} + {% if config.RECAPTCHA_ENABLE %} + {{ render_field(form.recaptcha) }} + {% endif %} + {% endcall %} {% endblock %} \ No newline at end of file diff --git a/realms/templates/errors/404.html b/realms/templates/errors/404.html index 686ef75..66bfd47 100644 --- a/realms/templates/errors/404.html +++ b/realms/templates/errors/404.html @@ -1,6 +1,6 @@ {% extends 'layout.html' %} {% block body %} -
- Back to History -
- - - {{ diff|safe }} - -- Back to History -
++ Back to History +
+ {{ diff|safe }} ++ Back to History +
{% endblock %} \ No newline at end of file diff --git a/realms/templates/wiki/create.html b/realms/templates/wiki/create.html index cb3c6d9..6a7775c 100644 --- a/realms/templates/wiki/create.html +++ b/realms/templates/wiki/create.html @@ -1,18 +1,18 @@ {% extends 'layout.html' %} {% block body %} - + + {% endblock %} \ No newline at end of file diff --git a/realms/templates/wiki/edit.html b/realms/templates/wiki/edit.html index ea01f53..1d3fb4b 100644 --- a/realms/templates/wiki/edit.html +++ b/realms/templates/wiki/edit.html @@ -1,112 +1,98 @@ {% extends 'layout.html' %} {% block js %} - - + + {% endblock %} {% block body %} -{% block css %} - -{% endblock %} +- | Name | -Revision Message | -Date | ++ | Name | +Revision Message | +Date |
---|---|---|---|---|---|---|---|
- - | -{{ h.author }} | -View {{ h.message }} | -{{ h.time|datetime }} | -||||
+ + | +{{ h.author }} | +View {{ h.message }} | +{{ h.time|datetime }} | +