-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
377 lines (353 loc) · 16.7 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
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<html lang="en" ng-app="myApp" ng-controller="ayahsController">
<head>
<meta charset="utf-8">
<title ng-bind="'Mutaradifaat ul Qur\'an'"> بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ Mutaradifaat al Qur'an Translation Project</title>
<!-- CSS Files -->
<link type="text/css" href="css/base.css" rel="stylesheet" />
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet" />
<link type="text/css" href="css/bootstrap-responsive.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/appnew.css"/>
<!-- <link type="text/css" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet" />-->
<!--[if IE]><script language="javascript" type="text/javascript" src="../../Extras/excanvas.js"></script><![endif]-->
</head>
<script type="text/ng-template" id="partials/hero-unit.html">
<div class="hero-unit">
<H3>
<span title="In the name of Allah , the Entirely Merciful, the Especially Merciful">بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ </span>
<A HREF=".">Mutaradifaat al Qur’an Translation Project</A>
<A HREF="http://linguisticmiracle.wordpress.com/2012/09/04/mutaradifaat/" TARGET="_"><i class="icon-info-sign"></i></A>
</H3>
<img ng-show="false" id="banner" src="img/quransynonyms-banner.jpg"/>
</div>
</script>
<script type="text/ng-template" id="partials/msie-error.html">
<div id=IE-ERRROR class="alert alert-error" style="display:none;z-index:10;">
Note: <b>having issues using this app in Internet Explorer?</b> Please retry in Google Chrome or Firefox browser (our main test browsers). <BR/>We apologize for the inconvenience.
</div>
</script>
<script type="text/ng-template" id="partials/synonymsContent.html">
<div>
<div ng-show="suras.refs" class="xpull-left align-left well well-small clearfix max-height">
<div class=pull-left>
<span ng-bind="'Synonym: '"></span>
<span ng-bind="getSynonym( getID() )" title="{{getID()}}" class="label label-success"></span>
<span ng-bind="'('+getID()+')'" class="muted"></span>
</div>
<div ng-show="synonymdetails && synonymdetails.length>0" class=pull-right>
<span dir=rtl ng-repeat="wordO in findSurasForTopic( getID() ).words">
<span ng-bind="wordO.word" class="qurantext2 label label-inverse"></span><span ng-show="!$last"> - </span>
</span>
</div><BR/>
<div class="clearfix pull-left">
has ayahs: |
<span ng-repeat="ref in findSurasForTopic( getID() ).refs">
<A ng-click="setRef(ref)"><span ng-show="ref" ng-bind="ref" class="label label-info"></span></A>
</span>
<span ng-show="suras.suras" class='lineheight'>
<span ng-bind="' | Suwaar: | '"></span>
<span ng-repeat="sura in findSurasForTopic( getID() ).suras">
<A ng-click="setRef(sura+':1')"><span ng-bind="sura +': '+ suraNames[ sura ]" class="label label-warn"></span></A>
</span>
</span>
<span ng-show="synonymdetails && synonymdetails.length>0" ng-repeat="wordO in findSurasForTopic( getID() ).words">
<small><span ng-bind="wordO.wordEn" class="muted"></span></small><span ng-show="!$last"> - </span>
</span>
</div>
</div>
</div>
</script>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12 span-fixed-sidebar stagearea">
<div ng-include src="'partials/msie-error.html'">
</div>
<div ng-include src="'partials/hero-unit.html'">
</div>
<!--<div id=WIP class="alert alert-warn">
<span class=muted>Disclaimer:</span> <b>Work-in-progress; <u>Content still under review</u>. </b>
<span class=muted>Note:</span> <b>site issues?</b> refresh browser few times; Site updated often.
</div>-->
</div>
</div>
<div class="row-fluid">
<div class="span6" id=topics>
<gcse:search></gcse:search><BR/>
<span ng-init="id=getID()"></span>
<span ng-init="page=67"></span>
<span ng-init="suras = findSurasForTopic( getID() )"></span>
<div id="IDContentOuter" class="align-left well well-small clearfix">
<H4>
<div class="pull-right">Section: <select
ng-model="ltr" required
ng-change="setID(letters[ltr] + '1')"
ng-options="value.id as value.label group by value.group for value in lettersDD">
<option>--</option>
</select>
</div>
<ul class="pager clearfix" style="margin: 0!important;">
<li><a href="#" ng-click="setID( getNextID(getID(), -1) )">Previous</a></li>
Translation
<li><a href="#" ng-click="setID( getNextID( getID() ) )">Next</a></li>
</ul>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<div class="pull-right">Section: <select
ng-model="ltr" required
ng-change="setID(letters[ltr] + '1')"
ng-options="value.id as value.label group by value.group for value in lettersDD">
<option>--</option>
</select>
</div>
<ul class="pager clearfix" style="margin: 0!important;">
<li><a href="#" ng-click="setID( getNextID(getID(), -1) )">Previous</a></li>
Translation
<li><a href="#" ng-click="setID( getNextID( getID() ) )">Next</a></li>
</ul>
</div>
<div class="modal-body">
<div ng-include src="'partials/synonymsContent.html'"></div>
<span ng-bind="getIDUrl()" style="display: none;"></span>
<div id="NOTRANSLATION" class="alert alert-error" style="display: none">
This topic's not yet been translated. Please check back later or <A HREF=mailto:[email protected]>volunteer as a translator</A>.
</div>
<div class="clearfix well well-small iframe1 xpull-left" id="IDContentModal"></div>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
</H4>
<div ng-include src="'partials/synonymsContent.html'"></div>
<div class=pull-right>
<A ng-click="getBookUrl('AsbabAlNuzul', '#book2')"><i class="icon-refresh"></i></A> <A href="{{getIDUrl()}}" target=_><i class="icon-share-alt"></i></A>
</div><!-- Button to trigger modal -->
<a href="#myModal" role="button" class="pull-right btn btn-mini viewfull" data-toggle="modal">view full screen <i class="icon-fullscreen"></i></a>
<span ng-bind="getIDUrl()" style="display: none;"></span>
<div id="NOTRANSLATION" class="alert alert-error" style="display: none">
This topic's not yet been translated. Please check back later or <A HREF=mailto:[email protected]>volunteer as a translator</A>.
</div>
<div class="clearfix well well-small stagearea pull-left" id="IDContent"></div>
</div>
<div id=WIP class="alert alert-warn">
Refresh page if any issues.
<span class=muted>Disclaimer:</span> <b>Work-in-progress; <u>Content still under review</u>.</b>
</div>
</div>
<div class="span6">
<div class="align-left well well-small lineheight max-height">
<span Xng-show="topics && sura" ng-bind="'Surah ' "></span>
<select
ng-model="sura" required
ng-change="setSura(sura)"
ng-options="value.id as value.label group by value.group for value in suwar">
<option>--</option>
</select>
has synonyms:
<span Xng-show="topics" ng-repeat="topic in getTopics()">
<A ng-click="setID(topic)">
<span ng-show="topic" ng-bind="getSynonym( topic )" class="label label-warn"></span>
</A>
</span>
<span ng-show="!getTopics()" ng-bind="'-none-'"></span>
</div>
<div id="myCarousel" class=" carousel slide clearfix">
<!-- Carousel items -->
<div class="carousel-inner stagearea">
<div class="active item">
<div class=well well-small>
<H4>Book view (Mutaradifaat al-Qur'aan - urdu):</H4>
<div class=pull-right>
<A ng-click="getUrduBookUrl()"><i class="icon-refresh"></i></A> <A href="{{getUrduBookUrl(true)}}" target=_><i class="icon-share-alt"></i></A>
</div>
<IFRAME ng-show="page" class=clearfix STYLE="height:680px;width:95%;"
ng-src="{{getUrduBookUrl()}}"></IFRAME>
</div>
</div>
<div class="item">
<div class=well well-small>
<H4>Quran view:</H4>
<div ng-include src="'partials/quran-template.html'"></div>
</div>
</div>
<div class="item">
<div class=well well-small>
<H4>Quran view (Tafseer Maariful Qur'aan):</H4>
<div class=pull-right>
<A ng-click="getBookUrl('MaarifulQuraan', '#book1')"><i class="icon-refresh"></i></A> <A href="{{getBookUrl('MaarifulQuraan',false,true)}}" target=_><i class="icon-share-alt"></i></A>
</div>
<span ng-init="book1 = true" ng-show="book1" ng-click="book1 = !book1; _html1 = '<IFRAME src=' + getBookUrl('MaarifulQuraan', '#book1') +'></IFRAME>'; $('#book1').html(_html1);" class="btn btn-large">
<img src="data/misc-icons/MaarifulQuran.jpg" class="img-polaroid" style="width: 140px; height: 180px;"/><BR>
Click to load.
</span>
<span ng-show="!book1" id="book1"></span>
</div>
</div>
<div class="item">
<div class=well well-small>
<H4>Quran view (A Word for Word meaning of Qur'aan - Mohar Ali):</H4>
<div class=pull-right>
<A ng-click="getBookUrl('MoharAliWordByWordQuraan', '#book3')"><i class="icon-refresh"></i></A> <A href="{{getBookUrl('MoharAliWordByWordQuraan',false,true)}}" target=_><i class="icon-share-alt"></i></A>
</div>
<span ng-init="book3 = true" ng-show="book3" ng-click="book3 = !book3; _html3 = '<IFRAME src=' + getBookUrl('MoharAliWordByWordQuraan', '#book3') +'></IFRAME>'; $('#book3').html(_html3);" class="btn btn-large">
<img src="data/misc-icons/MoharAliWordByWordQuraan.jpg" class="img-polaroid" style="width: 140px; height: 180px;"/><BR>
Click to load.
</span>
<span ng-show="!book3" id="book3"></span>
</div>
</div>
<div class="item">
<div class=well well-small>
<H4>Quran view (Asbab Al Nuzul):</H4>
<div class=pull-right>
<A ng-click="getBookUrl('AsbabAlNuzul', '#book2')"><i class="icon-refresh"></i></A> <A href="{{getBookUrl('AsbabAlNuzul',false,true)}}" target=_><i class="icon-share-alt"></i></A>
</div>
<span ng-init="book2 = true;" ng-show="book2" ng-click="book2 = !book2;_html2 = '<IFRAME src=' + getBookUrl('AsbabAlNuzul', '#book2') +'></IFRAME>'; $('#book2').html(_html2);" class="btn btn-large">
<img src="data/misc-icons/Asbab.jpg" Mutaradifaat.jpg class="img-polaroid" style="width: 140px; height: 180px;"/><BR>
Click to load.
</span>
<span ng-show="!book2" id="book2"></span>
</div>
</div>
<div class="item">
<div ng-include src="'partials/topics.html'"></div>
</div>
<div class="item">
<div ng-include src="'partials/words.html'"></div>
</div>
<div class="item">
<div ng-include src="'partials/pics.html'"></div>
</div>
<div class="item">
<div ng-include src="'partials/statusnew.html'"></div>
</div>
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
<HR/><BR><div id="disqus_thread"></div>
</div>
</div>
</div>
<script type="text/ng-template' id="partials/topic-modal.html">
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</div>
<div class="modal-body">
<p><IFRAME ng-show="getIDUrl()" class="clearfix" STYLE="height:680px;width:95%;"
ng-src="{{getIDUrl()}}"></IFRAME></p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Save changes</button>
</div>
</div>
</script>
<script type='text/ng-template' id="partials/quran-template.html">
<div dir=rtl class="clearfix">
<div ng-show="qurandata" ng-repeat="pageno in [0]" dir="rtl" class="quranpage well well-small">
<div ng-repeat="(key, verse) in getQuranData(pageno)" dir=rtl class="quranayah">
<div ng-init="ref = verse.surah + ':' + verse.ayah" id="{{verse.surah + '_' + verse.ayah}}" class="{{($first && 'first')||'' + ($last && 'last')||''}}">
<span ng-bind="'['+ ref +']'" class="label label-info"></span>
<span ng-bind="verse.verse" class="qurantext">
</span><BR/>
<span ng-bind="getQuranTrans()[key].verse">
</span>
<span Xng-show="refTopics" ng-repeat="topic in getRefTopics(ref)">
<A ng-click="setID(topic)">
<span ng-show="topic" ng-bind="getSynonym( topic )" class="label label-success"></span>
</A>
</span>
<HR>
<div ng-show="$last"><A ng-click="setRef( verse.surah, verse.ayah )" class="btn btn-mini">Next page</A>
</div>
</div>
</div>
</div>
</div>
</script>
<!-- Le javascript
================================================== -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script>
<!-- <script src="lib/angular/angular.min.js"></script> -->
<script src="js/app.js"></script>
<!-- <script src="js/mapper.js"></script>-->
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/underscore-min.js"></script>
<!-- <script src="js/bootstrap.min.js"></script> -->
<script src="controllers/ayahsController.js?0.8"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-carousel.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-modal.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if ($.browser.msie) {
alert('Internet Explorer browser is not fully supported. Please retry in Chrome or Firefox, if you have issues. We apologize for the inconvenience. \n\nAnother option, if you wish to stick to Internet Explorer, is to click OK & activate Google Frame on next screen.');
$('#IE-ERRROR').show();// create the error box here
$('#IE-ERROR').attr('style', 'z-index:1!important');
}
});
</script>
<script>
(function() {
var cx = '006391315213758694463:qblgpzxzocy';
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
})();
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37463733-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'qurandev'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<!--[if IE]>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<style>
.chromeFrameInstallDefaultStyle {
width: 100%; /* default is 800px */
border: 5px solid blue;
}
</style>
<div id="prompt">
<!-- if IE without GCF, prompt goes here -->
</div>
<script>
// The conditional ensures that this code will only execute in IE,
// Therefore we can use the IE-specific attachEvent without worry
window.attachEvent("onload", function() {
CFInstall.check({
mode: "inline", // the default
node: "prompt"
});
});
</script>
<![endif]-->
</body>
</html>