| @ -1,16 +1,22 @@ | |||||
| <?php $this->layout('layout-loggedin', ['title' => $title, 'accounts' => $accounts, 'user' => $user]); ?> | <?php $this->layout('layout-loggedin', ['title' => $title, 'accounts' => $accounts, 'user' => $user]); ?> | ||||
| <div class="ui main text container"> | |||||
| <div class="ui main text container" style="margin-top: 80px;"> | |||||
| <table class="ui striped table fixed single line"> | |||||
| <table class="ui striped table single line"> | |||||
| <thead> | <thead> | ||||
| <th>Status</th> | |||||
| <th>Date</th> | <th>Date</th> | ||||
| <th>Source & Target</th> | <th>Source & Target</th> | ||||
| </thead> | </thead> | ||||
| <?php foreach($webmentions as $mention): ?> | <?php foreach($webmentions as $mention): ?> | ||||
| <tr> | |||||
| <td><?= $mention['webmention']->created_at ?></td> | |||||
| <td><?= $this->e($mention['webmention']->source) ?><br><?= $this->e($mention['webmention']->target) ?></td> | |||||
| <tr<?= $mention['status'] == 'pending' ? ' class="warning"' : '' ?>> | |||||
| <td><i class="<?= $mention['icon'] ?> icon"></i></td> | |||||
| <td><a href="/webmention/<?= $mention['webmention']->token ?>/details"><?= date('M j, g:ia', strtotime($mention['webmention']->created_at)) ?></a></td> | |||||
| <td> | |||||
| source=<?= $this->e($mention['webmention']->source) ?><br> | |||||
| target=<?= $this->e($mention['webmention']->target) ?></td> | |||||
| </tr> | </tr> | ||||
| <?php endforeach; ?> | <?php endforeach; ?> | ||||
| </table> | </table> | ||||