Skip to content

Commit

Permalink
Floated elements in table headings should appear before anything else…
Browse files Browse the repository at this point in the history
…. Fixes odd white space between column heading and and button on admin maintenance page when browser window is narrow.
  • Loading branch information
ckieffer committed Sep 30, 2009
1 parent daa3a2b commit 1c68190
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/gallery/views/admin_maintenance.html.php
Expand Up @@ -61,10 +61,10 @@ class="gDialogLink gButtonLink ui-icon-left ui-state-default ui-corner-all">
<?= 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; ?>
Expand Down Expand Up @@ -95,16 +95,16 @@ class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
<?= 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++ ?>
Expand Down Expand Up @@ -134,10 +134,10 @@ class="gButtonLink g-right ui-icon-left ui-state-default ui-corner-all">
<?= 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; ?>
Expand Down

0 comments on commit 1c68190

Please sign in to comment.