EventHistory Overview: Show the load more link as button and centered

refs #8615
This commit is contained in:
Johannes Meyer 2015-08-06 12:50:17 +02:00
parent ea3e0bc013
commit b9e0a80479
2 changed files with 9 additions and 3 deletions

View File

@ -117,7 +117,7 @@ if (! $this->compact): ?>
)
); ?>
<?php else: ?>
<?= $this->qlink(
<div class="load-more-container"><?= $this->qlink(
$this->translate('Load More'),
$url->setAnchor('page-' . ($page + 1)),
array(
@ -125,9 +125,9 @@ if (! $this->compact): ?>
),
array(
'id' => 'load-more',
'class' => 'pull-right load-more'
'class' => 'pull-right load-more button-like'
)
); ?>
); ?></div>
<?php endif ?>
<?php endif ?>
</div>

View File

@ -70,4 +70,10 @@ a.show-more, a.load-more {
a.load-more-hint {
display: inline-block;
margin-left: 1em;
}
div.load-more-container {
display: table;
margin: 0 auto;
margin-top: 0.5em;
}