Skip to content

Commit

Permalink
Merge pull request #46 from ZeinEddin/master
Browse files Browse the repository at this point in the history
support for bootstrap 3 by adding the bootstrap 3 classes in addition to the bootstrap 2 classes so that both will be supported
  • Loading branch information
ThaDafinser committed Nov 6, 2013
2 parents b56f92a + 6df68c5 commit 01c5438
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions view/zfc-datagrid/renderer/bootstrapTable/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ if($this->rowClickAction !== null){
<?php
if($column->isSortActive() === true){
if($column->getSortActiveDirection() === 'ASC'):?>
<i class="icon-chevron-down"></i>
<i class="icon-chevron-down glyphicon glyphicon-chevron-down"></i>
<?php else: ?>
<i class="icon-chevron-up"></i>
<i class="icon-chevron-up glyphicon glyphicon-chevron-up"></i>
<?php endif;
}
?>
Expand Down Expand Up @@ -141,16 +141,16 @@ $paginatorOnclick = 'document.forms[\'form_'.$this->gridId.'\'].elements[\'' . $
$paginatorOnclick.= 'document.forms[\'form_'.$this->gridId.'\'].submit(); return false;';
?>
<!-- Start Pagination -->
<div class="row-fluid">
<div class="span4">
<div class="row-fluid row">
<div class="span4 col-md-4">
<?php echo $this->translate('Page').' '.$this->paginator->getCurrentPageNumber().' '.$this->translate('of').' '.$this->paginator->count(); ?>
</div>
<div class="span4">
<div class="span4 col-md-4">
<div class="pagination">

<input type="hidden" name="<?php echo $this->parameterNames['currentPage']; ?>" value="<?php echo $pages->current; ?>" />
<?php if (count($pages->pagesInRange) > 1): ?>
<ul>
<ul class="pagination">
<?php if($pages->current > 1):?>
<li><a href="<?php echo
$this->url(null,
Expand Down Expand Up @@ -230,7 +230,7 @@ $paginatorOnclick.= 'document.forms[\'form_'.$this->gridId.'\'].submit(); return
<?php endif; ?>
</div>
</div>
<div class="span4 text-right">
<div class="span4 col-md-4 text-right">
<?php echo $this->translate('Showing').' '.$this->paginator->getCurrentItemCount().' '.$this->translate('of').' '.$this->paginator->getTotalItemCount().' '.$this->translate('items'); ?>
</div>
</div><!-- End Pagination -->
Expand Down

0 comments on commit 01c5438

Please sign in to comment.