Revision 44426
Added by Michele Artini over 7 years ago
repoApi.st | ||
---|---|---|
57 | 57 |
</span> |
58 | 58 |
</div> |
59 | 59 |
<span class="input-group-btn"> |
60 |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#editAccessParamsModal">access params</button> |
|
60 |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#editAccessParamsModal" ng-click="prepareUpdateRepoApi()">access params</button>
|
|
61 | 61 |
</span> |
62 | 62 |
</div> |
63 | 63 |
|
... | ... | |
176 | 176 |
<div class="modal-body"> |
177 | 177 |
<div class="well"> |
178 | 178 |
<form class="form-horizontal" role="form"> |
179 |
<div class="form-group" ng-repeat="p in currentRepoApi.accessParams">
|
|
179 |
<div class="form-group" ng-repeat="p in tempAccessParams">
|
|
180 | 180 |
<label for="input_ap_{{p.name}}" class="col-sm-3 control-label">{{p.name}}</label> |
181 | 181 |
<div class="col-sm-9" ng-hide="currentRepoApi.protocol == 'oai' && p.name == 'set'"> |
182 | 182 |
<input type="text" class="form-control" id="input_ap_{{p.name}}" ng-model="p.value"/> |
183 | 183 |
</div> |
184 | 184 |
<div class="col-sm-9" ng-show="currentRepoApi.protocol == 'oai' && p.name == 'set'"> |
185 |
<select class="form-control" style="font-size: 11px" size="10" multiple ng-model="selectedSets" ng-change="updateSets(selectedSets, currentRepoApi.accessParams)">
|
|
185 |
<select class="form-control" style="font-size: 11px" size="10" multiple ng-model="selectedSets" ng-change="updateSets(selectedSets, tempAccessParams)">
|
|
186 | 186 |
<option ng-repeat="set in currentSets" value="{{set.id}}" ng-selected="set.selected">{{set.name}}</option> |
187 | 187 |
</select> |
188 | 188 |
<span><b>Current set(s): </b>{{selectedSets.join(', ')}}</span> |
189 |
<button class="btn btn-xs btn-default pull-right" style="margin-top: 4px" ng-click="listSets(currentRepoApi.accessParams)"><span class="glyphicon glyphicon-refresh"></span> refresh</button>
|
|
189 |
<button class="btn btn-xs btn-default pull-right" style="margin-top: 4px" ng-click="listSets(tempAccessParams)"><span class="glyphicon glyphicon-refresh"></span> refresh</button>
|
|
190 | 190 |
</div> |
191 | 191 |
</div> |
192 |
<div class="form-group" ng-repeat="p in currentRepoApi.otherParams" ng-if="p.name == 'metadata_identifier_path'">
|
|
192 |
<div class="form-group"> |
|
193 | 193 |
<label for="input_mdid_path" class="col-sm-3 control-label">ID XPath</label> |
194 | 194 |
<div class="col-sm-9"> |
195 |
<input type="text" class="form-control" id="input_mdid_path" ng-model="p.value"/>
|
|
195 |
<input type="text" class="form-control" id="input_mdid_path" ng-model="tempMdIdPath"/>
|
|
196 | 196 |
</div> |
197 | 197 |
</div> |
198 | 198 |
</form> |
Also available in: Unified diff
ticket #2399