2019-03-29 15:14:45 +01:00
|
|
|
<style>
|
2019-04-25 22:13:44 +02:00
|
|
|
#sidenav-parent {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height:100%;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
2019-03-29 15:14:45 +01:00
|
|
|
#sidenav {
|
2019-05-06 19:36:20 +02:00
|
|
|
background-color: #506EE4;
|
2019-03-29 15:14:45 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
max-width: 100%;
|
2019-04-25 22:13:44 +02:00
|
|
|
height: 100%;
|
2019-03-29 15:14:45 +01:00
|
|
|
}
|
|
|
|
|
2019-04-25 19:07:46 +02:00
|
|
|
#sidenav div {
|
2019-03-29 15:14:45 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-04-25 22:13:44 +02:00
|
|
|
#sidenav h4 {
|
|
|
|
margin-top: 20px;
|
2019-03-29 15:14:45 +01:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2019-04-25 22:13:44 +02:00
|
|
|
#sidenav a {
|
2019-05-06 19:36:20 +02:00
|
|
|
color: #C5CBE2;
|
2019-04-25 22:13:44 +02:00
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
#sidenav a:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2019-04-25 19:07:46 +02:00
|
|
|
.navlist div, .navlist div > a {
|
2019-03-29 15:14:45 +01:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2019-04-25 22:13:44 +02:00
|
|
|
text-decoration: none;
|
2019-03-29 15:14:45 +01:00
|
|
|
}
|
|
|
|
|
2019-04-25 19:07:46 +02:00
|
|
|
.navlist div > a > span {
|
2019-03-29 15:14:45 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2019-04-25 19:07:46 +02:00
|
|
|
.navlist div > a > i:last-child {
|
2019-03-29 15:14:45 +01:00
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-04-25 19:07:46 +02:00
|
|
|
.navlist div > a > * {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-04-25 22:13:44 +02:00
|
|
|
.navlist .item {
|
|
|
|
cursor: pointer;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidenav .flex-column .flex-column {
|
|
|
|
margin-left: 30px;
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidenav .flex-column .flex-column > div {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
padding-right: 30px;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidenav .flex-column .flex-column > div > a {
|
|
|
|
display: list-item;
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page.selected {
|
|
|
|
background-color: #9F07C1;
|
|
|
|
border-radius: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.downtab {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-03-29 15:14:45 +01:00
|
|
|
.hidden {
|
2019-04-25 19:07:46 +02:00
|
|
|
display: none !important;
|
2019-04-25 22:13:44 +02:00
|
|
|
overflow: hidden !important;
|
2019-03-29 15:14:45 +01:00
|
|
|
}
|
|
|
|
</style>
|
2019-04-25 22:13:44 +02:00
|
|
|
<div id="sidenav-parent">
|
2019-04-25 19:07:46 +02:00
|
|
|
<div class="d-flex flex-column" id="sidenav">
|
2019-03-29 15:14:45 +01:00
|
|
|
<div class="top">
|
|
|
|
<!-- Here be logo area -->
|
2019-04-25 19:07:46 +02:00
|
|
|
<!-- <img alt="Logo" src="{{ url_for('static', filename='img/logo.svg') }}" height="40px"/> -->
|
2019-03-29 15:14:45 +01:00
|
|
|
</div>
|
|
|
|
<div class="navlist">
|
|
|
|
<!-- Here be dropdown menus -->
|
|
|
|
<div class="p-2"> <!-- Padding -->
|
2019-04-25 19:07:46 +02:00
|
|
|
<div class="flex-column">
|
|
|
|
<div> <!-- Collection -->
|
2019-04-26 06:22:43 +02:00
|
|
|
<a class="item" href="{{ url_for('dashboard') }}">
|
2019-05-12 16:04:25 +02:00
|
|
|
<i class="far fa-calendar-alt"></i><span>{{ _("Dashboard") }}</span>
|
2019-03-29 15:14:45 +01:00
|
|
|
</a>
|
2019-04-25 19:07:46 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-05-12 16:04:25 +02:00
|
|
|
<h4>{{ _("Economical") }}</h4>
|
2019-04-25 19:07:46 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-04-26 06:22:43 +02:00
|
|
|
<a class="item" href="{{ url_for('bills') }}">
|
2019-05-12 16:04:25 +02:00
|
|
|
<i class="fas fa-money-check-alt"></i><span>{{ _("Bills") }}</span>
|
2019-03-29 15:14:45 +01:00
|
|
|
</a>
|
2019-04-25 19:07:46 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-04-25 22:13:44 +02:00
|
|
|
<a class="item" onclick="toggleCategory(this)">
|
2019-05-12 16:04:25 +02:00
|
|
|
<i class="far fa-list-alt"></i><span>{{ _("Receipts") }}</span>
|
2019-03-29 15:14:45 +01:00
|
|
|
<i class="fas fa-chevron-right"></i>
|
|
|
|
</a>
|
2019-04-25 22:13:44 +02:00
|
|
|
<div class="downtab hidden">
|
|
|
|
<div class="flex-column">
|
|
|
|
<div class="page">
|
2019-05-12 16:04:25 +02:00
|
|
|
<a href="{{ url_for('receipts') }}">{{ _("Receipts") }}</a>
|
2019-04-25 22:13:44 +02:00
|
|
|
</div>
|
|
|
|
<div class="page">
|
2019-05-12 16:04:25 +02:00
|
|
|
<a href="{{ url_for('warranties') }}">{{ _("Warranties") }}</a>
|
2019-04-25 22:13:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-29 15:14:45 +01:00
|
|
|
</div>
|
2019-04-25 19:07:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-29 15:14:45 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-25 22:13:44 +02:00
|
|
|
</div>
|
2019-03-29 15:14:45 +01:00
|
|
|
</div>
|