Revision 62958
Added by Michele Artini 11 months ago
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
<parent> |
|
4 |
<groupId>eu.dnetlib</groupId> |
|
5 |
<artifactId>dnet45-parent</artifactId> |
|
6 |
<version>1.0.0</version> |
|
7 |
</parent> |
|
8 |
<modelVersion>4.0.0</modelVersion> |
|
9 |
<groupId>eu.dnetlib</groupId> |
|
10 |
<artifactId>dnet-modular-repositories-ui</artifactId> |
|
11 |
<packaging>jar</packaging> |
|
12 |
<version>5.1.0</version> |
|
13 |
<scm> |
|
14 |
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0</developerConnection> |
|
15 |
</scm> |
|
16 |
<dependencies> |
|
17 |
<dependency> |
|
18 |
<groupId>eu.dnetlib</groupId> |
|
19 |
<artifactId>dnet-modular-ui</artifactId> |
|
20 |
<version>[3.0.0,4.0.0)</version> |
|
21 |
</dependency> |
|
22 |
<dependency> |
|
23 |
<groupId>eu.dnetlib</groupId> |
|
24 |
<artifactId>dnet-modular-workflows-ui</artifactId> |
|
25 |
<version>[5.0.0,6.0.0)</version> |
|
26 |
</dependency> |
|
27 |
<dependency> |
|
28 |
<groupId>eu.dnetlib</groupId> |
|
29 |
<artifactId>dnet-openaire-datasource-manager</artifactId> |
|
30 |
<version>[2.1.0,3.0.0)</version> |
|
31 |
</dependency> |
|
32 |
<dependency> |
|
33 |
<groupId>junit</groupId> |
|
34 |
<artifactId>junit</artifactId> |
|
35 |
<version>${junit.version}</version> |
|
36 |
<scope>test</scope> |
|
37 |
</dependency> |
|
38 |
<dependency> |
|
39 |
<groupId>javax.servlet</groupId> |
|
40 |
<artifactId>javax.servlet-api</artifactId> |
|
41 |
<version>${javax.servlet.version}</version> |
|
42 |
<scope>provided</scope> |
|
43 |
</dependency> |
|
44 |
</dependencies> |
|
45 |
|
|
46 |
<properties> |
|
47 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
48 |
</properties> |
|
49 |
|
|
50 |
</project> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/repoList.html | ||
---|---|---|
1 |
<div class="row"> |
|
2 |
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
|
3 |
<span style="font-size: 16px"><b>Results of query</b>: <i>{{currentApiSelectionValue}}</i></span> |
|
4 |
</div> |
|
5 |
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
|
6 |
<form class="form-inline pull-right" role="form"> |
|
7 |
<div class="form-group"> |
|
8 |
<label class="sr-only" for="apiFilter">Filter...</label> |
|
9 |
<input type="text" class="form-control input-sm" id="apiFilter" ng-model="filterApis" placeholder="Filter..." /> |
|
10 |
</div> |
|
11 |
<button ng-click="updateApis(true)" class="btn btn-sm btn-default" type="button"><span class="glyphicon glyphicon-refresh"></span></button> |
|
12 |
<button ng-click="go('#')" class="btn btn-sm btn-default" type="button">back</button> |
|
13 |
</form> |
|
14 |
</div> |
|
15 |
</div> |
|
16 |
|
|
17 |
<div class="row" style="margin-top: 20px"> |
|
18 |
<div class="col-xs-12"> |
|
19 |
<table class="table table-condensed table-striped"> |
|
20 |
<thead> |
|
21 |
<tr> |
|
22 |
<th class="col-xs-2"> |
|
23 |
<a href="javascript:void(0)" ng-click="sortType = 'repoName'; sortReverse = !sortReverse"> |
|
24 |
Datasource Api |
|
25 |
<span ng-show="sortType == 'repoName' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
26 |
<span ng-show="sortType == 'repoName' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
27 |
</a> |
|
28 |
</th> |
|
29 |
<th class="col-xs-1 text-center"> |
|
30 |
<a href="javascript:void(0)" ng-click="sortType = 'compliance'; sortReverse = !sortReverse"> |
|
31 |
Compatibility |
|
32 |
<span ng-show="sortType == 'compliance' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
33 |
<span ng-show="sortType == 'compliance' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
34 |
</a> |
|
35 |
</th> |
|
36 |
<th class="col-xs-1 text-center"> |
|
37 |
<a href="javascript:void(0)" ng-click="sortType = 'repoCountry'; sortReverse = !sortReverse"> |
|
38 |
Country |
|
39 |
<span ng-show="sortType == 'repoCountry' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
40 |
<span ng-show="sortType == 'repoCountry' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
41 |
</a> |
|
42 |
</th> |
|
43 |
<th class="col-xs-1 text-center"> |
|
44 |
<a href="javascript:void(0)" ng-click="sortType = 'repoPrefix'; sortReverse = !sortReverse"> |
|
45 |
Namespace Prefix |
|
46 |
<span ng-show="sortType == 'repoPrefix' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
47 |
<span ng-show="sortType == 'repoPrefix' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
48 |
</a> |
|
49 |
</th> |
|
50 |
<th class="col-xs-1 text-center"> |
|
51 |
<a href="javascript:void(0)" ng-click="sortType = 'protocol'; sortReverse = !sortReverse"> |
|
52 |
Protocol |
|
53 |
<span ng-show="sortType == 'protocol' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
54 |
<span ng-show="sortType == 'protocol' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
55 |
</a> |
|
56 |
</th> |
|
57 |
<th class="col-xs-1 text-center"> |
|
58 |
<a href="javascript:void(0)" ng-click="sortType = 'collDate'; sortReverse = !sortReverse"> |
|
59 |
Last Collection Date |
|
60 |
<span ng-show="sortType == 'collDate' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
61 |
<span ng-show="sortType == 'collDate' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
62 |
</a> |
|
63 |
</th> |
|
64 |
<th class="col-xs-1 text-center"> |
|
65 |
<a href="javascript:void(0)" ng-click="sortType = 'collBackend'; sortReverse = !sortReverse"> |
|
66 |
Last Collection Backend |
|
67 |
<span ng-show="sortType == 'collBackend' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
68 |
<span ng-show="sortType == 'collBackend' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
69 |
</a> |
|
70 |
</th> |
|
71 |
<th class="col-xs-1 text-right"> |
|
72 |
<a href="javascript:void(0)" ng-click="sortType = 'collTotal'; sortReverse = !sortReverse"> |
|
73 |
Last Collection Total |
|
74 |
<span ng-show="sortType == 'collTotal' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
75 |
<span ng-show="sortType == 'collTotal' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
76 |
</a> |
|
77 |
</th> |
|
78 |
<th class="col-xs-1 text-center"> |
|
79 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrDate'; sortReverse = !sortReverse"> |
|
80 |
Last Aggregation Date |
|
81 |
<span ng-show="sortType == 'aggrDate' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
82 |
<span ng-show="sortType == 'aggrDate' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
83 |
</a> |
|
84 |
</th> |
|
85 |
<th class="col-xs-1 text-center"> |
|
86 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrBackend'; sortReverse = !sortReverse"> |
|
87 |
Last Aggregation Backend |
|
88 |
<span ng-show="sortType == 'aggrBackend' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
89 |
<span ng-show="sortType == 'aggrBackend' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
90 |
</a> |
|
91 |
</th> |
|
92 |
<th class="col-xs-1 text-right"> |
|
93 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrTotal'; sortReverse = !sortReverse"> |
|
94 |
Last Aggregation Total |
|
95 |
<span ng-show="sortType == 'aggrTotal' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
96 |
<span ng-show="sortType == 'aggrTotal' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
97 |
</a> |
|
98 |
</th> |
|
99 |
</tr> |
|
100 |
</thead> |
|
101 |
<tbody> |
|
102 |
<tr ng-repeat="api in apis | orderBy:sortType:sortReverse | filter:filterApis"> |
|
103 |
<td> |
|
104 |
<a href="#/api/{{api.repoId}}/{{api.id}}/ALL/ALL" ng-hide="m.deleting"> |
|
105 |
{{api.repoName}} ({{api.id.substr(api.id.lastIndexOf('::') + 2)}}) |
|
106 |
</a> |
|
107 |
</td> |
|
108 |
<td class="text-center"> |
|
109 |
<span class="label" ng-class="{'label-danger': !api.active, 'label-success': api.active}" style="width: 100px; display: inline-block; padding: 3px;"> |
|
110 |
{{api.compliance}} |
|
111 |
</span> |
|
112 |
</td> |
|
113 |
<td class="text-center"><img ng-src="../resources/img/flags/{{api.repoCountry}}.gif" /> {{api.repoCountry}}</td> |
|
114 |
<td class="text-center">{{api.repoPrefix}}</td> |
|
115 |
<td class="text-center">{{api.protocol}}</td> |
|
116 |
<td class="text-center"> |
|
117 |
<span ng-show="api.collDate">{{api.collDate | date:'yyyy-MM-dd HH:mm:ss'}}</span> |
|
118 |
<span ng-hide="api.collDate"><i>not yet available</i></span> |
|
119 |
</td> |
|
120 |
<td class="text-center"> |
|
121 |
<span class="label label-info" style="width: 100px; display: inline-block; padding: 3px;" ng-show="api.collBackend">{{api.collBackend}}</span> |
|
122 |
</td> |
|
123 |
<td class="text-right" ng-class="{'text-success' : api.collTotal > 0, 'text-danger' : api.collTotal == 0}">{{api.collTotal}}</td> |
|
124 |
<td class="text-center"> |
|
125 |
<span ng-show="api.aggrDate">{{api.aggrDate | date:'yyyy-MM-dd HH:mm:ss'}}</span> |
|
126 |
<span ng-hide="api.aggrDate"><i>not yet available</i></span> |
|
127 |
</td> |
|
128 |
<td class="text-center"> |
|
129 |
<span class="label label-info" style="width: 100px; display: inline-block; padding: 3px;" ng-show="api.aggrBackend">{{api.aggrBackend}}</span> |
|
130 |
</td> |
|
131 |
<td class="text-right" ng-class="{'text-success' : api.aggrTotal > 0, 'text-danger' : api.aggrTotal == 0}">{{api.aggrTotal}}</td> |
|
132 |
</tr> |
|
133 |
</tbody> |
|
134 |
</table> |
|
135 |
</div> |
|
136 |
</div> |
|
137 |
|
|
138 |
|
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/ngApiMdstoreInfo.html | ||
---|---|---|
1 |
<div ng-class="{'input-group': id && syncButtonLabel}"> |
|
2 |
<div class="form-control"> |
|
3 |
<b>{{label}}:</b> |
|
4 |
<span ng-show="date"> |
|
5 |
{{date | date:'yyyy-MM-dd HH:mm:ss'}} |
|
6 |
</span> |
|
7 |
<span ng-hide="date"> |
|
8 |
<i>not yet available</i> |
|
9 |
</span> |
|
10 |
<div class="pull-right"> |
|
11 |
<span ng-hide="id" ng-class="{'text-success' : total > 0, 'text-danger' : total == 0}"> |
|
12 |
<b>Total:</b> {{total}} |
|
13 |
</span> |
|
14 |
<a ng-show="id" href="../inspector/mdstore.do?id={{id}}"><b>Total:</b> {{total}}</a> |
|
15 |
|
|
16 |
<span class="label label-info" ng-show="backend">{{backend}}</span> |
|
17 |
</div> |
|
18 |
</div> |
|
19 |
<span class="input-group-btn" ng-if="id && syncButtonLabel"> |
|
20 |
<button class="btn btn-default" ng-click="syncFunction()">{{syncButtonLabel}}</button> |
|
21 |
</span> |
|
22 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/repoBrowse.html | ||
---|---|---|
1 |
<div class="row"> |
|
2 |
<div class="col-xs-12 col-sm-12 col-md-offset-3 col-md-6 col-lg-offset-4 col-lg-4"> |
|
3 |
<form> |
|
4 |
<div class="input-group"> |
|
5 |
<input type="text" class="form-control" id="apiSearch" ng-model="textApiSearch" placeholder="Search..."/> |
|
6 |
<span class="input-group-btn"> |
|
7 |
<button type="submit" class="btn btn-default" ng-click="searchApis(textApiSearch)">Search</button> |
|
8 |
</span> |
|
9 |
</div> |
|
10 |
</form> |
|
11 |
</div> |
|
12 |
</div> |
|
13 |
<br /><br /> |
|
14 |
<div class="row"> |
|
15 |
<div class="col-xs-12 col-sm-12 col-md-offset-3 col-md-6 col-lg-offset-4 col-lg-4"> |
|
16 |
<p><b>Or browse using:</b> |
|
17 |
<ul> |
|
18 |
<li ng-repeat="f in repoBrowseFields"> |
|
19 |
<a href="javascript:void(0)" ng-click="browseRepoField(f)">{{f.label}}</a> |
|
20 |
</li> |
|
21 |
</ul> |
|
22 |
</p> |
|
23 |
</div> |
|
24 |
</div> |
|
25 |
|
|
26 |
<div id="showRepoBrowseData" class="modal fade" tabindex="-1" role="dialog"> |
|
27 |
<div class="modal-dialog modal-lg"> |
|
28 |
<div class="modal-content"> |
|
29 |
<div class="modal-header"> |
|
30 |
<button type="button" class="close" data-dismiss="modal">×</button> |
|
31 |
<h4 class="modal-title">{{repoBrowseData.label}}</h4> |
|
32 |
</div> |
|
33 |
<div class="modal-body"> |
|
34 |
<div class="row"> |
|
35 |
<div class="col-xs-12 col-md-offset-8 col-md-4"> |
|
36 |
<input type="text" class="form-control input-sm" ng-model="filterBrowseData" placeholder="Filter..." /> |
|
37 |
</div> |
|
38 |
</div> |
|
39 |
<div class="well small" style="margin-top: 10px"> |
|
40 |
<table class="table table-condensed table-striped"> |
|
41 |
<thead> |
|
42 |
<tr> |
|
43 |
<th> |
|
44 |
<a href="javascript:void(0)" ng-click="sortType = 'term'; sortReverse = !sortReverse"> |
|
45 |
Name |
|
46 |
<span ng-show="sortType == 'term' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
47 |
<span ng-show="sortType == 'term' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
48 |
</a> |
|
49 |
</th> |
|
50 |
<th class="text-right"> |
|
51 |
<a href="javascript:void(0)" ng-click="sortType = 'total'; sortReverse = !sortReverse"> |
|
52 |
# datasources |
|
53 |
<span ng-show="sortType == 'total' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
54 |
<span ng-show="sortType == 'total' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
55 |
</a> |
|
56 |
</th> |
|
57 |
</tr> |
|
58 |
</thead> |
|
59 |
<tbody> |
|
60 |
<tr ng-repeat="row in repoBrowseData.data | orderBy:sortType:sortReverse | filter:filterBrowseData"> |
|
61 |
<td><a href="javascript:void(0)" ng-click="browseApis(repoBrowseData.id,row.term)">{{row.term}}</a></td> |
|
62 |
<td class="text-right">{{row.total}}</td> |
|
63 |
</tr> |
|
64 |
</tbody> |
|
65 |
</table> |
|
66 |
</div> |
|
67 |
</div> |
|
68 |
<div class="modal-footer"> |
|
69 |
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
|
70 |
</div> |
|
71 |
</div> |
|
72 |
</div> |
|
73 |
</div> |
|
74 |
|
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/ngApiObjectstoreInfo.html | ||
---|---|---|
1 |
<div class="form-control" ng-show="id"> |
|
2 |
<b>{{label}}:</b> |
|
3 |
<span ng-show="date"> |
|
4 |
{{date | date:'yyyy-MM-dd HH:mm:ss'}} |
|
5 |
</span> |
|
6 |
<span ng-hide="date"> |
|
7 |
<i>not yet available</i> |
|
8 |
</span> |
|
9 |
<span class="pull-right"> |
|
10 |
<span ng-hide="id" ng-class="{'text-success' : total > 0, 'text-danger' : total == 0}"> |
|
11 |
<b>Total:</b> {{total}} |
|
12 |
</span> |
|
13 |
<a ng-show="id" href="objectstoreInspector.do#/inspect.do/{{id}}"> |
|
14 |
<b>Total:</b> {{total}} |
|
15 |
</a> |
|
16 |
</span> |
|
17 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngSelectRepoField.html | ||
---|---|---|
1 |
<div class="form-group"> |
|
2 |
<label for="selectRepo" class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<select id="selectRepo" chosen class="form-control" ng-model="selection" ng-options="repo.name for repo in repositories" data-placeholder="Choose a datasource..."> |
|
5 |
<option></option> |
|
6 |
</select> |
|
7 |
</div> |
|
8 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngSelectVocabularyField.html | ||
---|---|---|
1 |
<div class="form-group" bs-has-error> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<select class="form-control" ng-model="selection" ng-required="required" ng-minlength="1"> |
|
5 |
<option></option> |
|
6 |
<option value="{{term.name}}" ng-repeat="term in vocabulary">{{term | vocabularyTerm}}</option> |
|
7 |
</select> |
|
8 |
<span class="glyphicon form-control-feedback" style="margin-right: 20px"></span> |
|
9 |
</div> |
|
10 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngSimpleSelectField.html | ||
---|---|---|
1 |
<div class="form-group" bs-has-error> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<select class="form-control" ng-model="selection" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}"> |
|
5 |
<option></option> |
|
6 |
<option ng-repeat="term in validValues" value="{{term.id}}">{{term.id}} (Name: {{term.name}})</option> |
|
7 |
</select> |
|
8 |
<span class="glyphicon form-control-feedback" style="margin-right: 20px"></span> |
|
9 |
|
|
10 |
<button type="button" class="btn btn-xs btn-default" style="margin-top: 6px" ng-click="refreshFunction()" ng-show="refreshFunction"> |
|
11 |
<span class="glyphicon glyphicon-refresh"></span> fetch list |
|
12 |
</button> |
|
13 |
</div> |
|
14 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngMultiSelectField.html | ||
---|---|---|
1 |
<div class="form-group" bs-has-error> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<select class="form-control" size="10" multiple="multiple" ng-model="arraySelection" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}"> |
|
5 |
<option ng-repeat="term in validValues" value="{{term.id}}">{{term.name}}</option> |
|
6 |
</select> |
|
7 |
<span class="glyphicon form-control-feedback" style="z-index: 100; margin-right: 20px;"></span> |
|
8 |
|
|
9 |
<button type="button" class="btn btn-xs btn-default" style="margin-top: 6px" ng-click="refreshFunction()" ng-show="refreshFunction"> |
|
10 |
<span class="glyphicon glyphicon-refresh"></span> fetch list |
|
11 |
</button> |
|
12 |
</div> |
|
13 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngApiIdField.html | ||
---|---|---|
1 |
<div class="form-group has-feedback"> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<div class="input-group"> |
|
5 |
<span class="input-group-addon">{{prefix}}</span> |
|
6 |
<input type="text" class="form-control" ng-model="suffix" ng-api-id-validation valid="valid" ng-required="required"/> |
|
7 |
</div> |
|
8 |
<span class="glyphicon form-control-feedback" style="z-index: 100"></span> |
|
9 |
<span class="label label-danger pull-right" ng-show="alert">{{alert}}</span> |
|
10 |
</div> |
|
11 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngFixedValueField.html | ||
---|---|---|
1 |
<div class="form-group" bs-has-error> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<p class="form-control-static">{{value}}</p> |
|
5 |
</div> |
|
6 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/html/addRepoApi/ngSimpleEditField.html | ||
---|---|---|
1 |
<div class="form-group" bs-has-error> |
|
2 |
<label class="col-sm-3 control-label">{{label}}</label> |
|
3 |
<div class="col-sm-8"> |
|
4 |
<input type="text" class="form-control" ng-model="selection" ng-pattern="mypattern" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}" /> |
|
5 |
<span class="glyphicon form-control-feedback" style="z-index: 100"></span> |
|
6 |
</div> |
|
7 |
</div> |
modules/dnet-modular-repositories-ui/tags/dnet-modular-repositories-ui-5.1.0/src/main/resources/eu/dnetlib/web/resources/js/reposCommon.js | ||
---|---|---|
1 |
function common_init($scope, $http, $sce, $location) { |
|
2 |
$scope.currentRepoId = ''; |
|
3 |
$scope.currentRepoName = ''; |
|
4 |
$scope.currentRepo = ''; |
|
5 |
|
|
6 |
$scope.go = function(path) { |
|
7 |
$location.path(path); |
|
8 |
} |
|
9 |
|
|
10 |
$scope.showError = function(error) { |
|
11 |
show_notification("error", error); |
|
12 |
} |
|
13 |
|
|
14 |
$scope.showNotification = function(message) { |
|
15 |
show_notification("info", message); |
Also available in: Unified diff
[maven-release-plugin] copy for tag dnet-modular-repositories-ui-5.1.0