aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/view/templates/home.php6
-rw-r--r--assets/css/home.css2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 60dd836..9c71b53 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -37,7 +37,7 @@
<thead>
<tr>
<?php if($user->issupereditor()) { ?><th id="checkall" class="hidephone">x</th> <?php } ?>
- <th><a href="<?= $opt->sortbyorder('id') ?>">id</a></th>
+ <th class="id"><a href="<?= $opt->sortbyorder('id') ?>">id</a></th>
<th>edit</th>
<th>see</th>
<th class="delete" title="delete page">del</th>
@@ -89,7 +89,7 @@
<?php foreach ($table2 as $item) { ?>
<tr>
<?php if($user->issupereditor()) { ?><td class="hidephone"><input type="checkbox" name="pagesid[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>" form="multi"></td><?php } ?>
- <td><label title="<?= $item->title() ?>" for="id_<?= $item->id() ?>"><?= $item->id() ?></label></td>
+ <td class="id"><label title="<?= $item->title() ?>" for="id_<?= $item->id() ?>"><?= $item->id() ?></label></td>
<td><?php if($user->issupereditor() || in_array($user->id(), $item->authors())) { ?><a href="<?= $this->upage('pageedit', $item->id()) ?>"><img src="<?= Wcms\Model::iconpath() ?>edit.png" class="icon"></a><?php } ?></td>
<td><a href="<?= $this->upage('pageread/', $item->id()) ?>" target="_blank"><img src="<?= Wcms\Model::iconpath() ?>read.png" class="icon"></a></td>
<td class="delete"><?php if($user->issupereditor() || $item->authors() === [$user->id()]) { ?><a href="<?= $this->upage('pagedelete', $item->id()) ?>">✖</a><?php } ?></td>
@@ -100,7 +100,7 @@
<td class="tag"><?= $opt->taglinks($item->tag('array')) ?></td>
<?php }
if ($columns['title']) { ?>
- <td class="title" title="<?= $item->title() ?>"><?= $item->title() ?></td>
+ <td class="title" title="<?= $item->title() ?>"><label for="id_<?= $item->id() ?>"><?= $item->title() ?></label></td>
<?php }
if ($columns['description']) { ?>
<td class="summary" title="<?= $item->description() ?>"><?= $item->description('short') ?></td>
diff --git a/assets/css/home.css b/assets/css/home.css
index b14f9a1..a801ba8 100644
--- a/assets/css/home.css
+++ b/assets/css/home.css
@@ -107,7 +107,7 @@ main.home div#main {
flex-direction: column;
}
-main.home table#home2table label {
+main.home table .id {
font-family: monospace;
font-size: medium;
}