Commit aec595598aa249c7f6be16abe8ca68327c0cf737
1 parent
4d07f46f
Exists in
master
and in
1 other branch
- add mixing template from last commit.
Showing
3 changed files
with
22 additions
and
4 deletions
Show diff stats
static/js/question_disabler.js
templates/login.html
... | ... | @@ -11,10 +11,12 @@ |
11 | 11 | <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css"> |
12 | 12 | |
13 | 13 | <!-- Scripts --> |
14 | + <script src="/static/jquery.min.js"></script> | |
14 | 15 | <script defer src="/static/fontawesome/js/all.min.js"></script> |
15 | - <script defer src="/static/jquery.min.js"></script> | |
16 | 16 | <script defer src="/static/popper.min.js"></script> |
17 | 17 | <script defer src="/static/bootstrap/js/bootstrap.min.js"></script> |
18 | +</script> | |
19 | + | |
18 | 20 | </head> |
19 | 21 | <!-- =================================================================== --> |
20 | 22 | <body> | ... | ... |
... | ... | @@ -0,0 +1,19 @@ |
1 | +{% autoescape %} | |
2 | + | |
3 | +{% if q['type'] == 'information' %} | |
4 | + <div class="alert alert-info border-info" role="alert"> | |
5 | +{% elif q['type'] == 'success' %} | |
6 | + <div class="alert alert-success border-success" role="alert"> | |
7 | +{% elif q['type'] == 'warning' %} | |
8 | + <div class="alert alert-warning border-warning" role="alert"> | |
9 | +{% else %} | |
10 | + <div class="alert alert-danger border-danger" role="alert"> | |
11 | +{% end %} | |
12 | + <h3> | |
13 | + {{ q['title'] }} | |
14 | + </h3> | |
15 | + | |
16 | + <div id="text"> | |
17 | + {{ md(q['text']) }} | |
18 | + </div> | |
19 | +</div> | |
0 | 20 | \ No newline at end of file | ... | ... |