Lines 1-5
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
|
|
3 |
[% USE I18N %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
|
6 |
|
Lines 52-68
Link Here
|
52 |
|
53 |
|
53 |
<div class="main container-fluid"> |
54 |
<div class="main container-fluid"> |
54 |
<div class="row"> |
55 |
<div class="row"> |
55 |
<div class="col-sm-10 col-sm-push-2"> |
56 |
<div class="col-md-10 order-md-2 order-sm-1"> |
56 |
<main> |
57 |
<main> |
57 |
|
58 |
|
58 |
[% IF msg_deleted %] |
59 |
[% IF msg_deleted %] |
59 |
<div class="dialog alert">OAI repository deleted ([% msg_add | html %])</div> |
60 |
<div class="alert alert-warning">OAI repository deleted ([% msg_add | html %])</div> |
60 |
[% ELSIF msg_updated %] |
61 |
[% ELSIF msg_updated %] |
61 |
<div class="dialog message">OAI repository updated ([% msg_add | html %])</div> |
62 |
<div class="alert alert-info">OAI repository updated ([% msg_add | html %])</div> |
62 |
[% ELSIF msg_added %] |
63 |
[% ELSIF msg_added %] |
63 |
<div class="dialog message">OAI repository added ([% msg_add | html %])</div> |
64 |
<div class="alert alert-info">OAI repository added ([% msg_add | html %])</div> |
64 |
[% ELSIF msg_notfound %] |
65 |
[% ELSIF msg_notfound %] |
65 |
<div class="dialog alert">Error: Server with ID [% msg_add | html %] not found</div> |
66 |
<div class="alert alert-warning">Error: Server with ID [% msg_add | html %] not found</div> |
66 |
[% END %] |
67 |
[% END %] |
67 |
|
68 |
|
68 |
[% IF ( add_form ) %] |
69 |
[% IF ( add_form ) %] |
Lines 149-162
Link Here
|
149 |
</td> |
150 |
</td> |
150 |
<td> |
151 |
<td> |
151 |
<div class="btn-group dropup"> |
152 |
<div class="btn-group dropup"> |
152 |
<a class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-toggle="dropdown" href="#"> |
153 |
<a class="btn btn-default btn-xs dropdown-toggle" id="reportactions[% savedreport.id | html %]" role="button" data-bs-toggle="dropdown" href="#"> |
153 |
Actions <b class="caret"></b> |
154 |
Actions |
154 |
</a> |
155 |
</a> |
155 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]"> |
156 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reportactions[% savedreport.id | html %]"> |
156 |
<li><a href="/cgi-bin/koha/admin/oai_servers.pl?op=edit&id=[% loo.oai_server_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a></li> |
157 |
<li><a class="dropdown-item" href="/cgi-bin/koha/admin/oai_servers.pl?op=edit&id=[% loo.oai_server_id | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a></li> |
157 |
<li><a href="/cgi-bin/koha/admin/oai_servers.pl?op=add&id=[% loo.oai_server_id | uri %]"><i class="fa fa-copy"></i> Copy</a></li> |
158 |
<li><a class="dropdown-item" href="/cgi-bin/koha/admin/oai_servers.pl?op=add&id=[% loo.oai_server_id | uri %]"><i class="fa fa-copy"></i> Copy</a></li> |
158 |
<li> |
159 |
<li> |
159 |
<a href="#" class="delete" data-formid="server_row_[% loo.oai_server_id | uri %]" data-servername="[% loo.servername | html %]"><i class="fa fa-trash-can"></i> Delete</a> |
160 |
<a href="#" class="dropdown-item delete" data-formid="server_row_[% loo.oai_server_id | uri %]" data-servername="[% loo.servername | html %]"><i class="fa fa-trash-can"></i> Delete</a> |
160 |
<form id="server_row_[% loo.oai_server_id | uri %]" action="/cgi-bin/koha/admin/oai_servers.pl" method="post"> |
161 |
<form id="server_row_[% loo.oai_server_id | uri %]" action="/cgi-bin/koha/admin/oai_servers.pl" method="post"> |
161 |
[% INCLUDE 'csrf-token.inc' %] |
162 |
[% INCLUDE 'csrf-token.inc' %] |
162 |
<input type="hidden" name="op" value="cud-delete_confirmed"> |
163 |
<input type="hidden" name="op" value="cud-delete_confirmed"> |
Lines 175-187
Link Here
|
175 |
[% END %] |
176 |
[% END %] |
176 |
|
177 |
|
177 |
</main> |
178 |
</main> |
178 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
179 |
</div> <!-- /.col-md-10.order-md-2 --> |
179 |
|
180 |
|
180 |
<div class="col-sm-2 col-sm-pull-10"> |
181 |
<div class="col-md-2 order-sm-2 order-md-1"> |
181 |
<aside> |
182 |
<aside> |
182 |
[% INCLUDE 'admin-menu.inc' %] |
183 |
[% INCLUDE 'admin-menu.inc' %] |
183 |
</aside> |
184 |
</aside> |
184 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
185 |
</div> <!-- /.col-md-2.order-md-1 --> |
185 |
</div> <!-- /.row --> |
186 |
</div> <!-- /.row --> |
186 |
|
187 |
|
187 |
[% MACRO jsinclude BLOCK %] |
188 |
[% MACRO jsinclude BLOCK %] |
188 |
- |
|
|