forked from Gaduo/FHIRSampleCreator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
reporter.html
130 lines (95 loc) · 4.33 KB
/
reporter.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
<!DOCTYPE html>
<html>
<head lang="en">
<base href="/" />
<meta charset="UTF-8">
<script src="js/libs/angular.min1-5.js"></script>
<script src="js/libs/ui-bootstrap-tpls-1.2.5.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"/>
<script src="js/libs/angular-sanitize.js"></script>
<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/resourceSvc.js"></script>
<script src="js/services.js"></script>
<script src="js/resourceCreatorSvc.js"></script>
<script src="js/filters.js"></script>
<script src="js/documentBuilder.js"></script>
<script src="resourceBuilder/rbServices.js"></script>
<script src="js/reporterCtrl.js"></script>
<script src="js/libs/ngStorage.min.js"></script>
<script src="js/appConfigSvc.js"></script>
<script src="js/modalDialogSvc.js"></script>
<script src="js/profileCreatorSvc.js"></script>
<title>Reporter</title>
</head>
<body style="padding: 8px" >
<div ng-app="sampleApp" ng-controller="reporterCtrl" class="container-fluid">
<uib-tabset>
<uib-tab heading="Log">
<h3>Failed operations - Validate or Save, Profile creation</h3>
<br />
<div class="row">
<div class="col-md-3 col-sm-3">
<div class="row">
<div class="col-md-3 col-sm-3">
Email:
</div>
<div class="col-md-9 col-sm-9">
<select class="form-control" ng-model="input.email" ng-change="emailSelected()"
ng-options = "value.display for (key,value) in uniqueEmails" >
</select>
</div>
</div>
<br />
<div class="list-group">
<div class="list-group-item"
ng-repeat="error in errors " ng-if = "error.user.email == input.email.email || input.email.email == 'all'">
<div
style="cursor: pointer" ng-click="errorSelected(error)">
{{error.resource.resourceType}}
<div class="row">
<div class="col-md-12 col-sm-12">
<span class="pull-right">{{error.date | getAgeSeconds}}</span>
<div>{{error.date | date:'medium'}}</div>
</div>
</div>
{{error.user.email}}
</div>
</div>
</div>
</div>
<div class="col-md-9 col-sm-9">
<uib-tabset>
<uib-tab heading="All">
<pre ng-show="selectedError" >{{selectedError | json}}</pre>
</uib-tab>
<uib-tab heading="Resource">
<pre ng-show="selectedError" >{{selectedError.resource | json}}</pre>
</uib-tab>
<uib-tab heading="OperationOutcome">
<pre ng-show="selectedError" >{{selectedError.oo | json}}</pre>
</uib-tab>
<uib-tab heading="Meta">
<pre ng-show="selectedError" >{{selectedErrorMeta | json}}</pre>
</uib-tab>
</uib-tabset>
</div>
</div>
</uib-tab>
<uib-tab heading="Document Builder">
<div ng-controller="documentBuilderCtrl">
<ng-include src="'/includes/documentBuilder.html'"></ng-include>
</div>
</uib-tab>
</uib-tabset>
</div>
</body>
</html>