mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] add a top page menu
This commit is contained in:
parent
7ce0982ca5
commit
6e8a2201b1
3 changed files with 31 additions and 0 deletions
|
@ -11,4 +11,13 @@
|
|||
.deleted * {
|
||||
font-style: italic;
|
||||
color: darkgrey !important;;
|
||||
}
|
||||
|
||||
.menu-title {
|
||||
font-weight: bold;
|
||||
font-family: sans;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
border-bottom: 0.5px solid #ddd;
|
||||
}
|
|
@ -18,6 +18,7 @@
|
|||
<link href="<{ relative_path_to_root }>static/css/style.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<% include "menu.html" %>
|
||||
<% block content %><% endblock %>
|
||||
<% block javascript %><% endblock %>
|
||||
</body>
|
||||
|
|
21
templates/menu.html
Normal file
21
templates/menu.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="<{ relative_path_to_root }>">
|
||||
<h2 class="menu-title">YUNORUNNER</h2>
|
||||
</a>
|
||||
|
||||
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div id="navbarBasicExample" class="navbar-menu">
|
||||
<div class="navbar-start">
|
||||
<a class="navbar-item" href="<{ relative_path_to_root }>">
|
||||
Home
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
Loading…
Add table
Reference in a new issue