-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
148 lines (115 loc) · 6.89 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html ng-app="appModule">
<head>
<title>HMIS Dictionary</title>
<!-- dependencies: jQuery -->
<script src="bower_components/jquery/jquery.min.js"> </script>
<!-- dependencies: Bootstrap -->
<script src="bower_components/bootstrap/js/bootstrap.min.js"> </script>
<link href="bower_components/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet" media="all">
<link href="bower_components/bootstrap-vertical-tabs/bootstrap.vertical-tabs.css" type="text/css" rel="stylesheet" media="all">
<!-- dependencies: Angular -->
<script src="bower_components/angular/angular.min.js"> </script>
<script src="bower_components/angular-resource/angular-resource.min.js"> </script>
<script src="bower_components/angular-sanitize/angular-sanitize.min.js"> </script>
<script src="bower_components/angular-table/ng-table.min.js"> </script>
<link href="bower_components/angular-table/ng-table.min.css" type="text/css" rel="stylesheet" media="all">
<script src="bower_components/angular-translate/angular-translate.min.js"> </script>
<script src="bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js"></script>
<script src="bower_components/angular-ui-bootstrap/ui-bootstrap-tpls-2.3.0.min.js"> </script>
<script src="bower_components/angular-ui-router/angular-ui-router.min.js"> </script>
<!-- dependencies: graph module # currently not used -->
<!--<script src="bower_components/angucomplete-alt/angucomplete-alt.min.js"> </script>
<link href="bower_components/angucomplete-alt/angucomplete-alt.css" type="text/css" rel="stylesheet" media="all">
<script src="bower_components/d3/d3.min.js"> </script>-->
<!-- dependencies: TinyMCE -->
<script src="bower_components/tinymce/tinymce.min.js"> </script>
<script src="bower_components/angular-ui-tinymce/tinymce.min.js"> </script>
<!-- app: core -->
<script src="app/app.config.js"> </script>
<script src="app/app.services.js"> </script>
<script src="app/app.controllers.js"> </script>
<link href="assets/fonts/rajdhani.css" type="text/css" rel="stylesheet">
<link href="app/app.css.css" type="text/css" rel="stylesheet" media="all">
<!-- app: module-dossiers -->
<script src="app/dossiers/dossiers.services.js"> </script>
<script src="app/dossiers/dossiers.controllers.js"> </script>
<!-- app: module-dossiersEditor -->
<script src="app/dossiersEditor/dossiersEditor.services.js"> </script>
<script src="app/dossiersEditor/dossiersEditor.controllers.js"> </script>
<!-- app: module-dossiersReader -->
<link href="app/dossiersReader/dossiersReader.css.css" type="text/css" rel="stylesheet" media="all">
<script src="app/dossiersReader/dossiersReader.services.js"> </script>
<script src="app/dossiersReader/dossiersReader.controllers.js"> </script>
<!-- app: module-search -->
<link href="app/search/search.css.css" type="text/css" rel="stylesheet" media="all">
<script src="app/search/search.filters.js"> </script>
<script src="app/search/search.services.js"> </script>
<script src="app/search/search.controllers.js"> </script>
<!-- app: module-admin # currently not used -->
<link href="app/admin/admin.css.css" type="text/css" rel="stylesheet" media="all">
<script src="app/admin/admin.services.js"> </script>
<script src="app/admin/admin.controllers.js"> </script>
<!-- app: module-graph # currently not used -->
<!--<link href="app/graph/graph.css.css" type="text/css" rel="stylesheet" media="all">
<script src="app/graph/graph.controllers.js"> </script>-->
</head>
<body class="container-fluid">
<div ng-controller="appSharedController">
<!-- app: header menu -->
<div id="header">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- DHIS2 Settings initialization for a baseUrl that is used for the menu -->
<script>
window.dhis2 = window.dhis2 || {};
dhis2.settings = dhis2.settings || {};
var dhisroot = window.location.href.split('/api/')[0];
var dhisrootArr = dhisroot.split('/');
console.log("index.html: Prefix: "+ dhisrootArr[3]);
if(dhisrootArr.length >= 4){
dhis2.settings.baseUrl = dhisrootArr[3];
}else {
dhis2.settings.baseUrl = '';
}
</script>
<!-- Menu scripts -->
<script src="../../../dhis-web-commons/javascripts/dhis2/dhis2.translate.js"></script>
<script src="../../../dhis-web-commons/javascripts/dhis2/dhis2.menu.js"> </script>
<script src="../../../dhis-web-commons/javascripts/dhis2/dhis2.menu.ui.js"> </script>
<!-- Stylesheets related to the menu -->
<link href="../../../dhis-web-commons/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet">
<link href="../../../dhis-web-commons/css/menu.css" type="text/css" rel="stylesheet" media="screen">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<div class="col-xs-4">
<img id="header-banner" src="assets/img/logo_banner.png" style="cursor:pointer" title="View home page" onclick="window.location.href='../../../'">
<!-- HARDCODED -->
<span id="header-text" style="cursor:pointer" title="View home page" onclick="window.location.href='../../../'">HMIS Dictionary</span>
</div>
<div class="col-xs-8">
<div class="col-xs-11" d2-menu>
</div>
<div class="col-xs-1 pull-right">
<button disabled="disabled" type="button" onclick="javascript:window.print()" class="btn btn-link btn-lg printButton">
<span aria-hidden="true" class="glyphicon glyphicon-print"></span>
</button>
</div>
</div>
</div>
<!-- app: lateral menu -->
<ul id="menu-container" class="nav nav-tabs tabs-left sideways" onclick="tabSwitch()" role="tablist" >
<li id="dossiers" class="active" role="presentation" style="margin-top:48px;"><a href="#dossiers" data-toggle="tab">{{'idx_Dossiers' | translate}}</a></li>
<li id="search" role="presentation"><a href="#search" data-toggle="tab">{{'idx_Search' | translate}}</a></li>
<li id="admin" ng-show="show_admin" role="presentation"><a href="#admin" data-toggle="tab">{{'idx_Admin' | translate}}</a></li>
<!--<li id="graph" role="presentation"><a href="#graph" data-toggle="tab">{{'idx_Graph' | translate}}</a></li> -->
</ul>
<div id="menu-background"></div>
<!-- app: view-container -->
<div id="view-container">
<div ui-view class="view-frame"></div>
</div>
</div>
<!-- print: footer - nb: works only properly in firefox -->
<div id="print-foot"></div>
<div class="loading"></div>
</body>
</html>