frontend: sticky-top navbar
This commit is contained in:
parent
c02b30409b
commit
4ea34e0136
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
||||||
|
|
||||||
<div ng-controller="DataController">
|
<div ng-controller="DataController">
|
||||||
|
|
||||||
|
<div class="sticky-top">
|
||||||
<nav class="navbar navbar-expand-sm bg-primary" style="border-bottom: none;" ng-cloak>
|
<nav class="navbar navbar-expand-sm bg-primary" style="border-bottom: none;" ng-cloak>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navMenu" aria-controls="navMenu" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navMenu" aria-controls="navMenu" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
@ -120,6 +121,7 @@
|
||||||
<div class="progress" style="background-color: #4eaee6; height: 5px; border-radius: 0;">
|
<div class="progress" style="background-color: #4eaee6; height: 5px; border-radius: 0;">
|
||||||
<div class="progress-bar bg-secondary" role="progressbar" style="width: {{timeProgression * 100}}%"></div>
|
<div class="progress-bar bg-secondary" role="progressbar" style="width: {{timeProgression * 100}}%"></div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container page-header text-primary" ng-cloak>
|
<div class="container page-header text-primary" ng-cloak>
|
||||||
<h1 ng-if="(current_theme)">{{ themes[current_theme].name }} <small class="authors" ng-if="themes[current_theme].authors" ng-bind-html="themes[current_theme].authors"></small></h1>
|
<h1 ng-if="(current_theme)">{{ themes[current_theme].name }} <small class="authors" ng-if="themes[current_theme].authors" ng-bind-html="themes[current_theme].authors"></small></h1>
|
||||||
|
|
Reference in a new issue