Bug 31986: Add page-section to various administration pages
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Oct 2022 19:13:06 +0000 (19:13 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Oct 2022 19:40:56 +0000 (16:40 -0300)
This patch adds a page-section div to some administration pages in order
to provide a consistent structure visual contrast. The following pages
are modified:

Additional fields
Funds
Authority types
Authority types -> MARC tag structure
Authority types -> MARC tag structure -> Subfields
MARC bibliographic framework
MARC bibliographic framework -> MARC tag structure
MARC bibliographic framework -> MARC tag structure -> Subfields
MARC Bibliographic framework test
Classification configuration
Currencies and exchange rates
EDI accounts
Library EANs
Item search fields
Koha to MARC mapping
Record overlay rules
Record matching rules
OAI sets configuration
SMTP servers
Z39.50/SRU servers

To test, view each page to confirm that the page-section div visibly
delineates the main content area.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
20 files changed:
koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt

index 858e5a7..c76d77d 100755 (executable)
     [% IF op == 'list_tables' %]
         [% IF CAN_user_acquisitions_order_manage || CAN_user_serials_edit_subscription || CAN_user_updatecharges_remaining_permissions %]
         <h1>Additional fields</h1>
-        <p>Select a table:</p>
-        [% BLOCK table_option %]
-            <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
-        [% END %]
-        <ul>
-            [% IF CAN_user_acquisition_order_manage %]
-                [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
-            [% END %]
-            [% IF CAN_user_acquisition_edit_invoices %]
-                [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
-            [% END %]
-            [% IF CAN_user_serials_edit_subscription %]
-                [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
+
+        <div class="page-section">
+            <p>Select a table:</p>
+            [% BLOCK table_option %]
+                <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
             [% END %]
-            [% IF CAN_user_updatecharges_remaining_permissions %]
-                [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
-                [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
+            <ul>
+                [% IF CAN_user_acquisition_order_manage %]
+                    [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
+                [% END %]
+                [% IF CAN_user_acquisition_edit_invoices %]
+                    [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
+                [% END %]
+                [% IF CAN_user_serials_edit_subscription %]
+                    [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
+                [% END %]
+                [% IF CAN_user_updatecharges_remaining_permissions %]
+                    [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
+                    [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
+                [% END %]
+            </ul>
+            [% ELSE %]
+                Additional permissions are required for editing additional fields
             [% END %]
-        </ul>
-        [% ELSE %]
-            Additional permissions are required for editing additional fields
-        [% END %]
+        </div><!-- /.page-section -->
     [% ELSIF op == 'list' %]
         <h1>Additional fields for '[% tablename | html %]'</h1>
         [% IF fields %]
index eb76f37..195c2a6 100644 (file)
             </span>
         </div>
     [% END %]
-
+<div class="page-section">
 <table id="budgeth" class="group">
     <thead>
         <tr>
     [% END %]
     </tbody>
 </table>
+</div> <!-- /.page-section -->
 
 [% ELSE %]
     <p>No fund found</p>
index 8078d6d..e2e0130 100644 (file)
 <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
 <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
 
+<div class="page-section">
 <table id="table_authsubfieldstructure">
     <thead>
         <tr>
     [% END %]
     </tbody>
 </table>
+</div> <!-- /.page-section -->
 
     <form action="[% script_name | html %]" method="get">
     <fieldset class="action"><input type="hidden" name="op" value="add_form" />
index efc0f29..1fe9486 100644 (file)
@@ -298,6 +298,8 @@ Authority MARC framework &rsaquo; Administration &rsaquo; Koha
 </form><br />
 <div id="pagertable_authtagstructure">
 </div>
+
+<div class="page-section">
 <table id="table_authtagstructure">
     <thead>
         <tr>
@@ -332,7 +334,7 @@ Authority MARC framework &rsaquo; Administration &rsaquo; Koha
         [% END %]
     </tbody>
     </table>
-
+</div> <!-- /.page-section -->
 [% END %]
 
             </main>
index 9d998be..b6c940a 100644 (file)
@@ -171,92 +171,95 @@ Authority types &rsaquo; Administration &rsaquo; Koha
 
     <h1>Authority types</h1>
     <p>Define authority types, then authority MARC structure in the same way you define itemtypes and bibliographic MARC tag structure. Authority values are managed through plugins</p>
-    <table id="authtypes">
-        <thead>
-        <tr>
-            <th>Code</th>
-            <th>Description</th>
-            <th>Summary</th>
-            <th>Auth field copied</th>
-            <th>&nbsp;</th>
-        </tr>
-        </thead>
-        <tbody>
-        [% FOREACH authority_type IN authority_types %]
+
+    <div class="page-section">
+        <table id="authtypes">
+            <thead>
             <tr>
-                <td>[% authority_type.authtypecode | html %]</td>
-                <td>[% authority_type.authtypetext | html %]</td>
-                <td>[% authority_type.summary | html %]</td>
-                <td>[% authority_type.auth_tag_to_report | html %]</td>
-                <td>
-                  <div class="btn-group dropup">
-                    <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
-                      Actions <b class="caret"></b></a>
-                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
-                      <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
-                      <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&amp;authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
-                      [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&amp;authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
-                      <!-- Button to trigger modal -->
-                      <li><a href="#" data-toggle="modal" data-target="#exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Export authority type (fields, subfields) to a spreadsheet file (.csv, .ods)"><i class="fa fa-upload"></i> Export</a></li>
-                      <!-- Button to trigger modal -->
-                      <li><a href="#" data-toggle="modal" data-target="#importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Import authority type (fields, subfields) from a spreadsheet file (.csv, .ods)"><i class="fa fa-download"></i> Import</a></li>
-                    </ul>
-                  </div>
+                <th>Code</th>
+                <th>Description</th>
+                <th>Summary</th>
+                <th>Auth field copied</th>
+                <th>&nbsp;</th>
+            </tr>
+            </thead>
+            <tbody>
+            [% FOREACH authority_type IN authority_types %]
+                <tr>
+                    <td>[% authority_type.authtypecode | html %]</td>
+                    <td>[% authority_type.authtypetext | html %]</td>
+                    <td>[% authority_type.summary | html %]</td>
+                    <td>[% authority_type.auth_tag_to_report | html %]</td>
+                    <td>
+                    <div class="btn-group dropup">
+                        <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
+                        Actions <b class="caret"></b></a>
+                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
+                        <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
+                        <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&amp;authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
+                        [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&amp;authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
+                        <!-- Button to trigger modal -->
+                        <li><a href="#" data-toggle="modal" data-target="#exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Export authority type (fields, subfields) to a spreadsheet file (.csv, .ods)"><i class="fa fa-upload"></i> Export</a></li>
+                        <!-- Button to trigger modal -->
+                        <li><a href="#" data-toggle="modal" data-target="#importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Import authority type (fields, subfields) from a spreadsheet file (.csv, .ods)"><i class="fa fa-download"></i> Import</a></li>
+                        </ul>
+                    </div>
 
-                  <!-- Modal for export -->
-                  <div class="modal" id="exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
-                      <div class="modal-dialog">
-                          <div class="modal-content">
-                              <div class="modal-header">
-                                  <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
-                                  <h3 id="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Export [% authority_type.authtypetext | html %] authority type</h3>
-                              </div>
-                              <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_[% authority_type.authtypecode | html %]" method="get" target="_blank" class="form_export">
-                                  <div class="modal-body">
-                                      <fieldset>
-                                          <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
-                                          <p><label for="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="csv" id="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" checked="checked" /> Export to CSV spreadsheet</label></p>
-                                          <p><label for="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="ods" id="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" /> Export to OpenDocument spreadsheet format</label></p>
-                                      </fieldset>
-                                  </div>
-                                  <div class="modal-footer">
-                                      <button type="submit" class="btn btn-default">Export</button>
-                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
-                                  </div>
-                              </form>
-                          </div>
-                      </div>
-                  </div>
+                    <!-- Modal for export -->
+                    <div class="modal" id="exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
+                        <div class="modal-dialog">
+                            <div class="modal-content">
+                                <div class="modal-header">
+                                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
+                                    <h3 id="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Export [% authority_type.authtypetext | html %] authority type</h3>
+                                </div>
+                                <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_[% authority_type.authtypecode | html %]" method="get" target="_blank" class="form_export">
+                                    <div class="modal-body">
+                                        <fieldset>
+                                            <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
+                                            <p><label for="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="csv" id="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" checked="checked" /> Export to CSV spreadsheet</label></p>
+                                            <p><label for="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="ods" id="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" /> Export to OpenDocument spreadsheet format</label></p>
+                                        </fieldset>
+                                    </div>
+                                    <div class="modal-footer">
+                                        <button type="submit" class="btn btn-default">Export</button>
+                                        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
+                                    </div>
+                                </form>
+                            </div>
+                        </div>
+                    </div>
 
-                  <!-- Modal for import -->
-                  <div class="modal" id="importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
-                      <div class="modal-dialog">
-                          <div class="modal-content">
-                              <div class="modal-header">
-                                  <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
-                                  <h3 id="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Import [% authority_type.authtypecode | html %] authority type (fields and subfields) from a spreadsheet file (.csv, .ods)</h3>
-                              </div>
-                              <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_i_[% authority_type.authtypecode | html %]" id="form_i_[% authority_type.authtypecode | html %]" method="post" enctype="multipart/form-data" class="form_import">
-                                  <div class="modal-body">
-                                      <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
-                                      <input type="hidden" name="action" value="import" />
-                                      <p><label for="file_import_[% authority_type.authtypecode | html %]">Upload file:</label> <input type="file" name="file_import_[% authority_type.authtypecode | html %]" id="file_import_[% authority_type.authtypecode | html %]" class="input_import" /></p>
-                                      <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
-                                  </div>
-                                  <div class="modal-footer">
-                                      <button type="submit" class="btn btn-default">Import</button>
-                                      <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
-                                  </div>
-                              </form>
-                          </div>
-                      </div>
-                  </div>
+                    <!-- Modal for import -->
+                    <div class="modal" id="importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
+                        <div class="modal-dialog">
+                            <div class="modal-content">
+                                <div class="modal-header">
+                                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
+                                    <h3 id="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Import [% authority_type.authtypecode | html %] authority type (fields and subfields) from a spreadsheet file (.csv, .ods)</h3>
+                                </div>
+                                <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_i_[% authority_type.authtypecode | html %]" id="form_i_[% authority_type.authtypecode | html %]" method="post" enctype="multipart/form-data" class="form_import">
+                                    <div class="modal-body">
+                                        <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
+                                        <input type="hidden" name="action" value="import" />
+                                        <p><label for="file_import_[% authority_type.authtypecode | html %]">Upload file:</label> <input type="file" name="file_import_[% authority_type.authtypecode | html %]" id="file_import_[% authority_type.authtypecode | html %]" class="input_import" /></p>
+                                        <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
+                                    </div>
+                                    <div class="modal-footer">
+                                        <button type="submit" class="btn btn-default">Import</button>
+                                        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
+                                    </div>
+                                </form>
+                            </div>
+                        </div>
+                    </div>
 
-                </td>
-            </tr>
-        [% END %]
-        <tbody>
-    </table>
+                    </td>
+                </tr>
+            [% END %]
+            <tbody>
+        </table>
+    </div> <!-- /.page-section -->
 [% END %]
 
             </main>
index 701f35a..570d363 100644 (file)
@@ -162,7 +162,7 @@ MARC frameworks &rsaquo; Administration &rsaquo; Koha
 
 [% IF op == 'list' %]
 <h1>MARC frameworks</h1>
-
+<div class="page-section">
 <table id="table_biblio_frameworks">
     <thead>
     <tr>
@@ -311,7 +311,7 @@ MARC frameworks &rsaquo; Administration &rsaquo; Koha
 
     [% END %]
 </table>
-
+</div> <!-- /.page-section -->
 [% END %]
 
             </main>
index e165aae..2ca6c01 100644 (file)
@@ -40,6 +40,8 @@
             <main>
 
 <h1>MARC bibliographic framework test</h1>
+
+<div class="page-section">
 <table>
     <tr>
         <th>Test</th>
 [% ELSE %]
     </table>
         <p><strong>Configuration OK, you don't have errors in your MARC parameters table</strong></p>
+    </div> <!-- /.page-section -->
 [% END %]
 
             </main>
index 474db75..c4d3381 100644 (file)
@@ -344,6 +344,7 @@ Classification sources &rsaquo; Administration &rsaquo; Koha
     <a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
 </div>
 <h1>Classification configuration</h1>
+<div class="page-section">
 <h2>Classification sources</h2>
 <table>
   <tr>
@@ -368,7 +369,9 @@ Classification sources &rsaquo; Administration &rsaquo; Koha
   </tr>
   [% END %]
 </table>
+</div> <!-- /.page-section -->
 
+<div class="page-section">
 <h2>Classification filing rules</h2>
 <table>
   <tr>
@@ -389,7 +392,9 @@ Classification sources &rsaquo; Administration &rsaquo; Koha
   </tr>
   [% END %]
 </table>
+</div> <!-- /.page-section -->
 
+<div class="page-section">
 <h2>Classification splitting rules</h2>
 <table>
   <tr>
@@ -410,6 +415,7 @@ Classification sources &rsaquo; Administration &rsaquo; Koha
   </tr>
   [% END %]
 </table>
+</div> <!-- /.page-section -->
 
 
 [% END %]
index ce5a9a0..27846b3 100644 (file)
         You searched for [% searchfield | html %]</span>
     [% END %]
 
-    <table id='currencies-table'>
-      <thead>
-        <tr>
-            <th>Currency</th>
-            <th>Rate</th>
-            <th>Symbol</th>
-            <th>ISO code</th>
-            <th>Last updated</th>
-            <th>Active</th>
-            <th>Archived</th>
-            <th class="NoSort noExport">Actions</th>
-        </tr>
-      </thead>
-      <tbody>
-        [% FOREACH currency IN currencies %]
-          <tr>
-            <td>[% currency.currency | html %]</td>
-            <td>[% currency.rate | html %]</td>
-            <td>[% currency.symbol | html %]</td>
-            <td>[% currency.isocode | html %]</td>
-            <td data-order="[% currency.timestamp | html %]">[% currency.timestamp | $KohaDates %]</td>
-            <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
-            <td>[% IF currency.archived %]Yes[% END %]</td>
-            <td class="actions">
-              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-pencil"></i> Edit</a>
-              <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-trash"></i> Delete</a>
-            </td>
-          </tr>
-        [% END %]
-      </tbody>
-    </table>
+    <div class="page-section">
+        <table id='currencies-table'>
+        <thead>
+            <tr>
+                <th>Currency</th>
+                <th>Rate</th>
+                <th>Symbol</th>
+                <th>ISO code</th>
+                <th>Last updated</th>
+                <th>Active</th>
+                <th>Archived</th>
+                <th class="NoSort noExport">Actions</th>
+            </tr>
+        </thead>
+        <tbody>
+            [% FOREACH currency IN currencies %]
+            <tr>
+                <td>[% currency.currency | html %]</td>
+                <td>[% currency.rate | html %]</td>
+                <td>[% currency.symbol | html %]</td>
+                <td>[% currency.isocode | html %]</td>
+                <td data-order="[% currency.timestamp | html %]">[% currency.timestamp | $KohaDates %]</td>
+                <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
+                <td>[% IF currency.archived %]Yes[% END %]</td>
+                <td class="actions">
+                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-pencil"></i> Edit</a>
+                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&amp;currency_code=[% currency.currency | html %]"><i class="fa fa-trash"></i> Delete</a>
+                </td>
+            </tr>
+            [% END %]
+        </tbody>
+        </table>
+    </div>
 
-    <br />
     <div class="hint">
         <p>
             When importing MARC files via the staging tools, the tool will attempt to find and use the price of the currently active currency.
index a3110e3..abb4b28 100644 (file)
@@ -304,7 +304,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
 [% IF display %]
 [% IF ( ediaccounts ) %]
 <h1>Vendor EDI accounts</h1>
-
+<div class="page-section">
     <table>
     <tr>
        <th>ID</th>
@@ -378,6 +378,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
     </tr>
     [% END %]
     </table>
+</div> <!-- /.page-section -->
     [% ELSE %]
         <div class="dialog message">
             There are no EDI accounts.
index 0c11fab..b585530 100644 (file)
@@ -163,6 +163,7 @@ Library EANs &rsaquo; Administration &rsaquo; Koha
 [% IF display %]
     <h1>Library EANs</h1>
 [% IF ( eans ) %]
+    <div class="page-section">
     <table>
         <tr>
             <th>Library</th>
@@ -194,6 +195,7 @@ Library EANs &rsaquo; Administration &rsaquo; Koha
             </tr>
         [% END %]
     </table>
+    </div> <!-- /.page-section -->
 [% ELSE %]
     <div class="dialog message">
         There are no library EANs.
index 4b4353a..f40f7e9 100644 (file)
@@ -70,7 +70,7 @@
           [% IF fields.size %]
               <div id="search_fields_list">
                   <h1>Item search fields</h1>
-
+                    <div class="page-section">
                   <table id="search_fields_table">
                     <thead>
                       <tr>
@@ -98,7 +98,7 @@
                       [% END %]
                     </tbody>
                   </table>
-              </div>
+              </div> <!-- /.page-section -->
           [% ELSE %]
                 <h1>Item search fields</h1>
               <div class="dialog message">
index cd69335..ca545be 100644 (file)
@@ -41,6 +41,7 @@
     <div class="dialog alert">Failed to add mapping for [% error_info | html %]</div>
 [% END %]
 
+<div class="page-section">
 <table id="kohafields">
 <thead><tr>
     <th>Koha field</th>
@@ -67,7 +68,7 @@
 [% END %]
 </tbody>
 </table>
-
+</div> <!-- /.page-section -->
 <input id="remove_field" name="remove_field" type="hidden" value=""/>
 <input id="add_field" name="add_field" type="hidden" value=""/>
 
index 49e9441..7814576 100644 (file)
@@ -75,6 +75,7 @@
                 </div>
                 [% END %]
 
+                <div class="page-section">
                 <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
                     <table id="marc-overlay-rules">
                         <thead><tr>
                         </tbody>
                     </table>
                 </form>
+                </div> <!-- /.page-section -->
 
                 <form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
                     <input type="hidden" name="op" value="redo-matching" />
index 141233e..781511e 100644 (file)
                         <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
                         <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
 
-                        <table id="table_marcsubfieldstructure">
-                            <thead>
-                                <tr>
-                                    <th>Subfield</th>
-                                    <th>Text</th>
-                                    <th>Constraints</th>
-                                    <th class="NoSort noExport">Actions</th>
-                                </tr>
-                            </thead>
-                            <tbody>
-                                [% FOREACH loo IN loop %]
+                        <div class="page-section">
+                            <table id="table_marcsubfieldstructure">
+                                <thead>
                                     <tr>
-                                        <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a></td>
-                                        <td>
-                                            [% IF loo.tab == -1 %]
-                                                <em>[% loo.liblibrarian | html_entity %]</em>
-                                            [% ELSE %]
-                                                [% loo.liblibrarian | html_entity %]
-                                            [% END %]
-                                        </td>
-                                        <td>
-                                            [% IF loo.tab == -1 %]
-                                                <em>subfield ignored</em>
-                                            [% ELSE %]
-                                                <span>Tab:</span>[% loo.tab | html %],
-                                                [% IF ( loo.kohafield ) %] | <span>Koha field:</span> [% loo.kohafield | html %], [% END %]
-                                                [% IF ( loo.repeatable ) %]<span>Repeatable</span>, [% ELSE %]<span>Not repeatable</span>,[% END %]
-                                                [% IF ( loo.mandatory ) %]<span>Mandatory</span>, [% ELSE %]<span>Not mandatory</span>,[% END %]
-                                                [% IF ( loo.important ) %]<span>Important</span>, [% ELSE %]<span>Not important</span>,[% END %]
-                                                [% IF ( loo.seealso ) %] | <span>See also:</span> [% loo.seealso | html %],[% END %]
-                                                [% IF ( loo.hidden ) %]<span>hidden</span>,[% END %]
-                                                [% IF ( loo.isurl ) %]<span>is a URL</span>,[% END %]
-                                                [% IF ( loo.authorised_value ) %] | <span>Auth value:</span>[% loo.authorised_value | html %],[% END %]
-                                                [% IF ( loo.authtypecode ) %] | <span>Authority:</span>[% loo.authtypecode | html %],[% END %]
-                                                [% IF ( loo.value_builder ) %] | <span>Plugin:</span>[% loo.value_builder | html %],[% END %]
-                                                [% IF ( loo.link ) %] | <span>Link:</span>[% loo.link | html %],[% END %]
-                                            [% END %]
-                                        </td>
-                                        <td class="actions">
-                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
-                                            <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
-                                        </td>
+                                        <th>Subfield</th>
+                                        <th>Text</th>
+                                        <th>Constraints</th>
+                                        <th class="NoSort noExport">Actions</th>
                                     </tr>
-                                [% END %]
-                            </tbody>
-                        </table> <!-- /#table_marcsubfieldstructure -->
+                                </thead>
+                                <tbody>
+                                    [% FOREACH loo IN loop %]
+                                        <tr>
+                                            <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a></td>
+                                            <td>
+                                                [% IF loo.tab == -1 %]
+                                                    <em>[% loo.liblibrarian | html_entity %]</em>
+                                                [% ELSE %]
+                                                    [% loo.liblibrarian | html_entity %]
+                                                [% END %]
+                                            </td>
+                                            <td>
+                                                [% IF loo.tab == -1 %]
+                                                    <em>subfield ignored</em>
+                                                [% ELSE %]
+                                                    <span>Tab:</span>[% loo.tab | html %],
+                                                    [% IF ( loo.kohafield ) %] | <span>Koha field:</span> [% loo.kohafield | html %], [% END %]
+                                                    [% IF ( loo.repeatable ) %]<span>Repeatable</span>, [% ELSE %]<span>Not repeatable</span>,[% END %]
+                                                    [% IF ( loo.mandatory ) %]<span>Mandatory</span>, [% ELSE %]<span>Not mandatory</span>,[% END %]
+                                                    [% IF ( loo.important ) %]<span>Important</span>, [% ELSE %]<span>Not important</span>,[% END %]
+                                                    [% IF ( loo.seealso ) %] | <span>See also:</span> [% loo.seealso | html %],[% END %]
+                                                    [% IF ( loo.hidden ) %]<span>hidden</span>,[% END %]
+                                                    [% IF ( loo.isurl ) %]<span>is a URL</span>,[% END %]
+                                                    [% IF ( loo.authorised_value ) %] | <span>Auth value:</span>[% loo.authorised_value | html %],[% END %]
+                                                    [% IF ( loo.authtypecode ) %] | <span>Authority:</span>[% loo.authtypecode | html %],[% END %]
+                                                    [% IF ( loo.value_builder ) %] | <span>Plugin:</span>[% loo.value_builder | html %],[% END %]
+                                                    [% IF ( loo.link ) %] | <span>Link:</span>[% loo.link | html %],[% END %]
+                                                [% END %]
+                                            </td>
+                                            <td class="actions">
+                                                <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
+                                                <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&amp;tagfield=[% loo.tagfield | uri %]&amp;tagsubfield=[% loo.tagsubfield | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
+                                            </td>
+                                        </tr>
+                                    [% END %]
+                                </tbody>
+                            </table> <!-- /#table_marcsubfieldstructure -->
+                        </div><!-- /.page-section -->
 
                         <form action="[% script_name | html %]" method="get">
                             <fieldset class="action"><input type="hidden" name="op" value="add_form" />
index e282707..35fa9b0 100644 (file)
@@ -260,6 +260,7 @@ MARC frameworks &rsaquo; Administration &rsaquo; Koha
 </fieldset>
 </form>
 
+<div class="page-section">
     <table id="table_marctagstructure">
     <thead>
         <tr>
@@ -311,6 +312,7 @@ MARC frameworks &rsaquo; Administration &rsaquo; Koha
     [% END %]
     </tbody>
     </table>
+    </div> <!-- /.page-section -->
 [% END %]
 
             </main>
index 3e9d47d..f1b89ae 100644 (file)
                         <div class="dialog message">Deleted record matching rule &quot;[% deleted_matching_rule | html %]&quot;</div>
                     [% END %]
                     [% IF ( available_matching_rules ) %]
-                        <table>
-                            <tr>
-                                <th>#</th>
-                                <th>Code</th>
-                                <th>Description</th>
-                                <th class="noExport">Actions</th>
-                            </tr>
-                            [% FOREACH available_matching_rule IN available_matching_rules %]
+                        <div class="page-section">
+                            <table>
                                 <tr>
-                                    <td>[% available_matching_rule.matcher_id | html %]</td>
-                                    <td>[% available_matching_rule.code | html %]</td>
-                                    <td>[% available_matching_rule.description | html %]</td>
-                                    <td class="actions">
-                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-pencil"></i> Edit</a>
-                                        <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash"></i> Delete</a>
-                                    </td>
+                                    <th>#</th>
+                                    <th>Code</th>
+                                    <th>Description</th>
+                                    <th class="noExport">Actions</th>
                                 </tr>
-                            [% END %]
-                        </table>
+                                [% FOREACH available_matching_rule IN available_matching_rules %]
+                                    <tr>
+                                        <td>[% available_matching_rule.matcher_id | html %]</td>
+                                        <td>[% available_matching_rule.code | html %]</td>
+                                        <td>[% available_matching_rule.description | html %]</td>
+                                        <td class="actions">
+                                            <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-pencil"></i> Edit</a>
+                                            <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&amp;matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash"></i> Delete</a>
+                                        </td>
+                                    </tr>
+                                [% END %]
+                            </table>
+                        </div> <!-- /.page-section -->
                     [% ELSE %]
                         <p>There are no saved matching rules.</p>
                     [% END # /IF ( available_matching_rules ) %]
index 2503134..2a2d429 100644 (file)
 
         <h1>OAI sets</h1>
         [% IF sets_loop %]
-            <table>
-                <thead>
-                    <tr>
-                        <th>setSpec</th>
-                        <th>setName</th>
-                        <th>setDescriptions</th>
-                        <th>&nbsp;</th>
-                    </tr>
-                </thead>
-                <tbody>
-                    [% FOREACH set IN sets_loop %]
+            <div class="page-section">
+                <table>
+                    <thead>
                         <tr>
-                            <td>[% set.spec | html %]</td>
-                            <td>[% set.name | html %]</td>
-                            <td>
-                                [% IF set.descriptions %]
-                                    <ul>
-                                        [% FOREACH desc IN set.descriptions %]
-                                            <li>[% desc.description | html %]</li>
-                                        [% END %]
-                                    </ul>
-                                [% ELSE %]
-                                    <em>No descriptions</em>
-                                [% END %]
-                            </td>
-                            <td>
-                              <div class="btn-group dropup">
-                                <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
-                                  Actions <b class="caret"></b></a>
-                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
-                                  <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
-                                  <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&amp;id=[% set.id | html %]"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
-                                  <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
-                                </ul>
-                              </div>
-                            </td>
+                            <th>setSpec</th>
+                            <th>setName</th>
+                            <th>setDescriptions</th>
+                            <th>&nbsp;</th>
                         </tr>
-                    [% END %]
-                </tbody>
-            </table>
+                    </thead>
+                    <tbody>
+                        [% FOREACH set IN sets_loop %]
+                            <tr>
+                                <td>[% set.spec | html %]</td>
+                                <td>[% set.name | html %]</td>
+                                <td>
+                                    [% IF set.descriptions %]
+                                        <ul>
+                                            [% FOREACH desc IN set.descriptions %]
+                                                <li>[% desc.description | html %]</li>
+                                            [% END %]
+                                        </ul>
+                                    [% ELSE %]
+                                        <em>No descriptions</em>
+                                    [% END %]
+                                </td>
+                                <td>
+                                <div class="btn-group dropup">
+                                    <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
+                                    Actions <b class="caret"></b></a>
+                                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
+                                    <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&amp;id=[% set.id | uri %]"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
+                                    <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&amp;id=[% set.id | html %]"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
+                                    <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
+                                    </ul>
+                                </div>
+                                </td>
+                            </tr>
+                        [% END %]
+                    </tbody>
+                </table>
+            </div> <!-- /.page-section -->
         [% ELSE %]
             <div class="dialog message"><p>There are no sets defined.</p></div>
         [% END %]
index e9278f2..b9d75e7 100644 (file)
     </div>
 
     [% IF servers_count > 0 %]
-        <table id="smtp_servers">
-            <thead>
-                <tr>
-                    <th>Name</th>
-                    <th>Host</th>
-                    <th>Port</th>
-                    <th>Timeout (secs)</th>
-                    <th>SSL</th>
-                    <th>Authenticated</th>
-                    <th data-class-name="actions noExport">Actions</th>
-                </tr>
-            </thead>
-        </table>
+        <div class="page-section">
+            <table id="smtp_servers">
+                <thead>
+                    <tr>
+                        <th>Name</th>
+                        <th>Host</th>
+                        <th>Port</th>
+                        <th>Timeout (secs)</th>
+                        <th>SSL</th>
+                        <th>Authenticated</th>
+                        <th data-class-name="actions noExport">Actions</th>
+                    </tr>
+                </thead>
+            </table>
+        </div> <!-- /.page-section -->
     [% END %]
 [% END %]
 
index 0a15e51..f7f8ad1 100644 (file)
     [% ELSIF searchfield %]
         You searched for [% searchfield | html %]
     [% END %]
+
+    <div class="page-section">
     <table id="serverst">
 
         <thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th>Attributes</th><th class="noExport">Actions</th>
         [% END %]
         </tbody>
     </table>
+    </div> <!-- /.page-section -->
 [% END %]
 
             </main>