Minor presentation updates
This commit is contained in:
parent
ab1adad456
commit
84bb919269
@ -16,7 +16,7 @@ abstract class lnApp_Block extends HTMLRender {
|
|||||||
protected static $_data = array();
|
protected static $_data = array();
|
||||||
protected static $_spacer = '';
|
protected static $_spacer = '';
|
||||||
protected static $_c = 0;
|
protected static $_c = 0;
|
||||||
protected $_items = array('body','title','title_icon','type');
|
protected $_items = array('body','span','title','title_icon','type');
|
||||||
|
|
||||||
protected static $_required_keys = array('body');
|
protected static $_required_keys = array('body');
|
||||||
|
|
||||||
@ -50,8 +50,7 @@ abstract class lnApp_Block extends HTMLRender {
|
|||||||
$record = static::$_data[$this->_x];
|
$record = static::$_data[$this->_x];
|
||||||
|
|
||||||
$output = '';
|
$output = '';
|
||||||
$output .= '<div class="row">';
|
$output .= sprintf('<div class="span%s">',empty($record['span']) ? '12' : $record['span']);
|
||||||
$output .= sprintf('<div class="%s">',empty($record['span']) ? 'span12' : $record['span']);
|
|
||||||
$output .= '<div class="widget stacked">';
|
$output .= '<div class="widget stacked">';
|
||||||
|
|
||||||
if (! empty($record['title']))
|
if (! empty($record['title']))
|
||||||
@ -76,7 +75,6 @@ abstract class lnApp_Block extends HTMLRender {
|
|||||||
$output .= '</div> <!-- /widget-content -->';
|
$output .= '</div> <!-- /widget-content -->';
|
||||||
$output .= '</div> <!-- /widget-stacked -->';
|
$output .= '</div> <!-- /widget-stacked -->';
|
||||||
$output .= '</div> <!-- /span -->';
|
$output .= '</div> <!-- /span -->';
|
||||||
$output .= '</div> <!-- /row -->';
|
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
<i class="icon-step-forward next"></i>
|
<i class="icon-step-forward next"></i>
|
||||||
<i class="icon-fast-forward last"></i>
|
<i class="icon-fast-forward last"></i>
|
||||||
<select class="input-mini pagesize">
|
<select class="input-mini pagesize">
|
||||||
|
<option value="10">10</option>
|
||||||
<option selected="selected" value="25">25</option>
|
<option selected="selected" value="25">25</option>
|
||||||
<option value="50">50</option>
|
<option value="50">50</option>
|
||||||
<option value="100">100</option>
|
<option value="100">100</option>
|
||||||
|
@ -90,9 +90,9 @@
|
|||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="widget-content">
|
<div class="row">
|
||||||
<?php echo $content; ?>
|
<?php echo $content; ?>
|
||||||
</div> <!-- /widget-content -->
|
</div> <!-- /row -->
|
||||||
</div> <!-- /container -->
|
</div> <!-- /container -->
|
||||||
</div> <!-- /main -->
|
</div> <!-- /main -->
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user