@@ -, +, @@ - Type or scan a barcode. Submitting the form should trigger a popup window with the spine label print page. The "print" button should be centered at the bottom of the window in a footer-like container. - If you have SpineLabelAutoPrint enabled, the print dialog should appear automatically. - After printing, the pop-up window should close and and focus should be returned to the barcode field. - In the holdings table, a "Spine label" column should appear as the second-to-last column. The column should contain "Print label" Bootstrap-style buttons. - Clicking a "Print label" button should trigger a pop-up window with the spine label print page. The behavior of the window should be the same as above. --- koha-tmpl/intranet-tmpl/prog/css/spinelabel.css | 14 +++++++--- .../prog/en/modules/catalogue/detail.tt | 16 ++++++++---- .../prog/en/modules/labels/spinelabel-home.tt | 12 ++++++++- .../prog/en/modules/labels/spinelabel-print.tt | 30 ++++++++++++---------- 4 files changed, 50 insertions(+), 22 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/css/spinelabel.css +++ a/koha-tmpl/intranet-tmpl/prog/css/spinelabel.css @@ -20,8 +20,16 @@ body { top: 75px; } +#spinelabel { + +} + #print_button { - position: absolute; - top: 25px; - left: 500px; + bottom: 0; + padding: 1em; + position: absolute; + text-align: center; + width: 100%; + border-top: 1px solid #b9d8d9; + background-color: #e6f0f2; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -209,10 +209,10 @@ [% IF materials %]