1
0
Fork 0
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:
Alexis Metaireau 2011-10-18 18:39:38 +02:00
parent b88b317faa
commit 4e1819523f
3 changed files with 11 additions and 6 deletions

View file

@ -16,18 +16,21 @@ div.topbar ul.secondary-nav { padding-right: 75px; }
.sidebar { .sidebar {
background-color: #ABE128; background-color: #ABE128;
background-image: url("gradient.png"); background-position: center bottom;
background-position: center top;
background-position-x: 50%;
background-position-y: 0%;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 100%; height: 100%;
width: 220px; width: 220px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
padding-top: 10px;
margin-left: -10px;
margin-top: -10px;
margin-right: 15px;
color: black;
} }
.sidebar h2 { text-align: center; } .sidebar h2 { text-align: center; }
.sidebar button{ margin-top: 10px; float: right; } .sidebar button { margin-top: 10px; float: right; }
.right h3 { float: right; } .right h3 { float: right; }
#bills { color: black; } #bills { color: black; }

View file

@ -78,7 +78,7 @@
{% block header %}{% endblock %} {% block header %}{% endblock %}
{% block container %} {% block container %}
<div class="container-fluid" style="height: 100%; padding-left: 10px;"> <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;"> <div class="content" style="margin-left: 250px;">
{% for message in get_flashed_messages() %} {% for message in get_flashed_messages() %}
<div class="flash alert-message info"><p>{{ message }}</p></div> <div class="flash alert-message info"><p>{{ message }}</p></div>

View file

@ -52,6 +52,7 @@
{% endblock %} {% endblock %}
{% block sidebar %} {% block sidebar %}
<div class="sidebar">
<h2>{{ _("Balance") }}</h2> <h2>{{ _("Balance") }}</h2>
<table class="balance"> <table class="balance">
@ -72,6 +73,7 @@
<form action="{{ url_for(".add_member") }}" method="post"> <form action="{{ url_for(".add_member") }}" method="post">
{{ forms.add_member(member_form) }} {{ forms.add_member(member_form) }}
</form> </form>
</div>
{% endblock %} {% endblock %}
{% block content %} {% block content %}