LP1719943: fixing typo in credential testing interface
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_credentials.tt2
1 <div class="container">
2   <div class="row">
3     <div class="col-md-6">
4       <fieldset>
5         <legend>[% l('Verify Credentials') %]</legend>
6         <form ng-submit="verify()" 
7           name="verify-creds-form" class="form-horizontal" role="form">
8
9           <div class="form-group">
10             <label class="col-md-4 control-label" 
11               for="verify-username">[% l('Username') %]</label>
12             <div class="col-md-8">
13               <input type="text" id="verify-username" class="form-control" 
14                 focus-me="focusMe" ng-disabled="prepop" autocomplete="off"
15                 placeholder="[% l('Username') %]" ng-model="username"/>
16             </div>
17           </div>
18
19           <div class="form-group">
20             <label class="col-md-4 control-label" 
21               for="verify-barcode">[% l('Barcode') %]</label>
22             <div class="col-md-8">
23               <input type="text" id="verify-barcode" class="form-control" 
24                 ng-disabled="prepop" autocomplete="off"
25                 placeholder="[% l('Barcode') %]" ng-model="barcode"/>
26             </div>
27           </div>
28
29           <div class="form-group">
30             <label class="col-md-4 control-label" 
31               for="verify-password">[% l('Password') %]</label>
32             <div class="col-md-8">
33               <input autocomplete="off" type="password" id="verify-password" class="form-control" 
34                 placeholder="[% l('Password') %]" ng-model="password"/>
35             </div>
36           </div>
37
38           <div class="form-group">
39             <div class="col-md-offset-4 col-md-2">
40               <button type="submit" class="btn btn-default">[% l('Verify') %]</button>
41             </div>
42             <div class="col-md-2" ng-hide="prepop">
43               <button class="btn btn-default" ng-click="load($event)">[% l('Retrieve') %]</button>
44             </div>
45           </div>
46
47           <div class="form-group" ng-cloak>
48             <div class="col-md-offset-4 col-md-8">
49               <div class="alert alert-success" ng-show="verified">
50                 [% l('Success testing credentials') %]
51               </div>
52               <div class="alert alert-danger" ng-show="verified === false">
53                 [% l('Failure testing credentials') %]
54               </div>
55               <div class="alert alert-danger" ng-show="notFound">
56                 [% l('No user found with the requested username / barcode') %]
57               </div>
58             </div>
59           </div>
60
61         </form>
62       </fieldset>
63     <div><!-- col -->
64   </div><!-- row -->
65 </div><!-- container -->