From b168510e8442877e03b4f43f98f4b287ed1090df Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 21 Nov 2019 16:07:06 -0500 Subject: [PATCH] LPXXX editor continued Signed-off-by: Bill Erickson --- .../share/marc-edit/editable-content.component.css | 14 ++++-- .../marc-edit/editable-content.component.html | 4 +- .../share/marc-edit/editable-content.component.ts | 58 ++++++++++++++++++---- .../share/marc-edit/fixed-field.component.html | 13 +++-- .../staff/share/marc-edit/fixed-field.component.ts | 8 +-- .../marc-edit/fixed-fields-editor.component.html | 24 ++++----- .../share/marc-edit/rich-editor.component.css | 8 +++ .../share/marc-edit/rich-editor.component.html | 10 ++-- 8 files changed, 95 insertions(+), 44 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css index 1206312a6d..d84ad8a555 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css @@ -8,7 +8,15 @@ div[contenteditable] { min-height: calc(1.5em + .75rem + 2px); } -/* snuggle the delimiter and subfield codes */ -.sf-delimiter { margin-right: -0.4rem; } -.sf-code { margin-left: -0.4rem; } +.sf-delimiter { + /* match angjs color */ + color: rgb(0, 0, 255); + /* snuggle up to my subfield code */ + margin-right: -1rem; +} + +.sf-code { + /* match angjs color */ + color: rgb(0, 0, 255); +} diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html index f63f5aac58..87fd2cf0f9 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html @@ -2,7 +2,7 @@
-
- - +
+ + {{fieldLabel}} + +
+ diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/fixed-fields-editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/fixed-fields-editor.component.html index 33497e44e5..97d866f54a 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/fixed-fields-editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/fixed-fields-editor.component.html @@ -1,4 +1,4 @@ -
+
@@ -24,7 +24,7 @@ fieldCode="Lang" fieldLabel="Lang">
-
+
@@ -50,7 +50,7 @@ fieldCode="Ctry" fieldLabel="Ctry">
-
+
@@ -76,7 +76,7 @@ fieldCode="Alph" fieldLabel="Alph">
-
+
@@ -102,7 +102,7 @@ fieldCode="Date2" fieldLabel="Date2">
-
+
@@ -124,7 +124,7 @@ fieldCode="EntW" fieldLabel="EntW">
-
+
@@ -150,7 +150,7 @@ fieldCode="Comp" fieldLabel="Comp">
-
+
@@ -168,7 +168,7 @@ fieldCode="CrTp" fieldLabel="CrTp">
-
+
@@ -186,7 +186,7 @@ fieldCode="File" fieldLabel="File">
-
+
@@ -212,7 +212,7 @@ fieldCode="CatLang" fieldLabel="CatLang">
-
+
@@ -238,7 +238,7 @@ fieldCode="NameUse" fieldLabel="NameUse">
-
+
@@ -264,7 +264,7 @@ fieldCode="UpdStatus" fieldLabel="UpdStatus">
-
+
diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.css b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.css index e69de29bb2..5c90f28b9b 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.css +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.css @@ -0,0 +1,8 @@ + +.fixed-fields-container { + /* + * wait for https://bugs.launchpad.net/evergreen/+bug/1735568 approval + background-color: lightcyan; + border-bottom: 1px solid gray; + */ +} diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html index b14628ef75..dd494ba67e 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html @@ -4,10 +4,10 @@ -
-
-
+
+
@@ -55,13 +55,13 @@ + moreClasses="sf-delimiter border-right-0 bg-transparent"> + moreClasses="sf-code border-left-0"> -- 2.11.0