Commit aec595598aa249c7f6be16abe8ca68327c0cf737

Authored by Miguel Barão
1 parent 4d07f46f
Exists in master and in 1 other branch dev

- add mixing template from last commit.

static/js/question_disabler.js
... ... @@ -4,7 +4,4 @@ $(document).ready(function() {
4 4 // The flip switch is on the bar, and is still accessible.
5 5 $(this).parent().parent().next().slideToggle("fast");
6 6 });
7   - // $(function () {
8   - // $('[data-toggle="popover"]').popover();
9   - // });
10 7 });
... ...
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>
... ...
templates/review-question-information.html 0 → 100644
... ... @@ -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
... ...