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

View File

@ -71,3 +71,9 @@ a.load-more-hint {
display: inline-block; display: inline-block;
margin-left: 1em; margin-left: 1em;
} }
div.load-more-container {
display: table;
margin: 0 auto;
margin-top: 0.5em;
}