From 6b7f2aea513272da91fc78853dbb02371c8e8cf3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 13 Sep 2022 15:17:57 +0100 Subject: [PATCH] Bug 31162: Restore ability to pick framework This patch restores the ability to pick the framework via a dropdown on the cataloguing home page. The CSS needs some work.. this is a proof of concept --- .../prog/css/src/staff-global.scss | 36 +++++++++++++++++++ .../en/modules/cataloguing/cataloging-home.tt | 30 ++++++++++++---- 2 files changed, 60 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 9a111db1eb..cd775f7f1e 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4456,6 +4456,42 @@ input.renew { } } } + + button { + &.circ-button { + // Class used for each module link + background-color: #F4F8F9; + background-position: 5px 3px; + background-repeat: no-repeat; + border: 2px solid #B9D8D9; + border-radius: 6px; + box-sizing: content-box; + color: #000000; + display: block; + font-size: 110%; + font-weight: bold; + margin: .5em 0; + max-width: 260px; + padding: 8px; + text-decoration: none; + + &:hover { + // Class used for each module link hover state + border-color: #538200; + color: #538200; + } + } + } + + div { + &.btn-group { + button { + &.btn:first-child { + width: 238px; + } + } + } + } } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt index 69d4c1ac75..80938efde4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt @@ -40,15 +40,33 @@ [% END %]
  • - Basic editor -
  • +
    + + + +
    +
  • [% IF servers.count > 0 %]
  • - Z39.50/SRU -
  • - [% END %] +
    + + + +
    + + [% END # /IF servers.count %] - [% END %] + [% END # /IF CAN_user_editcatalogue_edit_catalogue %] [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]

    Import

    -- 2.20.1