changes display of notes in tables (headers on the side)

corrects code for 'notes' modules according to PEP8 guidelines
This commit is contained in:
artus40
2017-12-27 12:42:40 +01:00
parent 8092859cb4
commit f8e618e08a
10 changed files with 171 additions and 132 deletions

View File

@@ -1,16 +1,14 @@
<tr>
<th class="bg-{{bg_color}}" >
<th class="bg-{{bg_color}}">
{% if link %}
<a href="{{link}}"><strong>{{header}}</strong></a>
{% else %}
<strong>{{header}}</strong>
{% endif %} <small>{{small}}</small>
<span class="pull-right">
<br />
{% for label in labels %}
<span class="label label-{{bg_label_color}}">{{label}}</span>
{% endfor %}</span>
<span class="label label-{{bg_label_color}}">{{label}}</span><br />
{% endfor %}
</th>
</tr>
<tr>
<td style="background-color:#fff"><p>{{text | linebreaks }}</p></td>
</tr>