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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
{% load static %}
<!doctype html>
<html>
<head>
<title>{{ page.heading }} | python.fossee.in</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{% static 'website/css/bootstrap.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/bootstrap-theme.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/lightbox.css'%}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/main.css'%}">
<link rel="shortcut icon" type="image/png" href="{% static 'website/images/pylogo.png'%}"/>
<script type="text/javascript" src="{% static 'website/js/jquery.tablesorter.js' %}"></
</head>
<body>
<link rel="stylesheet" type="text/css" href="https://fossee.in/data/banner/css/nice-bar.css" />
<script type="text/javascript" src="https://fossee.in/data/banner/js/nice-bar.js"></script>
{% if permalink == 'home'%}
<div class="nice-bar">
<center>
<a href="https://fossee.in/fellowship/2019" target="_blank"> <img src="https://static.fossee.in/fossee/banners/fellowship_2019_3.gif"></a>
</center>
</div>
<!--<h4 style="width:100%;text-align:center;color:red;font-weight:bold;">Koha Library Management System Workshop in IIT Bombay | 4 August 2018. For more details <a href="https://www.it.iitb.ac.in/lakshya/workshopContent.html?workshopid=ouNj7Y0p5jvaDS39PBjLPg" target="_blank" style="color:#1982d1">Click Here</a></h4>
-->
{% endif %}
<div id="page-wrapper">
{% block page %}
{% block header %}
<div id="header-wrapper">
<div id="header-inner">
<div id="branding" class="pull-left">
<img id="brand-logo" src="{% static 'website/images/pylogo.png' %}">
<a href="https://python.fossee.in" style="text-decoration: none; color: #424242">
<span id="brand-text">Python</span>
</a>
</div>
<ul id="main-nav" class="nav nav-pills pull-right">
{% for nav in navs %}
{% with subnavs=nav.subnav_set.all %}
{% if nav.link|slice:":4" == "http" or nav.link == "#" %}
<li>
<a href="{{ nav.link }}">
{% else %}
<li class="dropdown">
{% if subnavs|length > 0 %}
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
{% else %}
<a href="{% url 'website:dispatcher' nav.link %}">
{% endif %}
{% endif %}
{{ nav.nav_name }} {% if subnavs|length > 0 %} <span class="caret"></span> {% endif %}
</a>
{% if subnavs|length > 0 %}
<ul class="dropdown-menu pull-right">
{% for subnav in subnavs %}
{% if subnav.link|slice:":4" == "http" or subnav.link == "#" %}
<li><a href="{{ subnav.link }}" target="_blank">{{ subnav.subnav_name }}</a></li>
{% else %}
<li><a href="{% url 'website:dispatcher' subnav.link %}">{{ subnav.subnav_name }}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</li>
{% endwith %}
{% endfor %}
</ul>
<div class="clearfix"></div>
</div> <!-- /header-inner -->
</div> <!-- /header-wrapper -->
{% endblock %}
{% block content %}
<div id="content-wrapper">
<div id="content-inner" class="row">
<div id="sidebar" class="col-lg-2 col-md-2 col-sm-2">
{% for block in sidebar %}
{% if block.linkbox_name %}
<div class="block">
<h5 class="block-heading">{{ block.linkbox_name }}</h4>
<ul>
{% for link in block.link_set.all|dictsort:"position" %}
{% if link.link|slice:":4" == "http" or nav.link == "#" %}
<li><a href="{{link.link}}" target="_blank">{{ link.link_name }}</a></li>
{% else %}
<li><a href="{% url 'website:dispatcher' link.link %}">{{ link.link_name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div> <!-- /block -->
{% endif %}
{% if block.textbox_name %}
<div class="block">
<h5 class="block-heading">{{ block.textbox_name }}</h4>
<p>
{{ block.content|safe }}
</p>
</div> <!-- /block -->
{% endif %}
{% endfor %}
</div> <!-- /sidebar -->
<!--------------------------- -->
{% if permalink == 'python-workshops' %}
<div id="content" class="col-lg-10 col-md-10 col-sm-10">
<h3>Python Workshops </h3>
<br>
<p>
{% if page.content %}
{{ page.content|safe }}
{% endif %}
</p>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapsestats">
Workshops Completed
</a>
</h4>
</div>
<div id="collapsestats" class="panel-collapse collapse">
<div class="panel-body">
<p>
<table id= "statstable" class="tablesorter table table table-striped table-hover">
<thead>
<tr>
<th>Name</th>
<th>Start Date</th>
<th>Venue</th>
<th>No of Participants</th>
<th> </th>
</tr>
</thead>
<tbody>
{% for b in obj %}
<tr>
<td>{{ b.w_name }}</td>
<td>{{ b.startdate }}</td>
<td>{{ b.venue }}</td>
<td>{{ b.no_of_participant }}</td>
<td><a href="https://fossee.in/events/view_details/{{ b.w_id }}" target="_blank">Details</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</p>
</div>
</div>
</div>
</div> <!-- /content -->
{% else %}
<div id="content" class="col-lg-10 col-md-10 col-sm-10">
<h3>{{ page.heading }} </h3>
<p>
{{ page.content|safe }}
</p>
</div> <!-- /content -->
{% endif %}
<!--------------------------- -->
<div class="clearfix"></div>
</div> <!-- /content-inner -->
</div> <!-- /content-wrapper -->
{% endblock %}
<div id="extra-wrapper">
<div id="extra-inner" class="row">
<!-- /future use -->
</div> <!-- /extra-inner -->
</div> <!-- /extra-wrapper -->
{% block footer %}
<div id="footer-wrapper">
<div id="footer-inner">
{% for block in footer %}
{% if block.linkbox_name %}
<div class="foot col-lg-4 col-md-4 col-sm-4">
<h5 class="foot-heading">{{ block.linkbox_name }}</h4>
<ul>
{% for link in block.link_set.all|dictsort:"position" %}
{% if link.link|slice:":4" == "http" or link.link == "#" %}
<li><a href="{{ link.link }}" target="_blank">{{ link.link_name }}</a></li>
{% else %}
<li><a href="{% url 'website:dispatcher' link.link %}">{{ link.link_name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div> <!-- /foot -->
{% endif %}
{% if block.textbox_name %}
<div class="foot col-lg-4 col-lg-4 col-sm-4">
<h5 class="foot-heading">{{ block.textbox_name }}</h4>
<p>
{{ block.content|safe }}
</p>
</div> <!-- /foot -->
{% endif %}
{% endfor %}
<div class="clearfix"></div>
<img id="django-logo" src="{% static 'website/images/django-logo.png' %}">
</div> <!-- /footer-inner -->
</div> <!-- /footer-wrapper -->
<center>
Sponsored by:<br>
National Mission on Education through ICT<br>
MHRD<br>
<a href="http://www.sakshat.ac.in" target="_blank">http://www.sakshat.ac.in</a>
</center>
{% endblock %}
{% endblock %}
</div> <!-- /page-wrapper -->
<div id="credits">
<center>
This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.<br />
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
</center>
</div>
<script src="{% static 'website/js/jquery.min.js' %}"></script>
<script src="{% static 'website/js/bootstrap.min.js' %}"></script>
<script src="{% static 'website/js/lightbox.min.js' %}"></script>
< !--Piwik-- >
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytics.spoken-tutorial.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 14]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-60190813-1', 'auto');
ga('send', 'pageview');
//Lee
//var secondTracker = _gat._getTracker("UA-20817855-1");
//secondTracker._initData();
//secondTracker._trackPageview();
ga('create', 'UA-20817855-1', 'auto' , 'clientTracker');
ga('clientTracker.send', 'pageview');
//Lee End
</script>
<noscript><p><img src="https://analytics.spoken-tutorial.org/piwik.php?idsite=14" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<script type="text/javascript" src="{% static 'website/js/jquery.tablesorter.min.js' %}"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("#statstable").tablesorter();
}
);
</script>
</body>
</html>
|