summaryrefslogtreecommitdiff
path: root/core/views/admin_maintenance.html.php
blob: 0d9f6adb16b5f40fe5df121a3212629b3b23641c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gMaintenance">
  <h1> <?= _("Maintenance Tasks") ?> </h1>
  <p>
    <?= _("Occasionally your Gallery will require some maintenance.  Here are some tasks you can run to keep it running smoothly.") ?>
  </p>

  <div id="gAvailableTasks">
    <h2> <?= _("Available Tasks") ?> </h2>
    <table style="width: 400px">
      <? foreach ($available_tasks as $task) ?>
      <tr>
        <td>
          <?= $task->description ?>
        </td>
        <td>
          <a href="<?= url::site("admin/maintenance/start/$task->name") ?>" class="gDialogLink">
            <?= _("run") ?>
          </a>
        </td>
      </tr>
    </table>
  </div>

  <div id="gRunningTasks">
    <h2> <?= _("Running Tasks") ?> </h2>

    <i> Task list goes here </i>
  </div>
</div>