Skip to content

Commit

Permalink
Dev: Tokens display, x-scrollable, first step
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 26, 2016
1 parent 4303cac commit 605798a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/models/TokenDynamic.php
Expand Up @@ -534,7 +534,7 @@ public function getStandardColsForGrid()
'name' => 'actions',
'value'=>'$data->buttons',
'type'=>'raw',
'htmlOptions' => array('class' => 'text-right'),
'htmlOptions' => array('class' => 'text-left'),
),

array(
Expand Down
4 changes: 2 additions & 2 deletions application/views/admin/token/browse.php
Expand Up @@ -235,7 +235,7 @@ function checkMandatoryAttr(value, colname) {

<!-- Grid -->
<div class="row">
<div class="col-sm-12 content-right">
<div class="content-right" style="overflow-x: scroll;">
<?php
$this->widget('bootstrap.widgets.TbGridView', array(
'dataProvider' => $model->search(),
Expand All @@ -249,7 +249,7 @@ function checkMandatoryAttr(value, colname) {
Yii::app()->params['pageSizeOptions'],
array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto'))),
'itemsCssClass' =>'table-striped',

//'htmlOptions'=>array('style'=>'max-width: none;'),
'columns' => $model->attributesForGrid,

));
Expand Down
9 changes: 9 additions & 0 deletions styles/Sea_Green/css/lime-admin-common.css
Expand Up @@ -1927,3 +1927,12 @@ h3,.h3 {
{
background-color: #f5f5f5;
}

#token-grid table.table {
width: none;
max-width: none;
}

#token-grid table tbody tr td {
min-width: 100px;
}

0 comments on commit 605798a

Please sign in to comment.