Top nav (TODO: flags)
This commit is contained in:
parent
d6755bf837
commit
1853e2e62f
|
@ -9,15 +9,15 @@
|
|||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="#">Navbar</a>
|
||||
</nav>
|
||||
<div class="d-flex">
|
||||
<div class="p-2" style="flex:0 0 320px;">
|
||||
{% include 'layout/includes/nav.html' %}
|
||||
</div>
|
||||
<div class="col p-2">
|
||||
<div class="p-2">
|
||||
<div class="d-flex">
|
||||
<div class="col p-2" style="flex:0 0 320px;">
|
||||
{% include 'layout/includes/side_nav.html' %}
|
||||
</div>
|
||||
<div class="col p-2">
|
||||
{% include 'layout/includes/top_nav.html' %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% include 'layout/includes/boot-body.html' %}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
flex-direction: column;
|
||||
|
||||
max-width: 100%;
|
||||
width: 280px;
|
||||
height: 100%;
|
||||
}
|
||||
|
41
templates/layout/includes/top_nav.html
Normal file
41
templates/layout/includes/top_nav.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<style>
|
||||
.rndblock {
|
||||
border-radius: 100%;
|
||||
background: #B507DB;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 24px;
|
||||
vertical-align: middle;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.languk {
|
||||
background: url("{{ url_for('static', filename='const/img/flags/uk.png') }}");
|
||||
}
|
||||
|
||||
.langno {
|
||||
background: url("{{ url_for('static', filename='const/img/flags/no.png') }}");
|
||||
}
|
||||
</style>
|
||||
|
||||
<nav class="navbar navbar-dark bg-dark" style="margin-bottom: 10px;">
|
||||
<a class="navbar-brand" href="#">Dashboard</a>
|
||||
<div class="my-2 my-lg-0 d-flex">
|
||||
<div class="col">
|
||||
<div class="rndblock languk"></div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="rndblock">
|
||||
<i class="fas fa-bell"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="rndblock"> <!-- OR INCLUDE BACKGROUND TEXTURE -->
|
||||
T <!-- FIRST CHAR OF USER -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
Loading…
Reference in New Issue
Block a user