-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
77 lines (64 loc) · 3.31 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
<html ng-app="TallySheets">
<head>
<script src="include/angular-1.4.0/angular.min.js" type="text/javascript"> </script>
<script src="include/angular-1.4.0/angular-route.min.js" type="text/javascript"> </script>
<script src="include/angular-1.4.0/angular-resource.min.js" type="text/javascript"> </script>
<script src="include/angular-1.4.0/angular-translate.min.js" type="text/javascript"> </script>
<script src="include/angular-1.4.0/angular-translate-loader-static-files.min.js" type="text/javascript"> </script>
<script src="include/jquery-2.1.4/jquery-2.1.4.min.js" type="text/javascript"> </script>
<script src="include/jquery-ui-1.11.4/jquery-ui.js" type="text/javascript"> </script>
<script src="include/bootstrap-3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<script src="include/bootstrap-select/js/bootstrap-select.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="include/jquery-ui-1.11.4/jquery-ui.css">
<link rel="stylesheet" href="include/bootstrap-3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="include/bootstrap-select/css/bootstrap-select.min.css">
<script src="app.js" type="text/javascript"> </script>
<link href="app.css" rel="stylesheet">
<!-- Load directives and modules -->
<script src="directives/datasetSelector/datasetSelectorCtrl.js" type="text/javascript"></script>
<script src="directives/datasetForm/datasetFormCtrl.js" type="text/javascript"></script>
</head>
<body ng-controller="TallySheetsController">
<div id="mainMenu" class="panel panel-default hidden-print">
<div class="panel-body">
<span class="row">
<button onclick="window.print()" class="btn btn-primary hidden-print">{{ 'PRINT' | translate }}</button>
<button ng-click="exportToTable('tallysheetForm')" class="btn btn-success hidden-print">
{{ 'EXPORT_EXCEL' | translate}}</button>
<button id="homeBtn" ng-click="goHome()" class="btn btn-danger hidden-print">
<span class="glyphicon glyphicon-home"></span>
{{ 'HOME' | translate}}
</button>
</span>
<div class="row"><br></div>
<span class="row">
<label>{{ 'HEADERS' | translate }}</label> <input type="checkbox" ng-model="headers" aria-label="...">
</span>
<div class="row"><br></div>
<span class="row">
<span ng-repeat="(index,selector) in dsSelectorList">
<dataset-selector selector-id="selector.id" bind-to-dataset="selector.dataset"></dataset-selector>
<button ng-click="deleteDatesetSelector(index)" class="btn btn-default hidden-print">
<span class="glyphicon glyphicon-remove"></span>
</button>
</span>
<button ng-click="addDatasetSelector()" class="btn btn-primary btn-xs hidden-print">
{{ 'ADD_FORM' | translate }}
</button>
</span>
</div>
</div>
<br>
<span id="tallysheetForm">
<div ng-show="headers">
<h3><input type= "text" class="dsTitle" value="{{ 'FACILITY' | translate }}:"></h3>
<h3><input type= "text" class="dsTitle" value="{{ 'PERIOD' | translate }}:"></h3>
<label class="hidden"> </label> <!-- Blank line for excel export format -->
</div>
<span ng-repeat="(index,selector) in dsSelectorList">
<dataset-form ng-if="!!selector.dataset.id" dataset="selector.dataset"
selector-id="{{selector.id}}"></dataset-form>
</span>
</span>
</body>
</html>