]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/url_verify/review_attempt.tt2
79cfd70c387976607886e39bea1b18a6576760c9
[working/Evergreen.git] / Open-ILS / src / templates / url_verify / review_attempt.tt2
1 [% WRAPPER base.tt2 %]
2 [% ctx.page_title = "Link Checker - Review Verification Attempt" %]
3 <script type="text/javascript">
4     dojo.require("dijit.form.Button");
5     dojo.require("openils.widget.FlattenerGrid");
6     dojo.require("openils.widget.ProgressDialog");
7     dojo.require("openils.Util");
8     dojo.require("openils.CGI");
9     dojo.require("openils.URLVerify.ReviewAttempt");
10
11     /* Minimize namespace pollution, but save us some typing later. */
12     var module = openils.URLVerify.ReviewAttempt;
13
14     openils.Util.addOnLoad(
15         function() {
16             module.setup(grid, progress_dialog);
17         }
18     );
19 </script>
20 <style type="text/css">
21     .url-verify-attempt-info { font-style: italic; }
22     #session-link-here { font-weight: normal; font-size: 90%; }
23 </style>
24 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
25     <div dojoType="dijit.layout.ContentPane"
26          layoutAlign="top" class="oils-header-panel">
27         <div>[% ctx.page_title %] - <span id="session-link-here"></span></div>
28         <div>
29             <button dojoType="dijit.form.Button" onClick="grid.print();">
30                 [% l("Print verification results") %]
31             </button>
32         </div>
33     </div>
34     <div class="oils-acq-basic-roomy">
35         <!-- any blurb to precede grid can go here -->
36     </div>
37     <table
38         jsid="grid"
39         dojoType="openils.widget.FlattenerGrid"
40         columnPersistKey='"url_verify.review_attempt"'
41         autoHeight="10"
42         editOnEnter="false"
43         autoCoreFields="true"
44         autoCoreFieldsFilter="true"
45         autoCoreFieldsUnsorted="true"
46         savedFiltersInterface="'url_verify'"
47         fetchLock="true"
48         mapExtras="{attempt_id:{path:'attempt.id',filter:true,_label:'[% l("Attempt ID") %]'}}"
49         showLoadFilter="true"
50         fmClass="'uvuv'">
51         <thead>
52             <tr>
53                 <th field="redirect_from" fpath="url.redirect_from"></th><!-- From here through fragment, these are fields from uvu.  We could have just used autoFieldFields on the FlattenerGrid, but by naming them explicitly we use the same field names that we use in the URL selection interface, allowing the two interfaces to use common saved filter sets. -->
54                 <th field="tag" fpath="url.tag" ffilter="true"></th>
55                 <th field="subfield" fpath="url.subfield" ffilter="true"></th>
56                 <th field="ord" fpath="url.ord" ffilter="true"></th>
57                 <th field="full_url" fpath="url.full_url" ffilter="true"></th>
58                 <th field="scheme" fpath="url.scheme" _visible="false" ffilter="true"></th>
59                 <th field="host" fpath="url.host" _visible="false" ffilter="true"></th>
60                 <th field="domain" fpath="url.domain" _visible="false" ffilter="true"></th>
61                 <th field="tld" fpath="url.tld" _visible="false" ffilter="true"></th>
62                 <th field="path" fpath="url.path" _visible="false" ffilter="true"></th>
63                 <th field="page" fpath="url.page" _visible="false" ffilter="true"></th>
64                 <th field="query" fpath="url.query" _visible="false" ffilter="true"></th>
65                 <th field="fragment" fpath="url.fragment" _visible="false" ffilter="true"></th>
66                 <th field="title" fpath="url.item.target_biblio_record_entry.simple_record.title"></th>
67                 <th field="author" fpath="url.item.target_biblio_record_entry.simple_record.author"></th>
68                 <th field="isbn" fpath="url.item.target_biblio_record_entry.simple_record.isbn" _visible="false"></th>
69                 <th field="issn" fpath="url.item.target_biblio_record_entry.simple_record.issn" _visible="false"></th>
70                 <th field="bib_id" fpath="url.item.target_biblio_record_entry.id" formatter="module.format_bib_id"></th>
71             </tr>
72         </thead>
73     </table>
74 </div>
75 <div class="hidden">
76     <div dojoType="openils.widget.ProgressDialog" jsId="progress_dialog"></div>
77 </div>
78 [% END %]