summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-06 20:03:36 +0300
committerAndrew Dolgov <[email protected]>2021-03-06 20:03:36 +0300
commit68ecf52594e76f3f5ac40846359fb774cd366989 (patch)
tree51fe5fcbab0fa600f375b545b89db8f475e1ceb4 /classes
parent473ea6255c634fa47ee8c8e24de910785b9b095b (diff)
some small layout fixes, remove a few inline styles
Diffstat (limited to 'classes')
-rw-r--r--classes/pref/prefs.php2
-rw-r--r--classes/pref/system.php12
-rw-r--r--classes/pref/users.php25
3 files changed, 21 insertions, 18 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 7e83a6e64..ea9e6a967 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -878,7 +878,7 @@ class Pref_Prefs extends Handler_Protected {
?> -->
<ul id="prefs-plugin-list" class="prefs-plugin-list list-unstyled">
- <li><?= __("Loading, please wait...") ?></li>
+ <li class='text-center'><?= __("Loading, please wait...") ?></li>
</ul>
</div>
diff --git a/classes/pref/system.php b/classes/pref/system.php
index 3456cd51f..0ccbdfea1 100644
--- a/classes/pref/system.php
+++ b/classes/pref/system.php
@@ -117,12 +117,12 @@ class Pref_System extends Handler_Administrative {
<table width='100%' class='event-log'>
- <tr class='title'>
- <td width='5%'><?= __("Error") ?></td>
- <td><?= __("Filename") ?></td>
- <td><?= __("Message") ?></td>
- <td width='5%'><?= __("User") ?></td>
- <td width='5%'><?= __("Date") ?></td>
+ <tr>
+ <th width='5%'><?= __("Error") ?></th>
+ <th><?= __("Filename") ?></th>
+ <th><?= __("Message") ?></th>
+ <th width='5%'><?= __("User") ?></th>
+ <th width='5%'><?= __("Date") ?></th>
</tr>
<?php
diff --git a/classes/pref/users.php b/classes/pref/users.php
index 068166863..2e3dc4b67 100644
--- a/classes/pref/users.php
+++ b/classes/pref/users.php
@@ -248,13 +248,13 @@ class Pref_Users extends Handler_Administrative {
<table width='100%' class='users-list' id='users-list'>
- <tr class='title'>
- <td align='center' width='5%'> </td>
- <td width='20%'><a href='#' onclick="Users.reload('login')"><?= ('Login') ?></a></td>
- <td width='20%'><a href='#' onclick="Users.reload('access_level')"><?= ('Access Level') ?></a></td>
- <td width='10%'><a href='#' onclick="Users.reload('num_feeds')"><?= ('Subscribed feeds') ?></a></td>
- <td width='20%'><a href='#' onclick="Users.reload('created')"><?= ('Registered') ?></a></td>
- <td width='20%'><a href='#' onclick="Users.reload('last_login')"><?= ('Last login') ?></a></td>
+ <tr>
+ <th></th>
+ <th><a href='#' onclick="Users.reload('login')"><?= ('Login') ?></a></th>
+ <th><a href='#' onclick="Users.reload('access_level')"><?= ('Access Level') ?></a></th>
+ <th><a href='#' onclick="Users.reload('num_feeds')"><?= ('Subscribed feeds') ?></a></th>
+ <th><a href='#' onclick="Users.reload('created')"><?= ('Registered') ?></a></th>
+ <th><a href='#' onclick="Users.reload('last_login')"><?= ('Last login') ?></a></th>
</tr>
<?php
@@ -270,16 +270,19 @@ class Pref_Users extends Handler_Administrative {
foreach ($users as $user) { ?>
<tr data-row-id='<?= $user["id"] ?>' onclick='Users.edit(<?= $user["id"] ?>)' title="<?= __('Click to edit') ?>">
- <td align='center'>
+ <td class='checkbox'>
<input onclick='Tables.onRowChecked(this); event.stopPropagation();'
dojoType='dijit.form.CheckBox' type='checkbox'>
</td>
- <td><i class='material-icons'>person</i> <?= htmlspecialchars($user["login"]) ?></td>
+ <td width='30%'>
+ <i class='material-icons'>person</i>
+ <strong><?= htmlspecialchars($user["login"]) ?></strong>
+ </td>
<td><?= $access_level_names[$user["access_level"]] ?></td>
<td><?= $user["num_feeds"] ?></td>
- <td><?= TimeHelper::make_local_datetime($user["created"], false) ?></td>
- <td><?= TimeHelper::make_local_datetime($user["last_login"], false) ?></td>
+ <td class='text-muted'><?= TimeHelper::make_local_datetime($user["created"], false) ?></td>
+ <td class='text-muted'><?= TimeHelper::make_local_datetime($user["last_login"], false) ?></td>
</tr>
<?php } ?>
</table>