1
|
<nav class="navbar navbar-default" role="navigation">
|
2
|
<div class="collapse navbar-collapse">
|
3
|
|
4
|
<div class="col-sm-3">
|
5
|
<a class="navbar-brand">{{group.entityType.label}}</a><a class="navbar-brand" ng-show="results.total > 0">{{results.total}}</a>
|
6
|
</div>
|
7
|
<ul class="nav navbar-nav col-sm-2">
|
8
|
<li role="presentation" class="active dropdown"><a
|
9
|
class="dropdown-toggle" data-toggle="dropdown" role="button"
|
10
|
aria-expanded="false"> Group <span class="badge">{{group.group.length}}</span>
|
11
|
<span class="caret"></span>
|
12
|
</a>
|
13
|
<ul class="dropdown-menu" role="menu">
|
14
|
<li><a data-toggle="modal" data-target="#showGroupModal">Show</a></li>
|
15
|
<li><a ng-click="resetForm()">Reset</a></li>
|
16
|
<li class="divider"></li>
|
17
|
<li><a ng-click="commit()">Commit</a></li>
|
18
|
</ul></li>
|
19
|
</ul>
|
20
|
|
21
|
<div class="col-sm-2 col-md-2">
|
22
|
<form class="navbar-form">
|
23
|
<button class="btn btn-info" ng-class="{disabled:start < 20}"
|
24
|
ng-click="go('/add/' + group.entityType.type + '/' + group.actionSet + '/' + query + '/' + (start-rows))">
|
25
|
« Pevious</button>
|
26
|
<button class="btn btn-info"
|
27
|
ng-class="{disabled:groups.length < rows}"
|
28
|
ng-click="go('/add/' + group.entityType.type + '/' + group.actionSet + '/' + query + '/' + (start+rows))">
|
29
|
Next »</button>
|
30
|
</form>
|
31
|
</div>
|
32
|
|
33
|
<div class="col-sm-5 col-md-5 pull-right">
|
34
|
<form class="navbar-form" role="search">
|
35
|
<div class="input-group">
|
36
|
<input type="text" class="form-control" placeholder="Search"
|
37
|
id="inputFreeSearch" ng-model="query">
|
38
|
<div class="input-group-btn">
|
39
|
<button class="btn btn-default"
|
40
|
ng-click="go('/add/' + group.entityType.type + '/' + group.actionSet + '/' + query + '/0')">
|
41
|
<i class="glyphicon glyphicon-search"></i>
|
42
|
</button>
|
43
|
</div>
|
44
|
</div>
|
45
|
</form>
|
46
|
</div>
|
47
|
</div>
|
48
|
</nav>
|
49
|
|
50
|
<div class="row">
|
51
|
|
52
|
<div class="col-xs-12" ng-show="results && results.results.length > 0">
|
53
|
|
54
|
<ng-dedup-records-table ng-show="group.entityType.type == 'result'"
|
55
|
theads="Group size,Title,Publication date,Abstract"
|
56
|
fields="groupSize,title,dateofacceptance,description"
|
57
|
results="results.results" group="group"
|
58
|
show-merged-fn="showRootModal" add-to-group-fn="add"
|
59
|
remove-from-group-fn="remove"></ng-dedup-records-table>
|
60
|
<ng-dedup-records-table
|
61
|
ng-show="group.entityType.type == 'organization'"
|
62
|
theads="Group size,Legal name,Legal short name,Website URL"
|
63
|
fields="groupSize,legalname,legalshortname,websiteurl"
|
64
|
results="results.results" group="group"
|
65
|
show-merged-fn="showRootModal" add-to-group-fn="add"
|
66
|
remove-from-group-fn="remove"></ng-dedup-records-table>
|
67
|
|
68
|
</div>
|
69
|
</div>
|
70
|
|
71
|
<div class="modal fade" id="showGroupModal">
|
72
|
<div class="modal-dialog modal-lg">
|
73
|
<div class="modal-content">
|
74
|
<div class="modal-header">
|
75
|
<button type="button" class="close" data-dismiss="modal"
|
76
|
aria-label="Close">
|
77
|
<span aria-hidden="true">×</span>
|
78
|
</button>
|
79
|
<h4 class="modal-title">Group {{group.entityType.label}}</h4>
|
80
|
</div>
|
81
|
<div class="modal-body" style="height: 500px; overflow-y: auto">
|
82
|
|
83
|
<div class="col-xs-12" ng-show="groupIdDetails">
|
84
|
|
85
|
<ng-dedup-records-table ng-show="group.entityType.type == 'result'"
|
86
|
theads="Group size,Title,Publication date,Abstract"
|
87
|
fields="groupSize,title,dateofacceptance,description"
|
88
|
results="group.detailList" group="group"
|
89
|
remove-from-group-and-deassociate-fn="removeAndDeassociate"></ng-dedup-records-table>
|
90
|
<ng-dedup-records-table
|
91
|
ng-show="group.entityType.type == 'organization'"
|
92
|
theads="Group size,Legal name,Legal short name,Website URL"
|
93
|
fields="groupSize,legalname,legalshortname,websiteurl"
|
94
|
results="group.detailList" group="group"
|
95
|
remove-from-group-and-deassociate-fn="removeAndDeassociate"></ng-dedup-records-table>
|
96
|
|
97
|
</div>
|
98
|
</div>
|
99
|
</div>
|
100
|
|
101
|
<div class="modal-footer">
|
102
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
103
|
</div>
|
104
|
</div>
|
105
|
</div>
|
106
|
|
107
|
|
108
|
|
109
|
<div class="modal fade" id="showRootModal">
|
110
|
<div class="modal-dialog modal-lg">
|
111
|
<div class="modal-content">
|
112
|
<div class="modal-header">
|
113
|
<button type="button" class="close" data-dismiss="modal"
|
114
|
aria-label="Close">
|
115
|
<span aria-hidden="true">×</span>
|
116
|
</button>
|
117
|
<h4 class="modal-title">Group {{group.entityType.label}}</h4>
|
118
|
</div>
|
119
|
<div class="modal-body" style="height: 500px; overflow-y: auto">
|
120
|
|
121
|
<div class="col-xs-12" ng-show="groupIdDetails">
|
122
|
|
123
|
<ng-dedup-records-table ng-show="group.entityType.type == 'result'"
|
124
|
theads="Group size,Title,Publication date,Authors,Abstract"
|
125
|
fields="groupSize,title,dateofacceptance,author,description"
|
126
|
results="groupIdDetails.list" group="group"></ng-dedup-records-table>
|
127
|
<ng-dedup-records-table
|
128
|
ng-show="group.entityType.type == 'organization'"
|
129
|
theads="Group size,Legal name,Legal short name,Website URL"
|
130
|
fields="groupSize,legalname,legalshortname,websiteurl"
|
131
|
results="groupIdDetails.list" group="group"></ng-dedup-records-table>
|
132
|
|
133
|
</div>
|
134
|
</div>
|
135
|
</div>
|
136
|
|
137
|
<div class="modal-footer">
|
138
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
139
|
</div>
|
140
|
</div>
|
141
|
</div>
|
142
|
|
143
|
|