add error msg

master
James Sigurðarson 2016-08-12 12:34:35 +01:00
parent fd9a8b6dbb
commit 2e5660589a
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block content %}
{% if account is not None %}
<div class="card orange darken-2">
<div class="card-content white-text">
<p class="card-title">Username: {{account.username}} Password: {{account.password}}</p>
@ -10,4 +11,11 @@
<iframe class="shell-frame" src="https://shell.icec.tf/wetty" frameBorder="0"></iframe>
</div>
</div>
{% else %}
<div class="card red darken-2">
<div class="card-content white-text">
<p class="card-title">You don't have an account yet! Don't worry, one will be created shortly.</p>
</div>
</div>
{% endif %}
{% endblock %}