|
|
@@ -286,14 +286,18 @@ class TableAjax extends ViewAjax {
|
|
|
$baseUrl = Router::getRoute('ViewTableAjax')->getLink();
|
|
|
}
|
|
|
echo UI::h('div', [ 'class' => "AjaxTableCont" ], [
|
|
|
- UI::h('ul', [ 'class' => "breadcrumb" ], [
|
|
|
- UI::h('li', [], [
|
|
|
- UI::h('a', [ 'href' => "#", 'onclick' => "return tableAjaxBackToTable();" ], $this->getLabelHtml() ),
|
|
|
+ UI::h('div', [ 'class' => "AjaxTable--header" ], [ // breadcrumb
|
|
|
+ UI::h('div', [ 'class' => "pull-left", 'style' => "margin-right:12px" ], [
|
|
|
+ UI::h('a', [
|
|
|
+ 'href' => "#",
|
|
|
+ 'onclick' => "return tableAjaxBackToTable();",
|
|
|
+ 'class' => "AjaxTable--title",
|
|
|
+ ], $this->getLabelHtml(100) ),
|
|
|
]),
|
|
|
|
|
|
($hasPermCreate)
|
|
|
- ? UI::h('li', [], [
|
|
|
- UI::h('a', [ 'title' => "Dodaj nowy rekord", 'class' => "", 'href' => "#CREATE" ], [
|
|
|
+ ? UI::h('div', [ 'class' => "btn-group pull-left" ], [
|
|
|
+ UI::h('a', [ 'title' => "Dodaj nowy rekord", 'class' => "btn btn-xs btn-default", 'href' => "#CREATE" ], [
|
|
|
UI::h('span', [ 'class' => "glyphicon glyphicon-plus" ]),
|
|
|
" Dodaj nowy rekord",
|
|
|
]),
|
|
|
@@ -506,7 +510,7 @@ class TableAjax extends ViewAjax {
|
|
|
'HAS_ADDITIONAL_LAYERS' => $this->hasAdditionalLayers() ? 1 : 0,
|
|
|
'URL_ADD_USER_TABLE_FILTER_AJAX' => Request::getPathUri() . "index.php?_route=ViewTableAjax&_task=addUserTableFilterAjax",
|
|
|
'URL_RM_USER_TABLE_FILTER_AJAX' => Request::getPathUri() . "index.php?_route=ViewTableAjax&_task=rmUserTableFilterAjax",
|
|
|
- 'LABEL_HTML' => $this->getLabelHtml(),
|
|
|
+ 'LABEL_HTML' => $this->getLabelHtml(100),
|
|
|
'SPECIAL_FILTER_FUNCTIONS' => (!empty($specialFilters)) ? $specialFilters : false,
|
|
|
'ROW_FUNCTIONS' => $rowFunctions,
|
|
|
'TABLE_FUNCTIONS' => array_merge(
|