Wainui Witika-Park
275875c3b9
Changed each of the pages in the tools and virtualshelves folders to have one <h1> tag showing that describes the page, rather than the <h1> describing the logo. The hierarchy of heading tags may be broken in many pages, but this will be dealt with in an additional bug. To test: 1) Go to the Staff Client 2) Apply patch 3) Go to each of the pages in the tools and virtualshelves folders and check that they have an obvious and descriptive heading 4) Ensure that the heading in the page is <h1> Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
118 lines
3.4 KiB
Text
118 lines
3.4 KiB
Text
[% USE raw %]
|
|
[% USE Asset %]
|
|
[% SET footerjs = 1 %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Task scheduler › Tools › Koha</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
|
|
<body id="tools_scheduler" class="tools">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'circ-search.inc' %]
|
|
|
|
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
|
|
<ol>
|
|
<li>
|
|
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
|
|
</li>
|
|
<li>
|
|
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
|
|
</li>
|
|
<li>
|
|
<a href="#" aria-current="page">
|
|
Task scheduler
|
|
</a>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<div class="main container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-10 col-sm-push-2">
|
|
<main>
|
|
|
|
<h1>Task scheduler</h1>
|
|
|
|
[% IF ( job_add_failed ) %]
|
|
<div class="dialog message">Failed to add scheduled task</div>
|
|
[% END %]
|
|
|
|
<form name="form1" action="scheduler.pl" method="post">
|
|
<input type="hidden" name="mode" value="job_add" />
|
|
|
|
<fieldset class="rows">
|
|
<legend>Task scheduler</legend><ol>
|
|
<li><span class="label">Current server time is:</span>
|
|
[% time | html %]</li>
|
|
<li><label for="starttime">Time:</label>
|
|
<input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
|
|
<li>
|
|
<label for="startdate">Date: </label>
|
|
<input type="text" size="10" id="startdate" name="startdate" class="flatpickr" data-flatpickr-futuredate="true" value="" />
|
|
<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
|
|
</li>
|
|
<li><label for="report">Report:</label>
|
|
<select name="report" id="report">
|
|
[% FOREACH savedreport IN savedreports %]
|
|
[% IF ( savedreport.selected ) %]
|
|
<option value="[% savedreport.id | html %]" selected="selected">[% savedreport.report_name | html %]</option>
|
|
[% ELSE %]
|
|
<option value="[% savedreport.id | html %]">[% savedreport.report_name | html %]</option>
|
|
[% END %]
|
|
[% END %]
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label for="format">Output format:</label>
|
|
<select name="format" id="format">
|
|
<option value="text">Text (TSV)</option>
|
|
<option value="csv">CSV</option>
|
|
<option value="html">HTML</option>
|
|
</select>
|
|
</li>
|
|
<li><label for="email">Email:</label>
|
|
|
|
<input type="text" name="email" id="email" size="50" />
|
|
</li>
|
|
</ol></fieldset>
|
|
<fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
|
|
</form>
|
|
|
|
[% IF ( JOBS ) %]<h2>Jobs already entered</h2>
|
|
<table>
|
|
<tr>
|
|
<th>Date/Time</th>
|
|
<th>Action</th>
|
|
<th> </th>
|
|
</tr>
|
|
[% FOREACH JOB IN JOBS %]
|
|
<form action="scheduler.pl" method="post">
|
|
<input type="hidden" name="mode" value="job_change" />
|
|
|
|
<tr>
|
|
<td>[% JOB.TIME | html %]</td>
|
|
<td>[% JOB.TAG | html %]</td>
|
|
<td><input type="submit" name="delete" value="Delete" /></td>
|
|
</tr>
|
|
<input type="hidden" name="jobid" value="[% JOB.JOBID | html %]" />
|
|
</form>
|
|
[% END %]
|
|
</table>[% END %]
|
|
|
|
</main>
|
|
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
|
|
|
<div class="col-sm-2 col-sm-pull-10">
|
|
<aside>
|
|
[% INCLUDE 'tools-menu.inc' %]
|
|
[% INCLUDE 'guided-reports-view.inc' %]
|
|
</aside>
|
|
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
|
|
</div> <!-- /.row -->
|
|
|
|
[% MACRO jsinclude BLOCK %]
|
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
|
[% INCLUDE 'calendar.inc' %]
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|