-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·198 lines (186 loc) · 7.04 KB
/
index.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{% extends 'layout.html' %}
{% block content %}
<!-- ========== WHITE SECTION ========== -->
<div id="w" style="display: none;">
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div id="carousel-example-generic" class="carousel slide">
<!-- Indicators -->
<!--
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
</ol>
-->
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<h3>
WELCOME TO <bold>ONASSIS</bold>. <bold>A FREE BOOTSTRAP 3</bold> THEME. CRAFTED WITH LOVE BY <bold>BLACKTIE.CO</bold>. <br/>
<bold>IDEAL FOR</bold> AGENCIES & FREELANCERS.
</h3>
</div>
<div class="item">
<h3>WELCOME TO <bold>ONASSIS</bold>. <bold>A FREE BOOTSTRAP 3</bold> THEME. CRAFTED WITH LOVE BY <bold>BLACKTIE.CO</bold>. <br/>
<bold>IDEAL FOR</bold> AGENCIES & FREELANCERS.
</h3>
</div>
</div>
</div>
<!---->
<!--
<a data-slide="prev" href="#quote-carousel" class="left carousel-control"><i class="fa fa-chevron-left">N</i></a>
<a data-slide="next" href="#quote-carousel" class="right carousel-control"><i class="fa fa-chevron-right">P</i></a>
-->
</div>
</div>
</div><!-- /container -->
</div><!-- /w -->
<!-- ========== EVENTS - GREY SECTION ========== -->
<section id="events" name="events"></section>
<div id="g">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="container">
<div class="row">
{% for event in source.src_files('source/events/', false, true) %}
<h1>{{ event.title }}</h1>
<p class="text-center">{{ event.timer.printable_date }}</p>
{% if event.timer %}
<ul class="list-unstyled event-timer" data-time="{{ event.timer.due_date }}">
<li>
{snn}
<span>ثانیه</span>
</li>
<li>
{mnn}
<span>دقیقه</span>
</li>
<li>
{hn}
<span>ساعت</span>
</li>
<li>
{dn}
<span>روز</span>
</li>
</ul>
{% endif %}
<div class="col-lg-8 text-right" style="text-align: right;">
<br>
<p>{{ event.content | markdown }}</p>
<br>
</div>
<div class="col-lg-4" style="text-align: right;">
<img src="{{ event.map.thumb }}" class="img-responsive" alt="{{ event.location.address }}">
<p class="text-mute">
برای نمایی بزرگتر
<a target="_new" href="{{ event.map.url }}">اینجا</a>
را کلیک کنید.
</p>
<p>{{ event.location.address }}</p>
<ul class="">
{% for route in event.location.routes %}
<li>{{ route }}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div><!-- /container -->
</div><!-- /g -->
<!-- ========== REPORTS - GREY SECTION ========== -->
<section id="reports" name="reports"></section>
<div id="dg">
<div class="container">
<div class="row">
<div class="col-lg-12" style="margin-top: 30px;">
<div id="carousel-example-generic2" class="carousel slide">
<!-- Indicators -->
<!--
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
</ol>
-->
<!-- Wrapper for slides -->
<div class="carousel-inner">
{% for sessions in source.src_files('source/sessions/', true, true) | sort_by_published(true) | batch(2) %}
<div class="item {{ 'active' if loop.index==1 }}">
<div class="container">
<div class="row">
{% for session in sessions %}
<div class="col-lg-6">
<h4>
<a href="{{ session.link }}" title="{{ session.title }}">{{ session.title }}</a>
</h4>
<p>{{ session.content | markdown_less_story | markdown }}</p>
</div>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div><!-- /container -->
</div><!-- /g -->
<!-- ========== CHARTS - DARK GREY SECTION ========== -->
{% set session = source.src_files('source/_sessions', false, true)[0] %}
<section id="charts" name="charts"></section>
<div id="g">
<div class="container">
<div class="row">
<h3>{{ session.navbar.title }}</h3>
<br>
<p style="text-align: right;">{{ session.content }}</p>
<br>
{% for chart in session.charts %}
<div class="col-lg-3">
<canvas id="{{ chart.id }}" height="130" width="130"></canvas>
<br>
<h4>{{ chart.title }}</h4>
<br>
<script>
var doughnutData = [
{
value: {{ chart.percent }},
color: "{{ chart.color }}"
},
{
value : {{ 100 - chart.percent }},
color : "#ecf0f1"
}
];
var myDoughnut = new Chart(document.getElementById("{{ chart.id }}").getContext("2d")).Doughnut(doughnutData);
</script>
</div>
{% endfor %}
</div>
</div><!-- /container -->
</div><!-- /dg -->
<section id="books" name="books"></section>
<div id="portfoliowrap">
<div class="container">
<div class="row">
<h3>کتابهای پیشنهادی گروه</h3>
<br>
<br>
{% for book in source.src_files('source/books/', false, true) if book.title %}
<div class="col-lg-4 port-space tilt">
<a target="_new" href="{{ book.view }}" title="{{ book.title }}">
<img src="{{ book.thumb }}">
</a>
</div>
{% endfor %}
</div>
</div><!-- /container -->
</div><!-- /portfoliowrap -->
{% endblock %}