Updated font-awesome and bootstrap
This commit is contained in:
@@ -50,11 +50,11 @@ abstract class lnApp_Block extends HTMLRender {
|
||||
$record = self::$_data[$this->_x];
|
||||
|
||||
$output = '';
|
||||
$output .= sprintf('<div class="span%s %s">',empty($record['span']) ? '12' : $record['span'],empty($record['scrollable']) ? '' : 'scrollable');
|
||||
$output .= sprintf('<div class="col-md-%s %s">',empty($record['span']) ? '12' : $record['span'],empty($record['scrollable']) ? '' : 'scrollable');
|
||||
$output .= '<div class="widget stacked">';
|
||||
|
||||
if (! empty($record['title']))
|
||||
$output .= sprintf('<div class="widget-header">%s<h3>%s</h3></div>',empty($record['title_icon']) ? '' : sprintf(' <i class="%s"></i>',$record['title_icon']),$record['title']);
|
||||
$output .= sprintf('<div class="widget-header">%s<h3>%s</h3></div>',empty($record['title_icon']) ? '' : sprintf(' <i class="fa %s"></i>',$record['title_icon']),$record['title']);
|
||||
|
||||
$output .= '<div class="widget-content">';
|
||||
|
||||
@@ -65,7 +65,7 @@ abstract class lnApp_Block extends HTMLRender {
|
||||
$output .= Form::close();
|
||||
break;
|
||||
|
||||
case 'form-horizontal': $output .= Form::open(NULL,Arr::merge(array('class'=>'form-horizontal'),(empty($record['id']) ? array() : array('id'=>$record['id']))));
|
||||
case 'form-horizontal': $output .= Form::open(NULL,Arr::merge(array('class'=>'form-horizontal','role'=>'form'),(empty($record['id']) ? array() : array('id'=>$record['id']))));
|
||||
$output .= (string)$record['body'];
|
||||
$output .= Form::close();
|
||||
break;
|
||||
@@ -79,7 +79,7 @@ abstract class lnApp_Block extends HTMLRender {
|
||||
|
||||
$output .= '</div> <!-- /widget-content -->';
|
||||
$output .= '</div> <!-- /widget-stacked -->';
|
||||
$output .= '</div> <!-- /span -->';
|
||||
$output .= '</div> <!-- /col-md -->';
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
Reference in New Issue
Block a user