ca-view.html
9.91 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
<div class="bodyWrap row no-scroll">
<div ng-include="'app/widget/MainMenu.html'" />
<div class="main" ng-init="loadAIModuleById(5)">
<div class="col-sm-12 stickey-area clsstickydiv" style="padding-left:25px; width:100%">
<div class="breadcrumb" style="display:none">
<div class="row center-block">
<h5 class="text-center text-primary txt-white f15">Display Animation By</h5>
<div class="col-md-3 col-lg-2 col-lg-offset-1 col-sm-3 pad-lftrgt3">
<div class="form-group">
<h6 class="text-center text-primary txt-white f11">Body Region</h6>
<select class="form-control input-sm" ng-change="hideListViewDiv()" ng-model="query.selectedbodyregion" ng-options="item for item in CAAllBodyRegion track by item">
<option value="">All</option>
</select>
</div>
</div>
<div class="col-md-3 col-lg-2 col-sm-3 pad-lftrgt3">
<div class="form-group">
<h6 class="text-center text-primary txt-white f11">Body System</h6>
<select class="form-control input-sm" ng-change="hideListViewDiv()" ng-model="query.selectedbodysystem" ng-options="item for item in CAAllBodySystem track by item">
<option value="">All</option>
</select>
</div>
</div>
<div class="col-md-3 col-lg-2 col-sm-3 pad-lftrgt3">
<div class="form-group">
<h6 class="text-center text-primary txt-white f11">Medical Specialty</h6>
<select class="form-control input-sm" ng-change="hideListViewDiv()" ng-model="query.selectedspecialty" ng-options="item for item in CAAllSpeciality track by item">
<option value="">All</option>
</select>
</div>
</div>
<div class="col-md-3 col-lg-2 col-sm-3 pad-lftrgt3">
<div class="form-group">
<div class="col-xs-12" style="padding:0;">
<div class="col-xs-5" style="padding:0 2px 0 0;">
<h6 class="text-center text-primary txt-white f11">Search</h6>
<button type="button" class="btn btn-primary btn-sm col-xs-12" ng-click="ApplySearch(query)">
<i class="fa fa-search"></i>
</button>
</div>
<div class="col-xs-7" style="padding:0;">
<h6 class="text-center text-primary txt-white f11" style="padding:0;">Show All</h6>
<button type="button" class="btn btn-primary btn-sm col-xs-12" ng-click="Reset(query)"><i class="fa fa-eye"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row tab-content" style="display:none">
<div class="customTable" role="tabpanel" class="tab-pane active" id="grid-view">
</div>
<div class="customTable" role="tabpanel" id="list-view">
<div class="panel col-sm-12 table-responsive">
<table class="table table-hover table-fixed bg-white table-txt12">
<thead class="clsthead">
<tr class="active" style="background:#f5f5f5;">
<th width="20%">Title</th>
<th width="25%">Region</th>
<th width="20%">System</th>
<th width="25%">Specialty</th>
<th ng-if="islinkActive" width="10%"></th>
</tr>
</thead>
<tbody id="ListViewDiv" ng-if="!filterstring" class="clstbody">
<tr id="{{item._id}}" ng-class="{selected: item._id === idSelected}" ng-click="showItem(item._id)" ng-dblclick="openView($event)" ng-repeat="item in selectedCAListViewData">
<td width="20%">
{{item._Title}}
</td>
<td width="25%">
{{item._BodyRegion}}
</td>
<td width="20%">
{{item._BodySystem}}
</td>
<td width="25%">
{{item._MedicalSpecialty}}
</td>
<td ng-if="islinkActive" width="10%">
<div class="tooltipbtn" style="padding:0px !important">
<button id="copylistbtn_{{item._id}}" data-clipboard-text="{{item.copyLink}}" onclick="copylistbtnclick(event)" style="float:right;font-size:11px" >copy embed link</button>
<span id="spnlist_{{item._id}}" class="tooltiptext"></span></div>
</td>
</tr>
</tbody>
<tbody id="ListViewDiv" ng-if="filterstring" class="clstbody">
<tr ng-click="showItem(item._id)" ng-class="{selected: item._id === idSelected}" ng-dblclick="openView($event)" ng-repeat="item in searchCAListViewData">
<td width="20%">
{{item._Title}}
</td>
<td width="25%">
{{item._BodyRegion}}
</td>
<td width="20%">
{{item._BodySystem}}
</td>
<td width="25%">
{{item._MedicalSpecialty}}
</td>
<td ng-if="islinkActive" width="10%">
<div class="tooltipbtn" style="padding:0px !important">
<button id="copylistbtn_{{item._id}}" data-clipboard-text="{{item.copyLink}}" onclick="copylistbtnclick(event)" style="float:right;font-size:11px" >copy embed link</button>
<span id="spnlist_{{item._id}}" class="tooltiptext"></span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12 text-center" ng-show="hiderow" style="padding: 0px 18px 0px 24px;">
<div class="row well" style="margin-bottom: 0px;padding:4px;height:178px">
<div title="{{SelectedCATitle}}" class="col-sm-3 col-lg-2 no-padding">
<div class="thumbnail no-margin">
<img id="{{SelectedCAId}}" src="{{SelectedCAthumbImage}}" alt="" title="{{SelectedCATitle}}" data-ng-click="openView($event)" style="height:160px">
</div>
</div>
<div class="col-sm-9 col-lg-10" style="padding-left:10px;">
<div align="left" style="height:135px;overflow-y:scroll !important;padding-left: 20px; -webkit-overflow-scrolling:touch !important;">
<p ng-bind-html="SelectedCASummary"></p>
</div>
<button id="{{SelectedCAId}}" type="button" class="btn btn-primary btn-sm pull-right" data-ng-click="openView($event)" style="font-size: 14px;">Open</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 3. Instantiate clipboard -->
<style>
.tooltipbtn {
position: relative;
}
.tooltipbtn .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -50px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltipbtn .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
</style>