From b459d64c3d274d80edce4af92c03287066ec29db Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 26 Aug 2020 18:09:11 -0400 Subject: [PATCH] LP1888723 Angular volcopy UI mods and repairs * Use plus/minus buttons for adding and removing vols and copies. * Support adding multiple vols and copies via add-multi pop-over * Support hiding the Parts column * Move Generate Barcodes and Use Checkdigit to bottom row. * Collapse Batch Actions row by default, state stored in preferences. * Fix issue where loading a record with no holdings would result in a mostly image page. * Various display/layout repairs for showing/hiding columns Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- .../app/staff/cat/volcopy/config.component.html | 9 + .../app/staff/cat/volcopy/vol-edit.component.css | 4 + .../app/staff/cat/volcopy/vol-edit.component.html | 558 +++++++++++---------- .../app/staff/cat/volcopy/vol-edit.component.ts | 102 ++-- .../app/staff/cat/volcopy/volcopy.component.html | 26 +- .../src/app/staff/cat/volcopy/volcopy.component.ts | 14 +- .../src/app/staff/cat/volcopy/volcopy.service.ts | 14 +- 7 files changed, 413 insertions(+), 314 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html index 128e3690c2..ab8f41b40a 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/config.component.html @@ -67,6 +67,15 @@
  • + + +
    +
  • +
  • +
    diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.css b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.css index de37f46a49..97e60859e2 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.css +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.css @@ -23,3 +23,7 @@ input[type="number"] { color: grey; } + +.material-icons { + font-size: 20px; +} diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html index 918b508702..c846598550 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/vol-edit.component.html @@ -1,43 +1,61 @@ - - -
    -
    -
    -
    -
    -
    - - - - -
    +
    + +
    + +
    +
    +
    +
    -
    -
    -
    - - - - -
    +
    + +
    +
    + + + + +
    +
    +
    +
    + +
    +
    + + + + +
    +
    -
    @@ -50,15 +68,17 @@
    -
    -
    -
    - - - - -
    +
    + +
    +
    + + + + +
    +
    @@ -70,33 +90,13 @@
    -
    - -
    - -
    -
    -
    - -
    -
    - - -
    -
    -
    + +
    +
    +
    +
    - -
    Owning Library @@ -114,40 +114,41 @@
    -
    - -
    -
    - Classification - - - - - - - +
    + + Classification + + + + + + + +
    -
    - Prefix - - - - - - - +
    + + Prefix + + + + + + + +
    Call Number Label @@ -165,32 +166,33 @@
    -
    - Suffix - - - - - - - +
    + + Suffix + + + + + + + +
    - +
    -
    +
    Barcode
    -
    - +
    + + +
    - Part - - - - - - - + + Part + + + + + + + +
    +
    @@ -232,53 +239,66 @@
    - - {{orgNode.target.shortname()}} - {{sessionType}} - - - - -
    -
    - - - +
    +
    + + {{orgNode.target.shortname()}} + +
    +
    + + + + + + + + +
    +
    -
    - - - - - +
    + + + + + + +
    -
    - - - - - - - +
    + + + + + + + + +
    @@ -291,42 +311,68 @@ (change)="applyVolValue(volNode.target, 'label', $event.target.value)">
    -
    - - - - - - - +
    + + + + + + + + +
    - + + + + +
    Add How Many Call Numbers
    +
    + + +
    +
    + + + + + +
    -
    +
    - - - - +
    + + +
    + + +