lp1731370 CSS styling for new items and volumes
authorJason Etheridge <jason@EquinoxInitiative.org>
Wed, 5 Sep 2018 13:13:49 +0000 (09:13 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Wed, 5 Sep 2018 13:13:49 +0000 (09:13 -0400)
in vol/copy editor

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/staff/css/cat.css.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 8d6cb81..6fcb737 100644 (file)
@@ -198,3 +198,4 @@ grid[name="-none-"] * label { color: black; }
     white-space: nowrap;
 }
 
+.new-cn { background-color: lightgreen; }
index 804b7ee..6a3b02e 100644 (file)
@@ -568,7 +568,7 @@ function(egCore , $q) {
         replace: true,
         transclude: true,
         template:
-            '<div class="row">'+
+            '<div class="row" ng-class="{'+"'new-cn'"+':!callNumber.not_ephemeral}">'+
                 '<div class="col-xs-2">'+
                     '<button aria-label="Delete" style="margin:-5px -15px; float:left;" ng-hide="callNumber.not_ephemeral" type="button" class="close" ng-click="removeCN()">&times;</button>' +
                     '<select ng-disabled="record == 0" class="form-control" ng-model="classification" ng-change="updateClassification()" ng-options="cl.name() for cl in classification_list"/>'+