Bug 39448: Layout improvement for search filter administration
This patch makes a few minor changes to the search filter administration
template.
To test, apply the patch and rebuild the staff interface CSS.
- If the SavedSearchFilters system preference is not enabled, go to
Administration -> System preferences and enable it.
- Perform a catalog search.
- From the search results page, click "Save as search filter" at the
top of the results.
- Save your filter.
- Go to Administration -> Search filters.
- The table of filters should be wrapped in a "page-section" div with
the heading above it.
- In the "Actions" column the buttons should be aligned in a row with
space between each.
- Click "Edit filter"
- In the modal the form fields should be well laid out.
Sponsored-by: Athens County Public Libraries
Signed-off-by: Felicie <felicie.thiery@biblibre.com>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 22cd54f1a4)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
6d12848ba3
commit
64b8dabfc7
|
|
@ -2192,6 +2192,16 @@ li {
|
|||
td {
|
||||
&.actions {
|
||||
white-space: nowrap;
|
||||
|
||||
a,
|
||||
button {
|
||||
display: inline-block;
|
||||
margin-left: .3rem;
|
||||
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.bookcoverimg {
|
||||
|
|
|
|||
|
|
@ -30,11 +30,9 @@
|
|||
[% END #/ WRAPPER sub-header.inc %]
|
||||
|
||||
[% WRAPPER 'main-container.inc' aside='admin-menu' %]
|
||||
|
||||
<h1>Search filters</h1>
|
||||
[% IF filters_count %]
|
||||
<div id="search_filters_list">
|
||||
<h2>Search filters</h2>
|
||||
|
||||
<div id="search_filters_list" class="page-section">
|
||||
<table id="search_filters_table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -44,7 +42,7 @@
|
|||
<th>Limits</th>
|
||||
<th>OPAC</th>
|
||||
<th>Staff interface</th>
|
||||
<th> </th>
|
||||
<th data-class-name="actions noExport">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
@ -62,14 +60,16 @@
|
|||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<div class="mb-3">
|
||||
<input type="hidden" id="filter_edit_id" name="filter_edit_id" />
|
||||
<label for="filter_edit_name">Name:</label>
|
||||
<input id="filter_edit_name" name="filter_edit_name" type="text" />
|
||||
<label for="filter_edit_opac">Show in OPAC?</label>
|
||||
<input type="checkbox" id="filter_edit_opac" name="filter_edit_opac" />
|
||||
<label for="filter_edit_staff_client">Show in staff interface?</label>
|
||||
<input type="checkbox" id="filter_edit_staff_client" name="filter_edit_staff_client" />
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="filter_edit_opac"><input type="checkbox" id="filter_edit_opac" name="filter_edit_opac" /> Show in OPAC?</label>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="filter_edit_staff_client"><input type="checkbox" id="filter_edit_staff_client" name="filter_edit_staff_client" /> Show in staff interface?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
|
|||
Loading…
Reference in New Issue