aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/login.htm24
1 files changed, 18 insertions, 6 deletions
diff --git a/templates/login.htm b/templates/login.htm
index df43728..ded1b10 100644
--- a/templates/login.htm
+++ b/templates/login.htm
@@ -18,17 +18,17 @@
<div class="form-group">
<label id="lab-lang" class="col-md-4 control-label">Language:</label>
<div class="col-md-8">
- <label id="lang-en" class="radio-inline">
+ <label class="radio-inline">
<input type="radio" value="en" name="language" checked>
English
</label>
- <label id="lang-fr" class="radio-inline">
- <input id="lang-fr" type="radio" value="fr" name="language">
+ <label class="radio-inline">
+ <input type="radio" value="fr" name="language">
Francais
</label>
- <label for="lang-sr" class="radio-inline">
- <input id="lang-sr" type="radio" value="sr" name="language">
- Nasi</label>
+ <label class="radio-inline">
+ <input type="radio" value="sr" name="language">
+ Naši</label>
</div>
<br/>
</div>
@@ -47,6 +47,17 @@
name="password" placeholder="Password"/>
</div>
</div>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert alert-danger col-md-offset-2 col-md-7" role="alert">
+ <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
+ </span>
+ {{message}}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
<div class="form-group">
<div class="col-md-offset-4 col-md-8">
<button type="submit" class="btn btn-primary" name="login">
@@ -55,6 +66,7 @@
</div>
</div>
</form>
+
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>