-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
127 lines (91 loc) · 4.12 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
<!DOCTYPE html>
<html manifest="manifest.appcache" ng-app="Calendarapp">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>नेपाली पात्रो!</title>
<!-- css links -->
<link rel="stylesheet" type="text/css" href="css/foundation.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.mobile-1.3.1.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/vendor/jquery.js"></script>
<script src="js/lib/jquery.mobile-1.3.1.min.js"></script>
<script src="js/lib/angular/angular.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src="js/directives.js"></script>
<script src="js/filters.js"></script>
<script src="js/lib/date.js"></script>
<script src="js/lib/neptoeng.js"></script>
<script src="js/lib/engtonep.js"></script>
</head>
<body ng-controller="nepaliCalendarCtrl">
<header>
<h1 > नेपाली पात्रो! </h1>
</header>
<div >
<span class="small-1 columns menu-btn"> <a href="#positionWindow" data-rel="popup" data-position-to="window" class="" data-role="button" data-icon="grid" data-iconpos="notext" data-theme="b"></a> </span>
<div class="left-navig" ng-click="decMonth();"></div>
<div class="right-navig" ng-click="incMonth();"></div>
<!-- calendar -->
<nep-calendar></nep-calendar>
<!-- pop up -->
<div data-role="popup" id="positionWindow">
<div data-role="collapsible-set" data-mini="true" data-theme="b" data-content-theme="b">
<div data-role="collapsible" data-collapsed="false">
<h5>Go to</h5>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<select ng-options="val for val in [1, 12] | range" ng-model="selectedGoMonth" name="nepmonth">
<option>Month</option>
</select>
<select ng-options="val for val in [1, 32] | range" ng-model="selectedGoDate" name="nepdate">
<option>Day</option>
</select>
<select ng-options="val for val in [2000, 2090] | range" ng-model="selectedGoYear" name="nepyear" id="select-choice-year">
<option value="">Year</option>
</select>
</fieldset>
<a href="#" class="c_btn" data-role="button" data-icon="refresh" data-mini="true" data-theme="b" ng-click="goTo();">Go</a>
</div>
</div>
<div data-role="collapsible">
<h5>AD to BS</h5>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<select ng-options="val for val in [1, 12] | range" ng-model="selectedEngMonth" >
<option>Month</option>
</select>
<select ng-options="val for val in [1, 32] | range" ng-model="selectedEngDate">
<option>Day</option>
</select>
<select ng-options="val for val in [1943, 2034] | range" ng-model="selectedEngYear" >
<option value="">Year</option>
</select>
</fieldset>
<a href="#" class="c_btn" data-role="button" data-icon="refresh" data-mini="true" data-theme="b" ng-click="ADtoBS();">Convert</a>
</div>
</div>
<div data-role="collapsible">
<h5>BS to AD</h5>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<select ng-options="val for val in [1, 12] | range" ng-model="selectedNepMonth">
<option>Month</option>
</select>
<select ng-options="val for val in [1, 32] | range" ng-model="selectedNepDate" >
<option>Day</option>
</select>
<select ng-options="val for val in [2000, 2090] | range" ng-model="selectedNepYear">
<option value="">Year</option>
</select>
</fieldset>
<a href="#" class="c_btn" data-role="button" data-icon="refresh" data-mini="true" data-theme="b" ng-click="BStoAD();">Convert</a>
</div>
</div>
</div>
<span class="author">@prashishh</span>
</div>
</div>
<!-- end of ng-controller - Nepali Calendar -->
</html>