Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
This commit is contained in:
parent
f244c2934b
commit
5b1ae27a10
71 changed files with 2679 additions and 2030 deletions
7
tailbone/templates/mobile/newgrids/complete.mako
Normal file
7
tailbone/templates/mobile/newgrids/complete.mako
Normal file
|
@ -0,0 +1,7 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
|
||||
% if grid.filterable:
|
||||
${grid.render_filters()|n}
|
||||
% endif
|
||||
|
||||
${grid.render_grid()|n}
|
|
@ -1,13 +1,7 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
|
||||
% if grid.filterable:
|
||||
${grid.render_filters()|n}
|
||||
% endif
|
||||
|
||||
<ul data-role="listview">
|
||||
% for obj in grid.iter_rows():
|
||||
<li>${grid.listitem.render_readonly()}</li>
|
||||
% endfor
|
||||
${grid.make_webhelpers_grid()}
|
||||
</ul>
|
||||
|
||||
## <table data-role="table" class="ui-responsive table-stroke">
|
Loading…
Add table
Add a link
Reference in a new issue