mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Minor changes to the slidebar. See #34
This commit is contained in:
parent
b88b317faa
commit
4e1819523f
3 changed files with 11 additions and 6 deletions
|
@ -16,15 +16,18 @@ div.topbar ul.secondary-nav { padding-right: 75px; }
|
|||
|
||||
.sidebar {
|
||||
background-color: #ABE128;
|
||||
background-image: url("gradient.png");
|
||||
background-position: center top;
|
||||
background-position-x: 50%;
|
||||
background-position-y: 0%;
|
||||
background-position: center bottom;
|
||||
background-repeat: no-repeat;
|
||||
height: 100%;
|
||||
width: 220px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 10px;
|
||||
margin-left: -10px;
|
||||
margin-top: -10px;
|
||||
margin-right: 15px;
|
||||
color: black;
|
||||
|
||||
}
|
||||
.sidebar h2 { text-align: center; }
|
||||
.sidebar button { margin-top: 10px; float: right; }
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
{% block header %}{% endblock %}
|
||||
{% block container %}
|
||||
<div class="container-fluid" style="height: 100%; padding-left: 10px;">
|
||||
<div class="sidebar">{% block sidebar %}{% endblock %}</div>
|
||||
{% block sidebar %}{% endblock %}
|
||||
<div class="content" style="margin-left: 250px;">
|
||||
{% for message in get_flashed_messages() %}
|
||||
<div class="flash alert-message info"><p>{{ message }}</p></div>
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
<div class="sidebar">
|
||||
<h2>{{ _("Balance") }}</h2>
|
||||
|
||||
<table class="balance">
|
||||
|
@ -72,6 +73,7 @@
|
|||
<form action="{{ url_for(".add_member") }}" method="post">
|
||||
{{ forms.add_member(member_form) }}
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
Loading…
Reference in a new issue