-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
226 lines (205 loc) · 12 KB
/
index.html
File metadata and controls
226 lines (205 loc) · 12 KB
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>Report Survey</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/daterangepicker.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/highcharts.css" rel="stylesheet">
<style>
body {
display: none;
}
</style>
</head>
<body>
<div id="wrap">
<nav class="navbar navbar-default nav-style">
<div class="color-bar"></div>
<div class="container-fluid">
<div class="navbar-header col-md-10" style="float:left;">
<h1 class="title" onClick="location.reload(true);" style="cursor:pointer">Report</h1>
</div>
<div class="dropdown drop-div col-md-2" style="text-align:right;">
<i class="fa fa-sort-desc dropbtn" aria-hidden="true" onclick="dropdownLogOut()"></i>
<i class="fa fa-play fa-rotate-270 dropdown-content" aria-hidden="true" style="position: absolute;
bottom: -21px;display:none;color:#f9f9f9 ; right:20px;margin-bottom:4px;" id="myDropdownTri"></i>
<div id="myDropdown" class="dropdown-content dropdown-display">
<p onclick="logout()" style="text-align:left;">Log Out</p>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="row row-header">
<div class="col-md-6 calendar">
<div id="reportrange" class="date-picker">
<i class="fa fa-calendar"></i>
<span></span> <b class="caret"></b>
</div>
</div>
<div class="col-md-6 selector-form">
<div class="panel panel-default">
<div class="panel-heading">
<h3 style="font-weight:bold;color:#4BAEB6">
<span class="glyphicon glyphicon-pencil"></span> Select Form
</h3>
</div>
<form class="form-horizontal panel-body">
<fieldset id="formSelect">
<div class="form-group" style="margin-bottom:1em;margin-top:1em;">
<label for="emailFrom" class="col-lg-2 control-label">Form : </label>
<div class="col-lg-10 branch-style">
<select class="form-control" id="formbusiness" name="formbusiness" onchange="checkState()" autocomplete="off">
</select>
</div>
</div>
</fieldset>
<div class="col-md-10 filterBtnPanel" style="float:right;padding-left:0;">
<hr>
<button type="button" id="filterBtn" class="btn btn-primary btn-circle color-intensity-3" style="outline:none;" onclick="addFilter()"
type="button"><i class="fa fa-plus" aria-hidden="true"></i></button>
<label class="text-addfilter" for="filterBtn">Add Filter</label>
</div>
</form>
<div class="panel-footer" style="text-align:right;">
<button class="btn btn-success" id="buttonShow" onclick="model.fetchAPI(true)" disabled>Show</button>
<button class="btn btn-warning" onclick="view.display('clear')">Clear</button>
</div>
</div>
</div>
</div>
</div>
<!-- TOTAL PANEL-->
<div class="container margin-top-2" id="display-section-af-search" style="display:none;">
<!--Checkbox-->
<hr>
<div class="row margin-top-2">
<h3 class="text-center" id="showForm"><strong>Total Form : <b id="checknumber1"></b> form(s)</strong></h3>
<div class="col-md-12 margin-top-1 text-center">
<div class="checkbox checkbox-inline">
<input type="checkbox" id="inlineCheckbox1" value="complete" checked onchange="ctrl.getCheckbox(id)">
<label for="inlineCheckbox1"> Complete Form (<span id="checknumber2" class="label-title"></span>) </label>
</div>
<div class="checkbox checkbox-success checkbox-inline">
<input type="checkbox" id="inlineCheckbox2" value="incomplete" checked onchange="ctrl.getCheckbox(id)">
<label for="inlineCheckbox2"> Un-Complete Form (<span id="checknumber3" class="label-title"></span>) </label>
</div>
<div class="checkbox checkbox-inline">
<input type="checkbox" id="inlineCheckbox3" value="identify" checked onchange="ctrl.getCheckbox(id)">
<label for="inlineCheckbox3"> Identified Person (<span id="checknumber4" class="label-title"></span>) </label>
</div>
<div class="checkbox checkbox-inline">
<input type="checkbox" id="inlineCheckbox4" value="unidentid" checked onchange="ctrl.getCheckbox(id)">
<label for="inlineCheckbox4"> Un-Identified Person (<span id="checknumber5" class="label-title"></span>)</label>
</div>
</div>
</div>
</div>
<h2 id="error-display" class="error">
<hr style="margin-bottom:2em;"><b id="error-text">No Data Select </b></h2>
<div id="display-section" class="display-hide">
<div class="container margin-top-1">
<div class="row export-btn">
<div style="float:right">
<img src="img/pdf.png" width="30px" id="cmd" style="cursor:pointer;"
onclick="ctrl.exportPDF();" />
<a tabindex="0" role="button" id="excelDialog" style="outline:none;" data-toggle="popover" data-html="true" data-trigger="click">
<img src="img/excel.png" width="35px" style="cursor:pointer;"/>
</a>
</div>
</div>
<hr class="hr-print">
<!--Summary Graph-->
<div class="row margin-top-2">
<div class="col-md-8 summary-pane" style="padding:0;">
<div class="panel panel-default" style="height: 479px;border-radius: 4px 4px 0 0;margin-bottom:0;">
<div class="panel-heading" style="background:white;">
<h3 style="color:#4BAEB6" class="panel-text-title">
<i class="fa fa-bar-chart" aria-hidden="true" style="font-size:15px;"></i> Summary
<span class="flip-btn" onclick="flip('graphCard')">Switch View</span>
</h3>
</div>
<div class="panel-body flip">
<div class="card" id="graphCard">
<div class="face front" id="graph-face">
<div id="scoresummary" class="graph1" style="margin: 0 auto;min-width: 310px; max-width: 800px;"></div>
</div>
<div class="face back" id="graph-back">
<div id="scoresummaryshowavg" class="graph1" style="margin: 0 auto;min-width: 310px; max-width: 800px;"></div>
</div>
</div>
</div>
</div>
<div class="panel panel-default" style="height: 203px;border-top:none">
<section>
<div id="container2" style="min-width: 310px; max-width: 800px; height: 200px; margin: 0 auto;"></div>
</section>
</div>
</div>
<!--Progress-->
<div class="col-md-4 summary-pane">
<div class="panel panel-default progress-panel" style="height: 682px;">
<div class="panel-heading" style="background:white;">
<h3 style="color:#4BAEB6" class="panel-text-title">
<span style="font-size:15px;" class="glyphicon glyphicon-blackboard" aria-hidden="true"></span> Score
<span class="flip-btn" onclick="flip('scoreCard')">Switch View</span>
</h3>
</div>
<!--onclick="switchViewProg()"-->
<div class="panel-body flip" style="height: calc(100% - 47px);overflow-y: auto;">
<h4 style="font-size:25px;"><b><u>คะแนนรวม</u></b></h4>
<div class="card" id="scoreCard">
<div class="face front" id="score-face">
<div class="form-group" id="summary-progress">
</div>
<div class="col-md-12" id="progress-question">
<!-- Dynamic Add Progress Question Here-->
</div>
</div>
<div class="face back" id="score-back">
<!-- MAX5 -->
<div class="form-group" id="summary-progress-max5">
</div>
<div class="col-md-12" id="progress-question-max5">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- DISPLAY -->
<!--- "-fluid" if want full width of container -->
<div class="container margin-top-1" style="padding-right:30px" id="question-all">
</div>
</div>
<div id="blackdrop">
<i class="fa fa-spinner fa-spin fa-3x fa-fw loading-animate"></i>
<span class="sr-only">Loading...</span>
</div>
<!--Scroll to Top-->
<button class="scroll btn btn-warning btn-circle btn-lg" onclick="scrollToTop()" style="outline:none">
<i class="fa fa-4x fa-angle-up "></i>
</button>
</div>
<div id="footer">
<p> © Copyright 2017 — Whiteline Tech</p>
<div>
</body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/moment.min.js"></script>
<script type="text/javascript" src="js/daterangepicker.js"></script>
<script type="text/javascript" src="js/highcharts.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</html>