Purge things for legacy (jquery) mobile app
per upstream purge
This commit is contained in:
		
							parent
							
								
									4288e1ce64
								
							
						
					
					
						commit
						be2858084b
					
				
					 3 changed files with 0 additions and 39 deletions
				
			
		|  | @ -1,26 +0,0 @@ | |||
| ## -*- coding: utf-8 -*- | ||||
| <%inherit file="tailbone:templates/mobile/base.mako" /> | ||||
| <%namespace name="base_meta" file="/base_meta.mako" /> | ||||
| 
 | ||||
| <%def name="mobile_usermenu()"> | ||||
|   <div id="usermenu" data-role="panel" data-display="overlay"> | ||||
|     <ul data-role="listview"> | ||||
|       <li data-icon="home">${h.link_to("Home", url('mobile.home'))}</li> | ||||
|       % if request.is_root: | ||||
|           <li class="root-user" data-icon="forbidden">${h.link_to("Stop being root", url('stop_root'), **{'data-ajax': 'false'})}</li> | ||||
|       % elif request.is_admin: | ||||
|           <li class="root-user" data-icon="forbidden">${h.link_to("Become root", url('become_root'), **{'data-ajax': 'false'})}</li> | ||||
|       % endif | ||||
|       % if request.has_perm('customers.list'): | ||||
|           <li>${h.link_to("Customers", url('mobile.customers'))}</li> | ||||
|       % endif | ||||
|       % if request.has_perm('products.list'): | ||||
|           <li>${h.link_to("Products", url('mobile.products'))}</li> | ||||
|       % endif | ||||
|       <li data-icon="lock">${h.link_to("Logout", url('logout'), **{'data-ajax': 'false'})}</li> | ||||
|       <li data-icon="info">${h.link_to("About {}".format(capture(base_meta.app_title)), url('mobile.about'))}</li> | ||||
|     </ul> | ||||
|   </div> | ||||
| </%def> | ||||
| 
 | ||||
| ${parent.body()} | ||||
|  | @ -1,7 +0,0 @@ | |||
| ## -*- coding: utf-8 -*- | ||||
| <%inherit file="tailbone:templates/mobile/home.mako" /> | ||||
| 
 | ||||
| <div style="text-align: center;"> | ||||
|   ${h.image(request.static_url('tailbone:static/img/home_logo.png'), "Rattail Logo", width='400')} | ||||
|   <h3>Welcome to the Rattail Demo</h3> | ||||
| </div> | ||||
|  | @ -1,6 +0,0 @@ | |||
| ## -*- coding: utf-8 -*- | ||||
| <%inherit file="tailbone:templates/mobile/login.mako" /> | ||||
| 
 | ||||
| <p>Login with <strong>chuck / admin</strong> for full demo access.</p> | ||||
| 
 | ||||
| ${parent.body()} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar