LP#1350042 Browser client templates/scripts (phase 1)
[Evergreen.git] / Open-ILS / src / templates / staff / admin / workstation / t_splash.tt2
1 <br/>
2 <style>
3   #admin-workstation-container .row {
4     margin-top: 5px;
5   }
6   #admin-workstation-container .new-entry {
7     margin-top: 10px;
8     padding-top: 10px;
9     border-top: 2px solid #F5F5F5;
10   }
11 </style>
12
13 <div class="container" id="admin-workstation-container">
14
15   <div class="row">
16     <div class="col-md-6">
17       <div class="checkbox">
18         <label>
19           <input type="checkbox" ng-class="{disabled : !userHasAdminPerm}"
20             ng-model="hatchRequired" ng-change="updateHatchRequired()">
21 [% l('This workstation uses a remote print / storage service ("Hatch")?') %]
22         </label>
23       </div>
24     </div><!-- row -->
25   </div>
26   <div class="row">
27     <div class="col-md-6">
28       <input type='text' class='form-control'  
29         ng-disabled="!hatchRequired || !userHasRegPerm"
30         title="[% l('Hatch URL') %]"
31         placeholder="[% l('Hatch URL') %]"
32         ng-change='updateHatchURL()' ng-model='hatchURL'/>
33     </div>
34   </div>
35
36   <div class="row new-entry">
37     <div class="col-md-6">
38       [% l('Workstations Registered With This Computer') %]
39     </div>
40   </div>
41   <div class="row">
42     <div class="col-md-6">
43       <select class="form-control" ng-model="selectedWS">
44         <option ng-repeat="ws in workstations" value="{{ws}}"
45           ng-selected="ws == selectedWS">
46           {{getWSLabel(ws)}}
47         </option>
48       </select>
49     </div>
50   </div>
51
52   <div class="row">
53     <div class="col-md-6">
54       <button class="btn btn-default" ng-click="useWS()">
55         [% l('Use Now') %]
56       </button>
57       <button class="btn btn-default" ng-click="setDefaultWS()">
58         [% l('Mark As Default') %]
59       </button>
60       <button class="btn btn-default btn-danger disabled">
61         [% l('Delete') %]
62       </button>
63     </div>
64   </div>
65
66   <div class="row new-entry">
67     <div class="col-md-6">
68       [% l('Register a New Workstation For This Computer') %]
69     </div>
70   </div>
71   <div class="row">
72     <div class="col-md-6">
73       <div class="input-group">
74         <div class="input-group-btn">
75           <eg-org-selector 
76             selected="contextOrg"
77             hidden-test="wsOrgHidden">
78           </eg-org-selector>
79         </div>
80         <input type='text' class='form-control'  
81           title="[% l('Workstation Name') %]"
82           placeholder="[% l('Workstation Name') %]"
83           ng-model='newWSName'/>
84         <div class="input-group-btn">
85           <button class="btn btn-default" ng-click="registerWS()">
86             [% l('Register') %]
87           </button>
88         </div>
89       </div>
90     </div>
91   </div>
92
93   <div class="row new-entry">
94     <div class="col-md-6">
95       <span class="glyphicon glyphicon-print"></span>
96       <a target="_self" href="./admin/workstation/print/config">
97         [% l('Printer Settings') %]
98       </a>
99     </div>
100   </div>
101
102   <div class="row new-entry">
103     <div class="col-md-6">
104       <span class="glyphicon glyphicon-film"></span>
105       <a target="_self" href="./admin/workstation/print/templates">
106         [% l('Print Templates') %]
107       </a>
108     </div>
109   </div>
110
111   <div class="row new-entry">
112     <div class="col-md-6">
113       <span class="glyphicon glyphicon-info-sign"></span>
114       <a target="_self" href="./admin/workstation/stored_prefs">
115         [% l('Stored Preferences') %]
116       </a>
117     </div>
118   </div>
119
120 </div>