LP#1757526: escape more catalog data (MFHD edition)
[working/Evergreen.git] / Open-ILS / src / templates / url_verify / select_urls.tt2
index 8ad683a..e885597 100644 (file)
@@ -1,5 +1,5 @@
-[% WRAPPER base.tt2 no_content_pane=1 %]
-[% ctx.page_title = "Link Checker - Select URLs" %]
+[% WRAPPER base.tt2 %]
+[% ctx.page_title = l("Link Checker - Select URLs") %]
 <script type="text/javascript">
     dojo.require("dijit.form.Button");
     dojo.require("openils.widget.FlattenerGrid");
     .url-verify-attempt-info { font-style: italic; }
     #session-name-here { font-weight: normal; font-size: 90%; }
 </style>
-<div class="oils-header-panel" dojoType="dijit.layout.ContentPane" layoutAlign="top">
-    <div>[% ctx.page_title %] - <span id="session-name-here"></span></div>
-    <div class="url-verify-button">
-        <button dojoType="dijit.form.Button"
-            onClick="grid.print();">[%
-            l("Print URLs")
-        %]</button>
-        <button dojoType="dijit.form.Button"
-            onClick="module.verify_selected();">[%
-            l("Verify Selected URLs")
-        %]</button>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+    <div dojoType="dijit.layout.ContentPane"
+        layoutAlign="top" class="oils-header-panel">
+        <div>[% ctx.page_title %] - <span id="session-name-here"></span></div>
+        <div class="url-verify-button">
+            <button dojoType="dijit.form.Button"
+                onClick="grid.print();">[%
+                l("Print URLs")
+            %]</button>
+            <button dojoType="dijit.form.Button"
+                onClick="grid.downloadCSV('[% l("link-checker-urls") %]',
+                    progress_dialog);">[% l("Download CSV") %]</button>
+            <button dojoType="dijit.form.Button"
+                onClick="module.verify_selected();">[%
+                l("Verify Selected URLs")
+            %]</button>
+        </div>
     </div>
-</div>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="bottom" style="height: 85%;">
+    <div class="oils-acq-basic-roomy"><!-- XXX keep for layout reasons --></div>
     <table jsid="grid"
         dojoType="openils.widget.FlattenerGrid"
         columnPersistKey="'url_verify.select_urls'"
@@ -53,7 +58,7 @@
                 <th field="author" fpath="item.target_biblio_record_entry.simple_record.author"></th>
                 <th field="isbn" fpath="item.target_biblio_record_entry.simple_record.isbn" _visible="false"></th>
                 <th field="issn" fpath="item.target_biblio_record_entry.simple_record.issn" _visible="false"></th>
-                <th field="bib_id" fpath="item.target_biblio_record_entry.id" _visible="false"></th>
+                <th style="text-align: center;" field="bib_id" fpath="item.target_biblio_record_entry.id" _visible="false"></th>
                 <!-- You do NOT want to add the "verifications" column to this
                 table with ffilter="true".  That introduces a left join to a
                 table linked to the core table in has-many relationship.  When