|
@@ -0,0 +1,28 @@
|
|
1
|
+<div class="panel panel-default infobox">
|
|
2
|
+ <div class="panel-heading">
|
|
3
|
+ <h4 class="panel-title">{{ infobox.infobox }}</h4>
|
|
4
|
+ </div>
|
|
5
|
+ <div class="panel-body">
|
|
6
|
+ {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" />{% endif %}
|
|
7
|
+ {% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
|
|
8
|
+
|
|
9
|
+ {% if infobox.attributes %}
|
|
10
|
+ <table class="table table-striped infobox_part">
|
|
11
|
+ {% for attribute in infobox.attributes %}
|
|
12
|
+ <tr>
|
|
13
|
+ <td>{{ attribute.label }}</td>
|
|
14
|
+ <td>{{ attribute.value }}</td>
|
|
15
|
+ </tr>
|
|
16
|
+ {% endfor %}
|
|
17
|
+ </table>
|
|
18
|
+ {% endif %}
|
|
19
|
+
|
|
20
|
+ {% if infobox.urls %}
|
|
21
|
+ <div class="infobox_part">
|
|
22
|
+ {% for url in infobox.urls %}
|
|
23
|
+ <p class="btn btn-default btn-xs"><a href="{{ url.url }}">{{ url.title }}</a></p>
|
|
24
|
+ {% endfor %}
|
|
25
|
+ </div>
|
|
26
|
+ {% endif %}
|
|
27
|
+ </div>
|
|
28
|
+</div>
|