Commit d8ea2f90ddb442498f2cd8d9bf25b196a3ee835f
1 parent
c41e8718
Exists in
master
and in
1 other branch
- removed practive code from test.html
- minor cosmetic changes
Showing
2 changed files
with
9 additions
and
9 deletions
Show diff stats
templates/admin.html
| ... | ... | @@ -38,7 +38,7 @@ |
| 38 | 38 | <ul class="nav navbar-nav navbar-right"> |
| 39 | 39 | <li class="dropdown"> |
| 40 | 40 | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> |
| 41 | - <span class="glyphicon glyphicon-user" aria-hidden="true"></span> | |
| 41 | + <i class="fa fa-user" aria-hidden="true"></i> | |
| 42 | 42 | <span class="caret"></span> |
| 43 | 43 | </a> |
| 44 | 44 | <ul class="dropdown-menu"> | ... | ... |
templates/test.html
| ... | ... | @@ -55,17 +55,14 @@ |
| 55 | 55 | <ul class="nav navbar-nav navbar-right"> |
| 56 | 56 | <li class="dropdown"> |
| 57 | 57 | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> |
| 58 | - <span class="glyphicon glyphicon-user" aria-hidden="true"></span> | |
| 58 | + <i class="fa fa-user" aria-hidden="true"></i> | |
| 59 | 59 | <span id="name">${t['student']['name']}</span> |
| 60 | 60 | (<span id="number">${t['student']['number']}</span>) |
| 61 | 61 | <span class="caret"></span> |
| 62 | 62 | </a> |
| 63 | 63 | <ul class="dropdown-menu"> |
| 64 | 64 | <li class="active"><a href="/test">Teste</a></li> |
| 65 | - % if t['practice']: | |
| 66 | - <li><a href="/results">Ver resultados</a></li> | |
| 67 | - % endif | |
| 68 | - <li><a data-toggle="modal" data-target="#sair" id="form-button-submit"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span> Sair</a></li> | |
| 65 | + <li><a data-toggle="modal" data-target="#sair" id="form-button-submit"><i class="fa fa-sign-out" aria-hidden="true"></i> Sair</a></li> | |
| 69 | 66 | </ul> |
| 70 | 67 | </li> |
| 71 | 68 | </ul> |
| ... | ... | @@ -96,7 +93,8 @@ |
| 96 | 93 | <div class="panel panel-info drop-shadow"> |
| 97 | 94 | <div class="panel-heading clearfix"> |
| 98 | 95 | <h4 class="panel-title pull-left"> |
| 99 | - <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> ${q['title']} | |
| 96 | + <i class="fa fa-info-circle" aria-hidden="true"></i> | |
| 97 | + ${q['title']} | |
| 100 | 98 | </h4> |
| 101 | 99 | </div> |
| 102 | 100 | <div class="panel-body"> |
| ... | ... | @@ -106,7 +104,8 @@ |
| 106 | 104 | % elif q['type'] == 'warning': |
| 107 | 105 | <div class="alert alert-warning drop-shadow" role="alert"> |
| 108 | 106 | <h4> |
| 109 | - <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> ${q['title']} | |
| 107 | + <i class="fa fa-question-circle" aria-hidden="true"></i> | |
| 108 | + ${q['title']} | |
| 110 | 109 | </h4> |
| 111 | 110 | <p> |
| 112 | 111 | ${md_to_html(q['text'], q['ref'], q['files'])} |
| ... | ... | @@ -115,7 +114,8 @@ |
| 115 | 114 | % elif q['type'] == 'alert': |
| 116 | 115 | <div class="alert alert-danger drop-shadow" role="alert"> |
| 117 | 116 | <h4> |
| 118 | - <span class="glyphicon glyphicon-alert" aria-hidden="true"></span> ${q['title']} | |
| 117 | + <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> | |
| 118 | + ${q['title']} | |
| 119 | 119 | </h4> |
| 120 | 120 | <p> |
| 121 | 121 | ${md_to_html(q['text'], q['ref'], q['files'])} | ... | ... |