Bug 34116: Add page-sectioning to item search in label creator
This patch adds a "page-section" class to search results page seen when
adding items to a label batch. The patch also makes some minor changes
to markup around the search header to make it more consistent with other
search pages.
To test, apply the patch and go to Cataloging -> Label creator.
- Click New -> Label batch
- Without entering anything in the textarea, click the "Add item(s)"
button"
- In the pop-up window, perform a search which will return multiple
results.
- Confirm that everything looks correct and all controls work as they
should.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a7db3895a7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
cf31471089
commit
4664ba3b25
|
|
@ -29,23 +29,27 @@
|
|||
|
||||
<body id="labels_result" class="tools labels">
|
||||
<div class="main container-fluid">
|
||||
<h1>Search results</h1>
|
||||
<h1>Search results</h1>
|
||||
[% IF ( results ) %]
|
||||
<h3>Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %]</h3>
|
||||
[% ELSE %]
|
||||
<h3>No results found</h3>
|
||||
[% END %]
|
||||
<div class="results">
|
||||
[% PROCESS pagination %]
|
||||
[% IF ( results ) %]
|
||||
<strong>Results [% from | html %] through [% to | html %] [% IF ( total ) %] of [% total | html %][% END %]</strong>
|
||||
[% ELSE %]
|
||||
No results found
|
||||
[% END %]
|
||||
|
||||
<form name="resultform" action="" style="display:block">
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
<div class="btn-group"><button type="button" class="btn btn-default" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div>
|
||||
<div class="btn-group"><a href="#" class="btn btn-default close"><i class="fa fa-times-circle"></i> Done</a></div>
|
||||
</div>
|
||||
<div><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></div>
|
||||
|
||||
<div id="label-search-results">
|
||||
<div id="selection_ops">
|
||||
<a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a>
|
||||
<a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-remove"></i> Clear all</a>
|
||||
</div>
|
||||
|
||||
<div id="label-search-results" class="page-section">
|
||||
<input type="hidden" name="ccl_query" value="[% ccl_query | html %]" />
|
||||
[% FOREACH result_se IN result_set %]
|
||||
<div style="border-bottom:1px solid #CCC;padding:1em 0;">
|
||||
|
|
|
|||
Loading…
Reference in New Issue