Clean up view HTML

This commit is contained in:
James Cole
2018-01-12 18:42:48 +01:00
parent 89e0791e2f
commit 4984eda320
61 changed files with 78 additions and 201 deletions

View File

@@ -67,11 +67,9 @@
</label>
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ 'sign_in'|_ }}</button>
</div>
<!-- /.col -->
</div>
</form>
{% if allowRegistration %}
@@ -79,6 +77,5 @@
{% endif %}
<a href="{{ URL.to('/password/reset') }}">{{ 'forgot_my_password'|_ }}</a>
</div>
<!-- /.login-box-body -->
{% endblock %}

View File

@@ -38,11 +38,9 @@
</div>
<div class="row">
<!-- /.col -->
<div class="col-xs-12">
<button type="submit" class="btn btn-primary btn-flat pull-right">{{ 'reset_button'|_ }}</button>
</div>
<!-- /.col -->
</div>
</form>
@@ -53,6 +51,6 @@
<a href="{{ route('register') }}" class="text-center">{{ 'register_new_account'|_ }}</a><br>
{% endif %}
</div><!-- /.login-box-body -->
</div>
{% endblock %}

View File

@@ -36,7 +36,6 @@
<div class="col-xs-12">
<button type="submit" class="btn btn-primary pull-right btn-flat">{{ 'button_reset_password'|_ }}</button>
</div>
<!-- /.col -->
</div>
</form>
@@ -45,6 +44,6 @@
{% if allowRegistration %}
<a href="{{ route('register') }}" class="text-center">{{ 'register_new_account'|_ }}</a><br>
{% endif %}
</div><!-- /.form-box -->
</div>
{% endblock %}

View File

@@ -42,13 +42,12 @@
<div class="col-xs-4">
<button class="btn btn-primary pull-right btn-flat">{{ 'button_register'|_ }}</button>
</div>
<!-- /.col -->
</div>
</form>
<a href="{{ URL.to('/login') }}">{{ 'want_to_login'|_ }}</a><br>
<a href="{{ URL.to('/password/reset') }}">{{ 'forgot_my_password'|_ }}</a>
</div><!-- /.form-box -->
</div>
{% include 'partials.password-modal' %}

View File

@@ -26,15 +26,12 @@
</div>
<div class="row">
<!-- /.col -->
<div class="col-xs-6 col-xs-offset-6">
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ 'authenticate'|_ }}</button>
</div>
<!-- /.col -->
</div>
</form>
<a href="{{ route('two-factor.lost') }}">{{ 'two_factor_forgot'|_ }}</a>
</div>
<!-- /.login-box-body -->
{% endblock %}