8ceb795857dfe455af9b0862702b4a641873cd9e
[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             disable-test="cant_have_users">
79           </eg-org-selector>
80         </div>
81         <input type='text' class='form-control'  
82           title="[% l('Workstation Name') %]"
83           placeholder="[% l('Workstation Name') %]"
84           ng-model='newWSName'/>
85         <div class="input-group-btn">
86           <button class="btn btn-default" ng-click="registerWS()">
87             [% l('Register') %]
88           </button>
89         </div>
90       </div>
91     </div>
92   </div>
93
94   <div class="row new-entry">
95     <div class="col-md-6">
96       <span class="glyphicon glyphicon-print"></span>
97       <a target="_self" href="./admin/workstation/print/config">
98         [% l('Printer Settings') %]
99       </a>
100     </div>
101   </div>
102
103   <div class="row new-entry">
104     <div class="col-md-6">
105       <span class="glyphicon glyphicon-film"></span>
106       <a target="_self" href="./admin/workstation/print/templates">
107         [% l('Print Templates') %]
108       </a>
109     </div>
110   </div>
111
112   <div class="row new-entry">
113     <div class="col-md-6">
114       <span class="glyphicon glyphicon-info-sign"></span>
115       <a target="_self" href="./admin/workstation/stored_prefs">
116         [% l('Stored Preferences') %]
117       </a>
118     </div>
119   </div>
120
121 </div>