Skip to content

Commit

Permalink
Simplified login template
Browse files Browse the repository at this point in the history
  • Loading branch information
tblock79 committed Jan 26, 2020
1 parent f8bd979 commit ce6caf9
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions webinterface/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,17 @@ <h1 class="title">Login</h1>
</p>
</div>
</form>
</div>
</div>
{% if invalid_password %}
<footer class="card-footer">
<div class="card-footer-item notification is-danger" style="padding-top: 15px; padding-bottom: 15px; border-radius: 0px !important; box-shadow: 0 2px 3px rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.1);">
<i class="fas fa-lock"></i>&nbsp;&nbsp;Invalid credentials
</div>
</footer>
{% endif %}
</div>
</div>

{% if invalid_password %}
<div class="columns is-centered">
<div class="column is-one-third" style="padding: 0px; margin-top: 1px;">
<div class="notification is-danger" style="padding-top: 15px; padding-bottom: 15px; border-radius: 0px !important; box-shadow: 0 2px 3px rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.1);">
<i class="fas fa-lock"></i>&nbsp;&nbsp;Invalid credentials
</div>
</div>
</div>
{% endif %}

</div> <!-- /container -->

</main>
Expand Down

0 comments on commit ce6caf9

Please sign in to comment.