Lines 20-29
Link Here
|
20 |
Checkout notes |
20 |
Checkout notes |
21 |
</div> |
21 |
</div> |
22 |
|
22 |
|
23 |
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %] |
23 |
<div class="main container-fluid"> |
24 |
<div id="bd"> |
24 |
<div class="row"> |
25 |
<div id="yui-main"> |
25 |
<div class="col-sm-12"> |
26 |
[% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %] |
26 |
<main> |
|
|
27 |
<div class="row"> |
28 |
|
29 |
[% IF Koha.Preference('CircSidebar') %] |
30 |
<div class="col-sm-10 col-sm-push-2"> |
31 |
[% ELSE %] |
32 |
<div class="col-md-12 col-lg-10 col-lg-offset-1"> |
33 |
[% END %] |
27 |
|
34 |
|
28 |
<h1>Checkout notes</h1> |
35 |
<h1>Checkout notes</h1> |
29 |
|
36 |
|
Lines 42-47
Link Here
|
42 |
[% END %] |
49 |
[% END %] |
43 |
|
50 |
|
44 |
[% IF ( notes.count ) %] |
51 |
[% IF ( notes.count ) %] |
|
|
52 |
<div id="toolbar" class="btn-toolbar"> |
53 |
<button type="submit" class="btn btn-default btn-sm" name="mark_selected-seen" value="seen" disabled="disabled"><i class="fa fa-eye"></i> Mark seen</button> |
54 |
<button type="submit" class="btn btn-default btn-sm" name="mark_selected-notseen" value="notseen" disabled="disabled"><i class="fa fa-eye-slash"></i> Mark not seen</button> |
55 |
</div> |
56 |
|
45 |
<fieldset class="action" style="cursor:pointer;"> |
57 |
<fieldset class="action" style="cursor:pointer;"> |
46 |
<a class="SelectAll"><i class="fa fa-check"></i> Select all</a> |
58 |
<a class="SelectAll"><i class="fa fa-check"></i> Select all</a> |
47 |
| <a class="ClearAll"><i class="fa fa-remove"></i> Clear all</a> |
59 |
| <a class="ClearAll"><i class="fa fa-remove"></i> Clear all</a> |
Lines 50-71
Link Here
|
50 |
</fieldset> |
62 |
</fieldset> |
51 |
|
63 |
|
52 |
<form id="mark_selected" method="post" action="/cgi-bin/koha/circ/checkout-notes.pl"> |
64 |
<form id="mark_selected" method="post" action="/cgi-bin/koha/circ/checkout-notes.pl"> |
53 |
|
|
|
54 |
<fieldset class="action"> |
55 |
<button type="submit" class="btn btn-default btn-sm" name="mark_selected-seen" value="seen" disabled="disabled"><i class="fa fa-eye"></i> Mark seen</button> |
56 |
<button type="submit" class="btn btn-default btn-sm" name="mark_selected-notseen" value="notseen" disabled="disabled"><i class="fa fa-eye-slash"></i> Mark not seen</button> |
57 |
</fieldset> |
58 |
|
59 |
<table id="notestable"> |
65 |
<table id="notestable"> |
60 |
<thead> |
66 |
<thead> |
61 |
<tr> |
67 |
<tr> |
62 |
<th> </th> |
68 |
<th class="NoSort"> </th> |
63 |
<th>Title</th> |
69 |
<th class="anti-the">Title</th> |
64 |
<th>Note</th> |
70 |
<th>Note</th> |
65 |
<th class="title-string">Date</th> |
71 |
<th class="title-string">Date</th> |
66 |
<th>Set by</th> |
72 |
<th>Set by</th> |
67 |
<th>Status</th> |
73 |
<th>Status</th> |
68 |
<th>Actions</th> |
74 |
<th class="NoSort">Actions</th> |
69 |
</tr> |
75 |
</tr> |
70 |
</thead> |
76 |
</thead> |
71 |
<tbody> |
77 |
<tbody> |
Lines 98-118
Link Here
|
98 |
</form> |
104 |
</form> |
99 |
|
105 |
|
100 |
[% ELSE %] |
106 |
[% ELSE %] |
101 |
<span>There are currently no checkout notes.</span> |
107 |
<div class="dialog message">There are currently no checkout notes.</div> |
102 |
[% END %] <!-- notes --> |
108 |
[% END %] <!-- notes --> |
103 |
|
109 |
|
104 |
</div> <!-- yui-main --> |
110 |
[% IF Koha.Preference('CircSidebar') %] |
105 |
|
111 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
106 |
[% IF Koha.Preference('CircSidebar') %] |
112 |
<div class="col-sm-2 col-sm-pull-10"> |
107 |
</div> |
113 |
<aside> |
108 |
|
114 |
[% INCLUDE 'circ-nav.inc' %] |
109 |
<div class="yui-b noprint"> |
115 |
</aside> |
110 |
[% INCLUDE 'circ-nav.inc' %] |
116 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
111 |
</div> |
117 |
[% ELSE %] |
112 |
[% END %] |
118 |
</div> <!-- .col-md-12.col-lg-10.col-lg-offset-1 --> |
|
|
119 |
[% END %] |
113 |
|
120 |
|
114 |
</div> <!-- bd --> |
121 |
</div> <!-- /.row --> |
115 |
</div> <!-- doc3 --> |
122 |
</main> |
|
|
123 |
</div> <!-- /.col-sm-12 --> |
124 |
</div> <!-- /.row --> |
116 |
|
125 |
|
117 |
[% MACRO jsinclude BLOCK %] |
126 |
[% MACRO jsinclude BLOCK %] |
118 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
127 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
Lines 121-131
Link Here
|
121 |
<script> |
130 |
<script> |
122 |
$(document).ready(function(){ |
131 |
$(document).ready(function(){ |
123 |
$("#notestable").dataTable($.extend(true, {}, dataTablesDefaults, { |
132 |
$("#notestable").dataTable($.extend(true, {}, dataTablesDefaults, { |
|
|
133 |
"order": [[ 1, "asc" ]], |
124 |
"aoColumnDefs": [ |
134 |
"aoColumnDefs": [ |
125 |
{ "aTargets": [ 0, -1 ], "bSearchable": false, "bSortable": false }, |
135 |
{ "orderable": false, "searchable": false, 'targets': [ 'NoSort' ] }, |
126 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] }, |
136 |
{ "type": "title-string", "targets" : [ "title-string" ] }, |
|
|
137 |
{ "type": "anti-the", "targets": [ "anti-the" ] } |
127 |
], |
138 |
], |
128 |
"sPaginationType": "four_button" |
139 |
"pagingType": "four_button" |
129 |
})); |
140 |
})); |
130 |
|
141 |
|
131 |
$(".SelectAll").on("click", function(){ |
142 |
$(".SelectAll").on("click", function(){ |
132 |
- |
|
|