-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsearch.html
77 lines (47 loc) · 1.52 KB
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{% extends 'layouts/base.html' %}
{% block title %} Page User {% endblock %}
<!-- Specific Page CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}
{% block content %}
{% if messages %}
{% for k in messages %}
<br> <br>
<h5 dir="rtl" align="center"> {{k}} </h5>
{% endfor %}
{% endif %}
{% if sr %}
<a href="{{ Station.get_absolute_url}}"> {{ Station.name }} </a> <br>
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="card">
<div class="card-header ">
<div class="card-header">
<h3 class="card-title"><i class="tim-icons icon-zoom-split text-primary"></i> موارد پیدا شده </h3>
<br>
</div>
</div>
<div class="card-body" align="right" dir="rtl">
<div class="table-full-width table-responsive">
<table class="table">
<tbody>
{% for Station in sr %}
<tr>
<td>
<p class="title"> <a href="{{ Station.get_absolute_url }}"> {{ Station.name }} </a> </p>
</td>
<td>
<p class="text-muted"> {{ Station.description|slice:":120" }}... </p>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endblock content %}
<!-- Specific Page JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}