- CGI script and index.html are moved from gluon-web to gluon-config-mode-core, the script is renamed to 'config' - gluon-web and gluon-web-model base views and i18n files are symlinked into the new path - gluon-web-theme is renamed to gluon-config-mode-theme and installs directly into the new path - all gluon-web-* models, controllers and views are moved into the new path
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <%#
 | |
| Copyright 2008 Steven Barth <steven@midlink.org>
 | |
| Copyright 2008-2009 Jo-Philipp Wich <xm@subsignal.org>
 | |
| 
 | |
| Licensed under the Apache License, Version 2.0 (the "License");
 | |
| you may not use this file except in compliance with the License.
 | |
| You may obtain a copy of the License at
 | |
| 
 | |
| 	http://www.apache.org/licenses/LICENSE-2.0
 | |
| 
 | |
| $Id$
 | |
| 
 | |
| -%>
 | |
| <h2><%:Upgrade firmware%></h2>
 | |
| 
 | |
| <form method="post" enctype="multipart/form-data" action="<%|url(request)%>">
 | |
| 	<p>
 | |
| 		<%:You can manually upgrade your firmware here.%>
 | |
| 	</p>
 | |
| 	<% if bad_image then %>
 | |
| 	<p class="error"><%:The provided firmware image is not valid for this device.%></p>
 | |
| 	<% end %>
 | |
| 	<div class="gluon-section-node">
 | |
| 		<div class="gluon-value">
 | |
| 			<label class="gluon-value-title">
 | |
| 				<%:Firmware image%>
 | |
| 			</label>
 | |
| 			<div class="gluon-value-field">
 | |
| 				<input class="gluon-input-file" type="file" name="image" />
 | |
| 			</div>
 | |
| 		</div>
 | |
| 
 | |
| 		<div class="gluon-value gluon-value-last">
 | |
| 			<label class="gluon-value-title">
 | |
| 				<%:Keep settings%>
 | |
| 			</label>
 | |
| 
 | |
| 			<div class="gluon-value-field">
 | |
| 				<input id="keepcfg" class="gluon-input-checkbox" type="checkbox" name="keepcfg" value="1" checked="checked" />
 | |
| 				<label for="keepcfg"></label>
 | |
| 			</div>
 | |
| 		</div>
 | |
| 	</div>
 | |
| 
 | |
| 	<div class="gluon-page-actions right">
 | |
| 		<input type="hidden" name="step" value="2" />
 | |
| 		<input type="hidden" name="token" value="<%=token%>" />
 | |
| 		<input class="gluon-button gluon-button-submit" type="submit" value="<%:Upload image%>" />
 | |
| 	</div>
 | |
| </form>
 |