From: Mike Rylander Date: Wed, 24 Feb 2016 14:54:29 +0000 (-0500) Subject: Add border to FF boxes, and align Source mnewmonic for the day that the seed data... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=566b4665b48860b701a11d17e3a669dbd50de454;p=working%2FEvergreen.git Add border to FF boxes, and align Source mnewmonic for the day that the seed data exists Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 index 5b61974c94..352da20c2a 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 @@ -61,7 +61,7 @@
- + @@ -145,7 +145,6 @@ -
diff --git a/Open-ILS/src/templates/staff/css/cat.css.tt2 b/Open-ILS/src/templates/staff/css/cat.css.tt2 index 3b87e4283d..c780429355 100644 --- a/Open-ILS/src/templates/staff/css/cat.css.tt2 +++ b/Open-ILS/src/templates/staff/css/cat.css.tt2 @@ -41,6 +41,10 @@ input.marcedit:focus { max-width: 800px; } +.fixed-field-box { + border: 1px solid gray; +} + .marcsfvalue { border-left: 0px !important; } diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index 0a420540a0..c4862f9861 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -197,6 +197,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) replace: true, controller : ['$scope', '$element', 'egTagTable', function ( $scope , $element , egTagTable) { + $($element).removeClass('fixed-field-box'); $($element).children().css({ display : 'none' }); $scope.me = null; $scope.content = null; // this is where context menus dump their values @@ -225,6 +226,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) if (ff.fixed_field == $scope.fixedField && ff.rec_type == $scope.rtype) { $scope.me = ff; $scope.ready = true; + $($element).addClass('fixed-field-box'); $($element).children().css({ display : 'inline' }); var input = $($element).find('input');