web staff: separate circ/patron.css file
authorBill Erickson <berick@esilibrary.com>
Mon, 16 Dec 2013 15:54:59 +0000 (10:54 -0500)
committerBill Erickson <berick@esilibrary.com>
Mon, 16 Dec 2013 15:54:59 +0000 (10:54 -0500)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/staff/circ/patron/index.tt2
Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2
Open-ILS/src/templates/staff/css/circ/patron.css.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/css/style.css.tt2

index 235ca4f..7e09bef 100644 (file)
 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/ui.js"></script>
 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/user.js"></script>
 <script src="[% ctx.media_prefix %]/js/ui/default/staff/circ/patron/app.js"></script>
+
+<!-- TODO: APP_JS should really be called APP_ADDONS or some such.
+    It just means "load these things, too, and load them last" -->
+<link rel="stylesheet" href="[% ctx.base_path %]/staff/css/circ/patron.css" />
 [% END %]
 
 <div class="row">
index ca1df34..0ce556f 100644 (file)
@@ -46,7 +46,7 @@ items_out.setColumns([
           ng-click="onRowClick($event, circ)"
           ng-class="{
             selected : items_out.selected[circ.id()], 
-            'overdue-alert' : circIsOverdue(circ)
+            'patron-summary-alert' : circIsOverdue(circ)
           }">
           <td>{{$index + 1}}</td>
           <td><span ng-if="items_out.selected[circ.id()]">&#x2713;</span> 
diff --git a/Open-ILS/src/templates/staff/css/circ/patron.css.tt2 b/Open-ILS/src/templates/staff/css/circ/patron.css.tt2
new file mode 100644 (file)
index 0000000..e1b1644
--- /dev/null
@@ -0,0 +1,22 @@
+/** style to make a grid look like a striped table */
+#patron-summary-grid div.row {padding: 3px; border-right: 2px solid rgb(248, 248, 248);}
+#patron-summary-grid div.row:nth-child(odd) {background-color: rgb(248, 248, 248);}
+
+/* there are bootstrap tyles for error, warning, etc., 
+but the ones I'm finding aren't quite cutting it..*/
+.patron-summary-alert {color: red; font-weight:bold}
+
+.patron-summary-divider { border-top: 1px solid #CCC}
+.pad-horiz {padding : 0px 10px 0px 10px; }
+.pad-vert {padding : 20px 0px 10px 0px;}
+#patron-checkout-barcode { width: 16em; }
+
+#patron-search-form div.form-group {
+  margin-bottom: 5px;
+}
+
+/* let search form elements fill their containers w/ slight padding */
+#patron-search-form-row {margin-left: 0px;}
+#patron-search-form div.col-lg-2 { padding: 2px; }
+#patron-search-form input:not([type="checkbox"]) { width: 100%; }
+
index be00f10..aedf25c 100644 (file)
@@ -82,27 +82,3 @@ table.list tr.selected td {
     color: #2a6496;
     background-color: #F5F5F5;
 }
-
-
-/* TODO: move these to patron CSS file ---  */
-
-/** style to make a grid look like a striped table */
-#patron-summary-grid div.row {padding: 3px; border-right: 2px solid rgb(248, 248, 248);}
-#patron-summary-grid div.row:nth-child(odd) {background-color: rgb(248, 248, 248);}
-/* there are bootstrap tyles for error, warning, etc., 
-but the ones I'm finding aren't quite cutting it..*/
-.patron-summary-alert {color: red; font-weight:bold}
-.patron-summary-divider { border-top: 1px solid #CCC}
-.pad-horiz {padding : 0px 10px 0px 10px; }
-.pad-vert {padding : 20px 0px 10px 0px;}
-#patron-checkout-barcode { width: 16em; }
-
-#patron-search-form div.form-group {
-  margin-bottom: 5px;
-}
-
-/* let form elements fill their containers w/ slight padding */
-#patron-search-form-row {margin-left: 0px;}
-#patron-search-form div.col-lg-2 { padding: 2px; }
-#patron-search-form input:not([type="checkbox"]) { width: 100%; }
-