This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
1 |
{% extends "layout.html" %} |
2 |
|
3 |
{% block body %} |
4 |
<div id="store-stats"> |
5 |
</div> |
6 |
|
7 |
{% if sweets|length > 0 %} |
8 |
|
9 |
<ul class="entries unstyled"> |
10 |
{% for sweet in sweets %} |
11 |
<li> |
12 |
<span class="who"> |
13 |
<a href="#"> |
14 |
@{{ sweet.who.username }} |
15 |
</a> |
16 |
</span> |
17 |
<span class="what"> |
18 |
<b> #{{ sweet.what.name }} </b> |
19 |
</span> |
20 |
<span class="where"> |
21 |
{{ sweet.where }} |
22 |
</span> |
23 |
<p></p> |
24 |
<span class="how"> |
25 |
{{ sweet.how|escape|safe }} |
26 |
</span> |
27 |
|
28 |
<small><i>created: {{sweet.created }}</i></small> |
29 |
|
30 |
<span class="pull-right permalink"> |
31 |
<a href="{{ url_for('sweet.showSweet', id=sweet.id) }}"> |
32 |
<i class="glyphicon glyphicon-share"></i> |
33 |
</a> |
34 |
</li> |
35 |
{% endfor %} |
36 |
</ul> |
37 |
|
38 |
{% else %} |
39 |
<div class="row"> |
40 |
<div class="col-md-5"> |
41 |
<h4><em>Unbelievable! No sweets yet!!</em></h4> |
42 |
</div> |
43 |
</div> |
44 |
{% endif %} |
45 |
|
46 |
{% endblock %} |