Bug 20044: Switch single-column templates to Bootstrap grid: Cataloging

This patch updates several cataloging module templates to use the
Bootstrap grid.

- cataloguing/addbooks.tt - Cataloging - The main page and the
  cataloging search results page should look correct.

- cataloguing/addbiblio.tt - Cataloging -> New record - The record edit
  page should look correct.

- cataloguing/merge.tt - Cataloging -> Search -> Select two records to
  merge. The merge reference selection page should look correct, as well
  as the source/destination selection page.

- cataloguing/moveitem.tt - Catalog -> Search -> View record -> Edit ->
  Attach item. The barcode submit form and confirmation screens should
  look correct.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2018-01-19 15:10:18 +00:00 committed by Nick Clemens
parent 44b4e45309
commit c300d83edb
4 changed files with 21 additions and 21 deletions

View file

@ -414,11 +414,9 @@ function Changefwk() {
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo; [% IF ( biblionumber ) %]Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %]</div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-g">
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<h1>
[% IF ( biblionumber ) %]Editing <em>[% title | html %]</em> (Record number [% biblionumber | html %])
@ -741,7 +739,6 @@ function Changefwk() {
</form>
</div>
</div>
</div>

View file

@ -12,10 +12,9 @@
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloging</div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
<div id="toolbar" class="btn-toolbar">

View file

@ -19,11 +19,9 @@ div#result { margin-top: 1em; }
[% INCLUDE 'cataloging-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo; Merging records</div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<h1>Merging records</h1>
[% IF ( result ) %]
@ -158,12 +156,12 @@ div#result { margin-top: 1em; }
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post" onsubmit="return mergeformsubmit()">
<div class="yui-g">
<div class="yui-u first">
<div class="col-sm-6">
[% PROCESS mergesource sourcerecords=records %]
</div>
<div class="yui-u">
<div class="col-sm-6">
[% PROCESS mergetarget %]
</div> <!-- .yui-u -->
</div> <!-- .col-sm-6 -->
<input type="hidden" name="ref_biblionumber" value="[% ref_biblionumber | html %]" />
[% FOREACH record IN records %]
@ -183,7 +181,6 @@ div#result { margin-top: 1em; }
[% END %]
[% END %]
</div>
</div>
</div>

View file

@ -1,12 +1,15 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>Attach an item to [% bibliotitle | html %]</title>
<title>Koha &rsaquo; Cataloging &rsaquo; Attach an item to [% bibliotitle | html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="catalog_moveitem" class="catalog">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo; Attach an item to <i>[% bibliotitle | html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle | html %][% END %]</i></div>
<div id="doc" class="yui-t7">
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% BLOCK actions %]
[% IF ( BiblioDefaultViewmarc ) %]
@ -90,4 +93,8 @@
[% END %]
[% END %]
[% END %]
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]