mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-29 10:26:46 -04:00
Floated elements in table headings should appear before anything else. Fixes odd white space between column heading and and button on admin maintenance page when browser window is narrow.
This commit is contained in:
@@ -61,10 +61,10 @@
|
||||
<?= t("Owner") ?>
|
||||
</th>
|
||||
<th>
|
||||
<?= t("Action") ?>
|
||||
<a href="<?= url::site("admin/maintenance/cancel_running_tasks?csrf=$csrf") ?>"
|
||||
class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
|
||||
<?= t("cancel all") ?></a>
|
||||
<?= t("Action") ?>
|
||||
</th>
|
||||
</tr>
|
||||
<? $i = 0; ?>
|
||||
@@ -95,16 +95,16 @@
|
||||
<?= html::clean($task->owner()->name) ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?= url::site("admin/maintenance/cancel/$task->id?csrf=$csrf") ?>"
|
||||
class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
|
||||
<?= t("cancel") ?>
|
||||
</a>
|
||||
<? if ($task->state == "stalled"): ?>
|
||||
<a class="gDialogLink gButtonLink ui-icon-left ui-state-default ui-corner-all"
|
||||
href="<?= url::site("admin/maintenance/resume/$task->id?csrf=$csrf") ?>">
|
||||
<?= t("resume") ?>
|
||||
</a>
|
||||
<? endif ?>
|
||||
<a href="<?= url::site("admin/maintenance/cancel/$task->id?csrf=$csrf") ?>"
|
||||
class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
|
||||
<?= t("cancel") ?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<? $i++ ?>
|
||||
@@ -134,10 +134,10 @@
|
||||
<?= t("Owner") ?>
|
||||
</th>
|
||||
<th>
|
||||
<?= t("Action") ?>
|
||||
<a href="<?= url::site("admin/maintenance/remove_finished_tasks?csrf=$csrf") ?>"
|
||||
class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
|
||||
<span class="ui-icon ui-icon-trash"></span><?= t("remove all finished") ?></a>
|
||||
<?= t("Action") ?>
|
||||
</th>
|
||||
</tr>
|
||||
<? $i = 0; ?>
|
||||
|
||||
Reference in New Issue
Block a user