-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
275 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,272 @@ | ||
- page 'Tables', 'tables' | ||
|
||
.panel.tables | ||
.panel-heading | ||
%i.icon-table.icon-large | ||
Default Table | ||
.panel-tools | ||
.btn-group | ||
%a.btn{href: '#'} | ||
%i.icon-wrench | ||
Settings | ||
%a.btn{href: '#'} | ||
%i.icon-filter | ||
Filters | ||
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Reload'} | ||
%i.icon-refresh | ||
.badge 3 record | ||
.panel-body.no-padding | ||
.table-header.row | ||
.col-lg-9 | ||
TODO: Add filters here | ||
.col-lg-3 | ||
.input-group | ||
%input.form-control{placeholder: 'Quick search...', type: 'text'}/ | ||
%span.input-group-btn | ||
%button.btn{type: 'button'} | ||
%i.icon-search | ||
%table.table | ||
%thead | ||
%tr | ||
%th # | ||
%th First Name | ||
%th Last Name | ||
%th Username | ||
%th.actions | ||
Actions | ||
%tbody | ||
%tr.success | ||
%td 1 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr.danger | ||
%td 2 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr.warning | ||
%td 3 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr.active | ||
%td 4 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr.disabled | ||
%td 5 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr | ||
%td 6 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr | ||
%td 7 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr | ||
%td 8 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr | ||
%td 9 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
%tr | ||
%td 10 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%td.action | ||
%a.btn.btn-success{href: '#', data: {toggle: 'tooltip'}, title: 'Zoom'} | ||
%i.icon-zoom-in | ||
%a.btn.btn-info{href: '#'} | ||
%i.icon-edit | ||
%a.btn.btn-danger{href: '#'} | ||
%i.icon-trash | ||
|
||
.table-footer | ||
%ul.pagination | ||
%li | ||
%a{:href => '#'} « | ||
%li.active | ||
%a{:href => '#'} 1 | ||
%li | ||
%a{:href => '#'} 2 | ||
%li | ||
%a{:href => '#'} 3 | ||
%li | ||
%a{:href => '#'} 4 | ||
%li | ||
%a{:href => '#'} 5 | ||
%li | ||
%a{:href => '#'} 6 | ||
%li | ||
%a{:href => '#'} 7 | ||
%li | ||
%a{:href => '#'} 8 | ||
%li | ||
%a{:href => '#'} » | ||
.pull-right | ||
Showing 1 to 10 of 32 entries | ||
|
||
.row | ||
.col-lg-6 | ||
.panel.tables | ||
.panel-heading | ||
%i.icon-table.icon-large | ||
Padding Table | ||
.panel-body | ||
%table.table | ||
%thead | ||
%tr | ||
%th # | ||
%th First Name | ||
%th Last Name | ||
%th Username | ||
%tbody | ||
%tr | ||
%td 1 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%tr | ||
%td 2 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%tr | ||
%td 3 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter | ||
.col-lg-6 | ||
.panel.tables | ||
.panel-heading | ||
%i.icon-table.icon-large | ||
Bordered Table | ||
.panel-body | ||
%table.table.table-bordered | ||
%thead | ||
%tr | ||
%th # | ||
%th First Name | ||
%th Last Name | ||
%th Username | ||
%tbody | ||
%tr | ||
%td 1 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%tr | ||
%td 2 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%tr | ||
%td 3 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter | ||
|
||
|
||
.panel.tables | ||
.panel-heading | ||
%i.icon-table.icon-large | ||
Condensed Table | ||
.panel-body.no-padding | ||
%table.table.table-condensed | ||
%thead | ||
%tr | ||
%th # | ||
%th First Name | ||
%th Last Name | ||
%th Username | ||
%tbody | ||
%tr | ||
%td 1 | ||
%td Mark | ||
%td Otto | ||
%td @mdo | ||
%tr | ||
%td 2 | ||
%td Jacob | ||
%td Thornton | ||
%td @fat | ||
%tr | ||
%td 3 | ||
%td Larry | ||
%td the Bird | ||
%td @twitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can use root path inside namespaces. A root can be defined in hq namespace.