Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.

Commit adbc681

Browse files
committed
Update layout.
1 parent 3ccb424 commit adbc681

File tree

3 files changed

+44
-8
lines changed

3 files changed

+44
-8
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.justizgelder {
2+
font-size: 16px;
3+
}
4+
5+
.justizgelder h2 {
6+
font-size: 26px;
7+
font-weight: bold;
8+
padding: 10px 0;
9+
}
10+
11+
.justizgelder h4 {
12+
font-size: 16px;
13+
font-weight: bold;
14+
}
15+
16+
.justizgelder .table-condensed td {
17+
border: 0;
18+
padding: 0 5px;
19+
}
20+
21+
.justizgelder .sidebar {
22+
padding-top: 40px;
23+
}
24+
25+
.justizgelder .amount-range {
26+
margin-top: 10px;
27+
margin-left: -10px;
28+
}
29+
30+
.justizgelder .treasury-selection {
31+
margin-top: 10px;
32+
}

correctiv_justizgelder/templates/justizgelder/_action_area.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{% load i18n %}
2-
<div class="row">
2+
<div class="row justizgelder">
33
<div class="col-lg-4 col-md-4 col-sm-6">
44
<div class="thumbnail">
55
<div class="caption">
6-
<h4 class="text-center">
6+
<h4>
77
<span class="glyphicon glyphicon-share"></span>
88
{% trans "Interesting Organisation?" %}
99
</h4>
@@ -35,7 +35,7 @@ <h4 class="text-center">
3535
<div class="col-lg-4 col-md-4 col-sm-6">
3636
<div class="thumbnail">
3737
<div class="caption">
38-
<h4 class="text-center">
38+
<h4>
3939
<span class="glyphicon glyphicon-list-alt"></span>
4040
{% trans "Embed this judicial donation" %}
4141
</h4>
@@ -51,7 +51,7 @@ <h4 class="text-center">
5151
<div class="col-lg-4 col-md-4 col-sm-12">
5252
<div class="thumbnail">
5353
<div class="caption">
54-
<h4 class="text-center">
54+
<h4>
5555
<span class="glyphicon glyphicon-envelope"></span>
5656
{% trans "Contact us!" %}
5757
</h4>

correctiv_justizgelder/templates/justizgelder/search_base.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{% block extra_style %}
99
{{ block.super }}
1010
<link rel="stylesheet" href="{% static "justizgelder/css/jquery.nouislider.css" %}"/>
11+
<link rel="stylesheet" href="{% static "justizgelder/css/justizgelder.css" %}"/>
1112
<style type="text/css">
1213
.noUi-connect {
1314
background: #428bca;
@@ -24,7 +25,9 @@
2425
{% endblock %}
2526

2627
{% block content %}
28+
<div class="justizgelder">
2729
{% facet_vars "" "getvars" %}
30+
2831
<div class="row">
2932
<div class="col-lg-9 col-md-8 col-sm-12">
3033
<h2>{% trans "Search for recipients" %}</h2>
@@ -39,7 +42,7 @@ <h2>{% trans "Search for recipients" %}</h2>
3942
<button class="btn btn-default" type="submit">{% trans "Search" %}</button>
4043
</span>
4144
</div><!-- /input-group -->
42-
<div class="pull-right">
45+
<div class="pull-right treasury-selection">
4346
<p>
4447
{{ form.treasury }}
4548
</p>
@@ -51,11 +54,11 @@ <h2>{% trans "Search for recipients" %}</h2>
5154
<div class="col-lg-9 col-md-8 col-sm-9">
5255
{% block object_list %}{% endblock %}
5356
</div>
54-
<div class="col-lg-3 col-md-4 col-sm-3">
57+
<div class="sidebar col-lg-3 col-md-4 col-sm-3">
5558
<h4>{% trans "Set range of total amount" %}</h4>
5659
<div class="row">
5760
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-10 col-xs-offset-1">
58-
<div id="amount-range"></div>
61+
<div id="amount-range" class="amount-range"></div>
5962
<div class="row">
6063
<div class="col-lg-6 col-xs-6">
6164
<p class="text-left text-muted" id="amount_gte_label">0</p>
@@ -115,7 +118,7 @@ <h4>{% trans "Allocated in" %}</h4>
115118
{% if aggregates.years %}
116119
{% with years=aggregates.years %}
117120
<h4>{% trans "In the year" %}</h4>
118-
<table class="table table-supercondensed">
121+
<table class="table table-condensed">
119122
<tr>
120123
<td class="text-muted text-right" style="width:20%">
121124
{{ aggregates.doc_count|intcomma }}
@@ -171,6 +174,7 @@ <h4>{% trans "In the year" %}</h4>
171174
{% endwith %}
172175
{% endwith %}
173176
{% endwith %}
177+
</div>
174178
{% endblock %}
175179

176180
{% block scripts %}

0 commit comments

Comments
 (0)