Use new navbar-syntax

removed padding from debug-badge as it's not required anymore
This commit is contained in:
Thor77 2017-02-25 00:37:08 +01:00
parent 3ce4962e12
commit 2344915d6e
1 changed files with 15 additions and 12 deletions

View File

@ -28,19 +28,22 @@
</head> </head>
<body> <body>
<div class="container-fluid"> <div class="container-fluid">
<nav class="navbar navbar-default navbar-fixed-top"><div class="container-fluid"> <nav class="navbar navbar-toggleable-md navbar-light bg-faded sticky-top">
<div class="navbar-header"> <a class="navbar-brand" href="#">{{ title }}</a>
<a class="navbar-brand" href="#">{{ title }}</a>
<div class="collapse navbar-collapse">
<ul class="navbar-nav mr-auto">
{% for sid, _ in servers %}
<li class="nav-item">
<a class="nav-link" href="#sid{{ sid }}">Server {{ sid }}</a>
</li>
{% endfor %}
</ul>
{% if debug %}
<span class="navbar-text" style="color: red">debug mode</span>
{% endif %}
</div> </div>
<ul class="nav navbar-nav"> </nav>
{% for sid, _ in servers %}
<li><a href="#sid{{ sid }}">Server {{ sid }}</a></li>
{% endfor %}
</ul>
{% if debug %}
<p class="navbar-text navbar-right" style="color: red; padding-right: 10px;">debug mode</p>
{% endif %}
</div></nav>
{% for server in servers %} {% for server in servers %}
<h1 class="page-header" id="sid{{ server.sid }}"> <h1 class="page-header" id="sid{{ server.sid }}">
<a href="#sid{{ server.sid }}">Server {{ server.sid }}</a> <a href="#sid{{ server.sid }}">Server {{ server.sid }}</a>