forked from Gaduo/FHIRSampleCreator
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathproject.html
173 lines (117 loc) · 4.7 KB
/
project.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="js/libs/jquery-1.9.0.min.js"></script>
<script src="js/libs/angular.min1-5.js"></script>
<script src="js/libs/ui-bootstrap-tpls-2.0.1.min.js"></script>
<script src="js/libs/moment.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<title>clinFHIR Project</title>
<style>/*https://css-tricks.com/snippets/css/css-box-shadow/*/
.myBox {
margin-top: 10px;
box-shadow: 0 0 8px black;
padding:12px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.clickableDEP {
color: rgb(79, 155, 214);
cursor: pointer;
}
.pass {
color:green;
}
.fail {
color:red;
}
</style>
<script>
angular.module("sampleApp",['ui.bootstrap','ngStorage']).config(function($locationProvider) {
// enable html5Mode for pushstate ('#'-less URLs)
$locationProvider.html5Mode(true);
$locationProvider.hashPrefix('!');
});
angular.module("sampleApp").constant("moment", moment);
</script>
<script src="js/projectCtl.js"></script>
<script src="js/projectSvc.js"></script>
<script src="js/filters.js"></script>
<script src="js/libs/ngStorage.min.js"></script>
<!--
<script src="js/appConfigSvc.js"></script>
<script src="js/setServers.js"></script>
<script src="js/libs/ngStorage.min.js"></script>
<script src="js/modalDialogSvc.js"></script>
<script src="resourceBuilder/rbServices.js"></script>
<script src="js/logicalModelSvc.js"></script>
<script src="js/loginCtrl.js"></script>
-->
</head>
<body style="padding: 8px;padding-top: 80px">
<div ng-app="sampleApp" ng-controller="projectCtrl" class="container-fluid" ng-cloak>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="col-md-8 col-sm-8">
<a class="navbar-brand" href="#">clinFHIR Project</a>
</div>
<div class="col-md-2 col-sm-2">
<div class="navbar-text pull-right">
</div>
</div>
<div class="col-md-1 col-sm-1">
</div>
<div class="col-md-1 col-sm-1">
<ul class="nav navbar-nav navbar-right" ng-hide="waiting">
<li uib-dropdown>
<a href="#" uib-dropdown-toggle>
<span style="font-size:2em; cursor: pointer">
<i class="glyphicon glyphicon-cog"></i>
</span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#" ng-click="showChart()" ng-hide="displayMode=='access'"
uib-popover="Show how many people are using clinFHIR"
popover-placement="left"
popover-trigger="'mouseenter'">Access statistics</a>
</li>
<li>
<a href="#" ng-click="displayMode = 'front'" ng-hide="displayMode=='front'"
uib-popover="Show the main Launcher screen"
popover-placement="left"
popover-trigger="'mouseenter'">Launcher</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="row">
<div class="col-sm-3 col-md-3">
<div ng-show="status.status=='notloggedin'">
<button class="btn btn-primary" ng-click="login()">Login</button>
</div>
<div ng-show="status.status=='loggedin'">
<button class="btn btn-primary" ng-click="test()">Test</button>
<button class="btn btn-primary" ng-click="refresh()">Refresh</button>
<a href="logicalModeller.html#$$$">Launch modeler</a>
</div>
<div class="alert alert-info" ng-show="status == 'loggingIn'">
Getting information from server...
</div>
</div>
<div class="col-sm-9 col-md-9">
<table class="table table-bordered">
<tr ng-repeat="entry in modelsBundle.entry">
<td>{{entry.resource.name}}</td>
<td><button class="btn btn-link" ng-click="loadModel(entry)">View</button> </td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>