0ca0e6cf7487a1ff02ac2c26eef9da03d6479710
[Evergreen.git] / Open-ILS / src / templates / staff / cat / z3950 / t_target.tt2
1 <div ng-repeat="target in targets | orderBy:'settings.label'" class="z3950-target-list">
2     <div class="checkbox">
3         <input ng-model="target.selected" type="checkbox">
4     <div>
5     <div ng-if="target.code == 'native-evergreen-catalog'">[% l('Local Catalog') %]</div>
6     <div ng-if="target.code != 'native-evergreen-catalog'">{{target.settings.label}}</div>
7     <div ng-if="target.settings.auth == 't'" class="form-inline row">
8         <div class="form-group col-xs-6">
9             <label for="username-for-z3950-{{target.code}}">[% l('Username') %]</label>
10             <input type="text" class="form-control" id="username-for-z3950-{{target.code}}" ng-model="target.username">
11         </div>
12         <div class="form-group col-xs-6">
13             <label for="password-for-z3950-{{target.code}}">[% l('Password') %]</label>
14             <input type="password" class="form-control" id="password-for-z3950-{{target.code}}" ng-model="target.password">
15         </div>
16     </div>
17 </div>
18     </div>
19 </div>