-
Notifications
You must be signed in to change notification settings - Fork 2
/
player.html
86 lines (85 loc) · 3.99 KB
/
player.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
<!doctype html>
<html data-ng-app="app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Quran Player</title>
<!-- build:css:release libs/bootstrap.min.css -->
<link href="/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- /build -->
<!-- build:css:release style.min.css -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- /build -->
</style>
</head>
<body data-ng-controller="MainController">
<div class="main-content">
<div class="control">
<div class="player">
<div class="main-controller pull-left" data-ng-class="{inactive: !isInit}">
<div class="prev pull-left" data-ng-click="prev()"><span class="glyphicon glyphicon-fast-backward"></span></div>
<div class="play pull-left" data-ng-click="play()" data-ng-show="!isPlaying"><span class="glyphicon glyphicon-play"></span></div>
<div class="pause pull-left" data-ng-click="pause()" data-ng-show="isPlaying"><span class="glyphicon glyphicon-pause"></span></div>
<div class="next pull-left" data-ng-click="next()"><span class="glyphicon glyphicon-fast-forward"></span></div>
</div>
<div class="right-controller pull-right">
<div class="info">
<div class="surah-name">
<span data-ng-show="isInit && !loadingSurah">{{playingSurah.name}}</span>
<span data-ng-show="!isInit && !loadingSurah">Select a surah...</span>
<img src="/spinner.gif" data-ng-show="loadingSurah">
</div>
<div class="reciter-name">
<span>{{currReciter.name}}</span>
</div>
</div>
<div class="seeker">
<div class="pull-left time">{{ time.currentTime | splitSeconds}}</div>
<div class="range pull-left">
<input type="range" data-player-seeker="" data-ng-change="seek()" data-ng-model="seekTime"></input>
<div class="background"></div>
<div class="loaded" data-buffered-time=""></div>
</div>
<div class="pull-left time">{{ time.duration | splitSeconds}}</div>
</div>
</div>
</div>
<div class="nav">
<div class="btn-group">
<a type="button" class="btn btn-default dropdown-toggle btn-sm" data-toggle="dropdown">
Reciter<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li data-ng-repeat="reciter in reciters">
<a href="" data-ng-class="{bold:reciter.iscurr}" data-ng-click="setReciter(reciter)">{{reciter.name}}</a>
</li>
</ul>
</div>
<input type="text" class="form-control surah_search" placeholder="Search" data-ng-model="filterText" autofocus="autofocus">
</div>
</div>
<div class="content">
<table class="surahs table table-hover">
<tr class="surah" data-ng-repeat="surah in surahs | filter:filterText" data-ng-click="initPlay(surah.number)" data-ng-class="{playing: surah == playingSurah}">
<td class="playing-symbol"><span class="glyphicon glyphicon-play"></span></td>
<td class="surah-number">{{surah.number}}</td>
<td>{{surah.name}}</td>
<td><em>{{surah.translation}}</em></td>
</tr>
</table>
</div>
</div>
</body>
<!-- build:[src]:release libs/ -->
<script src="/bower_components/angular/angular.min.js"></script>
<script src="/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<!-- /build -->
<!-- build:js:release app.min.js -->
<script src="/app/app.js"></script>
<script src="/app/filter.js"></script>
<script src="/app/controller.js"></script>
<script src="/app/factory.js"></script>
<script src="/app/directive.js"></script>
<!-- /build -->
</html>