@@ -96,12 +96,12 @@ |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | return '<ul class="pagination">' . |
99 | - $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) . |
|
100 | - $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) . |
|
101 | - $this->_renderPageList() . |
|
102 | - $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) . |
|
103 | - $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) . |
|
104 | - '</ul>'; |
|
99 | + $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) . |
|
100 | + $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) . |
|
101 | + $this->_renderPageList() . |
|
102 | + $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) . |
|
103 | + $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) . |
|
104 | + '</ul>'; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -254,9 +254,9 @@ |
||
254 | 254 | $this->_initColumns(); |
255 | 255 | |
256 | 256 | return TableRenderer::open($this->_classes) . |
257 | - TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) . |
|
258 | - TableRenderer::renderBody($data, $this->_columns) . |
|
259 | - TableRenderer::close(); |
|
257 | + TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) . |
|
258 | + TableRenderer::renderBody($data, $this->_columns) . |
|
259 | + TableRenderer::close(); |
|
260 | 260 | } |
261 | 261 | |
262 | 262 | /** |
@@ -112,7 +112,7 @@ |
||
112 | 112 | if ($this->_showSortLink($headerAttributeName)) |
113 | 113 | { |
114 | 114 | $header->key = '<a class="sortable-header" href="' . (\request()->url() . '?' . $this->_buildSortQuery($headerAttributeName, $direction)) . '">' . |
115 | - $header->key . ' <span class="sort-symbol">' . ($this->_sortingSymbols[$direction] ?? '') . '</span></a>'; |
|
115 | + $header->key . ' <span class="sort-symbol">' . ($this->_sortingSymbols[$direction] ?? '') . '</span></a>'; |
|
116 | 116 | } |
117 | 117 | } |
118 | 118 |
@@ -120,9 +120,9 @@ |
||
120 | 120 | public function render() : string |
121 | 121 | { |
122 | 122 | return '<form method="get" action="' . $this->_buildSearchUrl() . |
123 | - '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' . |
|
124 | - $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' . |
|
125 | - $this->_buttonText . '</button></div></div></form>'; |
|
123 | + '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' . |
|
124 | + $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' . |
|
125 | + $this->_buttonText . '</button></div></div></form>'; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |