lp1511742 Additional Scaffolding Fixes
authorKyle Huckins <khuckins@catalyte.io>
Tue, 11 Sep 2018 17:13:11 +0000 (17:13 +0000)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 14 Sep 2018 14:48:55 +0000 (10:48 -0400)
- Apply scaffolding fixes to Aquisition Patron Requests,
Circ Age to Lost, and Auto Print settings UIs, preventing
Org Selector from taking up entire width of screen.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/acq/requests/t_list.tt2
Open-ILS/src/templates/staff/admin/local/circ/age_to_lost.tt2
Open-ILS/src/templates/staff/admin/local/config/auto_print.tt2

index 5c279b4..af828d1 100644 (file)
@@ -8,9 +8,10 @@
   <div class="form-group">
     <div class="row">
       <span ng-hide="context_user || context_lineitem">
-        <label for="select-request-ou">[% l('Patron Home Library: ' ) %]</label>
-        <eg-org-selector id="select-request-ou" selected="context_ou"></eg-org-selector>
-        <span>&nbsp;</span>
+        <div class="col-md-3 input-group">
+          <span class="input-group-addon">[% l('Patron Home Library: ' ) %]</span>
+          <eg-org-selector id="select-request-ou" selected="context_ou"></eg-org-selector>
+        </div>
       </span>
       <span ng-show="context_user">[% l('User ID: [_1]','{{context_user}}') %]</span>
       <span ng-show="context_lineitem">[% l('PO Line Item ID: [_1]','{{context_lineitem}}') %]</span>
index f3471a6..b9a51f2 100644 (file)
@@ -26,9 +26,9 @@ you wish to age to a Lost status.  Note the descendants of these values
 
 <div id='age-to-lost-container'>
   <div xclass="form-inline">
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('User Profile') %]</label>
-      <div class="btn-group" uib-dropdown>
+      <div class="btn-group col-md-2" uib-dropdown>
         <button type="button" class="btn btn-default" uib-dropdown-toggle>
           <span style="padding-right: 5px;">{{selected_profile.name()}}</span>
           <span class="caret"></span>
@@ -42,13 +42,13 @@ you wish to age to a Lost status.  Note the descendants of these values
         </ul>
       </div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Circulation Library') %]</label>
-      <eg-org-selector selected="context_org"></eg-org-selector>
+      <div class="col-md-2"><eg-org-selector selected="context_org"></eg-org-selector></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Are you sure?') %]</label>
-      <input type="checkbox" ng-model="i_am_sure"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="i_am_sure"/></div>
     </div>
   </div>
     <div class="form-group">
index a6b4725..73b7209 100644 (file)
@@ -45,34 +45,34 @@ dialog (the ones that offer Print and Do Not Print as options).[% END %]
   <div class="row"></div><!-- add some padding -->
 
   <div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Checkout Receipt') %]</label>
-      <input type="checkbox" ng-model="co_recpt"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="co_recpt"/></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Bill Pay Receipt') %]</label>
-      <input type="checkbox" ng-model="bill_recpt"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="bill_recpt"/></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Hold Slip') %]</label>
-      <input type="checkbox" ng-model="hold_slip"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="hold_slip"/></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Transit Slip') %]</label>
-      <input type="checkbox" ng-model="transit_slip"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="transit_slip"/></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('Hold/Transit Slip') %]</label>
-      <input type="checkbox" ng-model="hold_transit_slip"/>
+      <div class="col-md-2"><input type="checkbox" ng-model="hold_transit_slip"/></div>
     </div>
-    <div class="form-group">
+    <div class="form-group row">
       <label class="col-md-2">[% l('For This Library and Descendants') %]</label>
-      <eg-org-selector selected="context_org" 
-        onchange="show_org_values" disable-test="cant_use_org"></eg-org-selector>
+      <div class="col-md-2"><eg-org-selector selected="context_org" 
+        onchange="show_org_values" disable-test="cant_use_org"></eg-org-selector></div>
     </div>
   </div>
   </div>
-    <div class="form-group">
+    <div class="form-group row">
       <button class="btn btn-default" 
         ng-class="{disabled : in_flight}"
         ng-click="update_auto_print()">