-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
118 lines (101 loc) · 4.26 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
<!doctype html>
<html ng-app="App">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./css/semantic.css"/>
<link id="ppstyle" rel="stylesheet" type="text/css" href="./css/style.css">
<script src="./js/lib/jQuery.min.js"></script>
<script src="./js/lib/semantic.js"></script>
<script src="./js/lib/jquery.address.js"></script>
<script src="./js/lib/angular/angular.js"></script>
<script src="./js/lib/angular/angular-route.js"></script>
<script src="./js/lib/angular/angular-resource.js"></script>
<title>Panchaanga</title>
</head>
<body ng-controller="MainController" onLoad="onLoaded()">
<div class="ui grid">
<div class="ui menu">
<div class="ui teal simple dropdown button">
<div class="text marathi">{{ selectedSection.title }}</div>
<i class="dropdown icon"></i>
<div class="menu">
<a class="ui marathi item" href="#/{{ section.title }}" ng-repeat="section in sections" ng-click="select(section)">
{{ section.title }}
</a>
</div>
</div>
<div class="item ui simple dropdown" ng-class="{active:(sthaanaText.length && !placeSelected)}">
<!--<dp-typeahead items="sthaanas" prompt="Select Place..." title="Name" model="selectedSthaana"/>--><!--subtitle="abbreviation" on-select="onItemSelected()" -->
<!--<div class="ui selection dropdown" ng-model="selectedSthaana" ng-options="sthaana.Name for sthaana in sthaanas"></select>-->
<div class="ui input">
<input type="text" style="height: 2em" ng-model="sthaanaText" placeholder="Select place..." ng-keydown="placeSelected=false"/>
</div>
<div class="ui menu" style="overflow-y:auto; height: 20em">
<div class="item text" ng-repeat="sthaana in sthaanas | filter:{Name:sthaanaText} track by $index"
ng-click="handlePlaceSelection(sthaana)" style="cursor:pointer" ng-class="{active:isCurrent($index)}"
ng-mouseenter="setCurrent($index)">
<p>{{sthaana['Name']}}</p>
</div>
</div>
</div>
<div class="ui teal simple dropdown button">
<div class="text">{{ selectedBhaashhaa }}</div>
<i class="dropdown icon"></i>
<div class="menu transition hidden">
<a class="ui item" ng-repeat="bhaashhaa in bhaashhaas" ng-click="selectBhaashhaa(bhaashhaa)">
{{ bhaashhaa }}
</a>
</div>
</div>
</div>
<!--<div class="ui teal button marathi">{{ selectedSthaana.Name }}</div>
<div class="ui teal simple dropdown icon button">
<i class="dropdown icon"></i>
<div class="menu transition hidden">
<a class="ui marathi item" ng-repeat="sthaana in sthaanas" ng-click="selectSthaana(sthaana)">
{{ sthaana.Name }}
</a>
</div>
</div>-->
<div class="ui modal">
<!--<i class="close icon"></i>-->
<div class="ui inverted red block header">
{{ warning.Header }}
</div>
<div class="content">
{{ warning.Text }}
</div>
<div class="actions">
<div class="ui button" ng-hide="!modal.withCancel">
Cancel
</div>
<div class="ui button">
Ok
</div>
</div>
</div>
</div>
<div ng-view class="ui orange segment"></div>
<ul class="debugtools">
<li>
<button id="btn_debug">Dt</button>
</li>
<li>
<button id="btn_reload">Rf</button>
</li>
</ul>
<script src="./js/themeManager.js"></script>
<script src="./js/lib/linq.js"></script>
<script src="./js/lib/ext.js"></script>
<script src="./js/lib/CSInterface-4.0.0.js"></script>
<script src="./js/app.js"></script>
<script src="Features/UI/TypeAhead.js"></script>
<script src="Features/Service/Error.js"></script>
<script src="Features/Service/DataService.js"></script>
<script src="Features/Service/PanchaangaData.js"></script>
<script src="./js/controllers.js"></script>
<script src="Features/Itara/ItaraController.js"></script>
<script src="./js/forSemanticUI.js"></script>
<script src="./js/lib/Utils.js"></script>
</body>
</html>