Commit a844afbd5dbbc606645fd0b75a7523aa36932fbe
1 parent
d268408c
Exists in
master
and in
3 other branches
improved visual only
Showing
2 changed files
with
34 additions
and
2 deletions
Show diff stats
amadeus/static/css/base/amadeus.css
| @@ -1243,6 +1243,37 @@ div.dataTables_wrapper div.dataTables_paginate { | @@ -1243,6 +1243,37 @@ div.dataTables_wrapper div.dataTables_paginate { | ||
| 1243 | text-transform: uppercase; | 1243 | text-transform: uppercase; |
| 1244 | letter-spacing: 0; | 1244 | letter-spacing: 0; |
| 1245 | } | 1245 | } |
| 1246 | + | ||
| 1247 | + h5 { | ||
| 1248 | + position: relative; | ||
| 1249 | + margin-top: 20px; | ||
| 1250 | + margin-bottom: 10px; | ||
| 1251 | + } | ||
| 1252 | + | ||
| 1253 | + | ||
| 1254 | + h5.one { | ||
| 1255 | + margin-top: 0; | ||
| 1256 | + color: #bdbdbd; | ||
| 1257 | + } | ||
| 1258 | + | ||
| 1259 | + h5.one:before { | ||
| 1260 | + content: ""; | ||
| 1261 | + display: block; | ||
| 1262 | + border-top: solid 1px #bdbdbd; | ||
| 1263 | + width: 100%; | ||
| 1264 | + height: 1px; | ||
| 1265 | + position: absolute; | ||
| 1266 | + top: 50%; | ||
| 1267 | + z-index: 1; | ||
| 1268 | + } | ||
| 1269 | + | ||
| 1270 | + h5.one span { | ||
| 1271 | + background: #eee; | ||
| 1272 | + padding-right: 20px; | ||
| 1273 | + position: relative; | ||
| 1274 | + z-index: 5; | ||
| 1275 | + } | ||
| 1276 | + | ||
| 1246 | /* End Reports */ | 1277 | /* End Reports */ |
| 1247 | 1278 | ||
| 1248 | /* Chat */ | 1279 | /* Chat */ |
reports/templates/reports/_form.html
| 1 | {% load widget_tweaks static i18n %} | 1 | {% load widget_tweaks static i18n %} |
| 2 | 2 | ||
| 3 | <form action="" method="post">{% csrf_token %} | 3 | <form action="" method="post">{% csrf_token %} |
| 4 | - <p>{% trans "General Parameters" %}</p><hr> | 4 | + <h5 class="one"> <span>{% trans "General Parameters" %}</span></h5> |
| 5 | + | ||
| 5 | {% if form.errors %} | 6 | {% if form.errors %} |
| 6 | <div class="alert alert-danger alert-dismissible" role="alert"> | 7 | <div class="alert alert-danger alert-dismissible" role="alert"> |
| 7 | <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | 8 | <button type="button" class="close" data-dismiss="alert" aria-label="Close"> |
| @@ -23,7 +24,7 @@ | @@ -23,7 +24,7 @@ | ||
| 23 | 24 | ||
| 24 | 25 | ||
| 25 | {% elif field.auto_id == 'id_from_mural' %} | 26 | {% elif field.auto_id == 'id_from_mural' %} |
| 26 | - <p>{% trans "Data Source" %}</p><hr> | 27 | + <h5 class="one"> <span>{% trans "Data Source" %}</span></h5> |
| 27 | <label> {{field.label}} </label> | 28 | <label> {{field.label}} </label> |
| 28 | {% render_field field class='form-control' %} | 29 | {% render_field field class='form-control' %} |
| 29 | {% else %} | 30 | {% else %} |