app password list: fix th/td alignment

master
Andrew Dolgov 4 years ago
parent b1961163b8
commit 4fe2e6bbf1

@ -1434,10 +1434,10 @@ class Pref_Prefs extends Handler_Protected {
<div class='panel panel-scrollable'> <div class='panel panel-scrollable'>
<table width='100%' id='app-password-list'> <table width='100%' id='app-password-list'>
<tr> <tr>
<th width='2%'> </th> <th class="checkbox"> </th>
<th align='left'><?= __("Description") ?></th> <th width='50%'><?= __("Description") ?></th>
<th align='right'><?= __("Created") ?></th> <th><?= __("Created") ?></th>
<th align='right'><?= __("Last used") ?></th> <th><?= __("Last used") ?></th>
</tr> </tr>
<?php <?php
@ -1448,16 +1448,16 @@ class Pref_Prefs extends Handler_Protected {
foreach ($passwords as $pass) { ?> foreach ($passwords as $pass) { ?>
<tr data-row-id='<?= $pass['id'] ?>'> <tr data-row-id='<?= $pass['id'] ?>'>
<td align='center'> <td class="checkbox">
<input onclick='Tables.onRowChecked(this)' dojoType='dijit.form.CheckBox' type='checkbox'> <input onclick='Tables.onRowChecked(this)' dojoType='dijit.form.CheckBox' type='checkbox'>
</td> </td>
<td> <td>
<?= htmlspecialchars($pass["title"]) ?> <?= htmlspecialchars($pass["title"]) ?>
</td> </td>
<td align='right' class='text-muted'> <td class='text-muted'>
<?= TimeHelper::make_local_datetime($pass['created'], false) ?> <?= TimeHelper::make_local_datetime($pass['created'], false) ?>
</td> </td>
<td align='right' class='text-muted'> <td class='text-muted'>
<?= TimeHelper::make_local_datetime($pass['last_used'], false) ?> <?= TimeHelper::make_local_datetime($pass['last_used'], false) ?>
</td> </td>
</tr> </tr>

Loading…
Cancel
Save