summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-19 16:51:47 +0000
committerSteven Barth <steven@midlink.org>2008-07-19 16:51:47 +0000
commit5350456779fcee69831136aa0184728bfbe7fce6 (patch)
tree21778a79a9e6fbd72dd9a095d54125de4b5c25a0 /modules
parent5fc15890732835a5fcfebb99f6642c8b4b23e325 (diff)
modules/admin-full, modules/admin-mini: Fixed firmware upgrade templates
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/upgrade.htm22
-rw-r--r--modules/admin-mini/luasrc/view/mini/upgrade.htm20
2 files changed, 17 insertions, 25 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm
index 16ba50cd9..350d6a8db 100644
--- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm
+++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm
@@ -18,21 +18,17 @@ $Id$
<p><%:a_s_flash_upgrade1%></p>
<br />
<% if sysupgrade and not ret then %>
-<form method="post" action="<%=luci.http.getenv("REQUEST_URI")%>" enctype="multipart/form-data">
- <div class="cbi-section-node">
- <div class="cbi-value clear">
- <div class="cbi-value-title left"><%:a_s_flash_fwimage%></div>
- <div class="cbi-value-field"><input type="file" size="30" name="image" /></div>
- </div>
+<form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
+ <div class="left"><%:a_s_flash_fwimage%>:</div>
+ <div>
+ <input type="file" size="30" name="image" />
<br />
- <div class="cbi-value clear">
- <input type="checkbox" name="keepcfg" value="1" checked="checked" />
- <span class="bold"><%:a_s_flash_keepcfg%></span>
- </div>
<br />
- <div>
- <input type="submit" value="<%:a_s_flash_fwupgrade%>" />
- </div>
+ <input type="checkbox" name="keepcfg" value="1" checked="checked" />
+ <span class="bold"><%:a_s_flash_keepcfg%></span>
+ </div>
+ <div>
+ <input type="submit" value="<%:a_s_flash_fwupgrade%>" />
</div>
</form>
<% elseif ret then %>
diff --git a/modules/admin-mini/luasrc/view/mini/upgrade.htm b/modules/admin-mini/luasrc/view/mini/upgrade.htm
index 912080222..350d6a8db 100644
--- a/modules/admin-mini/luasrc/view/mini/upgrade.htm
+++ b/modules/admin-mini/luasrc/view/mini/upgrade.htm
@@ -19,20 +19,16 @@ $Id$
<br />
<% if sysupgrade and not ret then %>
<form method="post" action="<%=REQUEST_URI%>" enctype="multipart/form-data">
- <div class="cbi-section-node">
- <div class="cbi-value clear">
- <div class="cbi-value-title left"><%:a_s_flash_fwimage%></div>
- <div class="cbi-value-field"><input type="file" size="30" name="image" /></div>
- </div>
+ <div class="left"><%:a_s_flash_fwimage%>:</div>
+ <div>
+ <input type="file" size="30" name="image" />
<br />
- <div class="cbi-value clear">
- <input type="checkbox" name="keepcfg" value="1" checked="checked" />
- <span class="bold"><%:a_s_flash_keepcfg%></span>
- </div>
<br />
- <div>
- <input type="submit" value="<%:a_s_flash_fwupgrade%>" />
- </div>
+ <input type="checkbox" name="keepcfg" value="1" checked="checked" />
+ <span class="bold"><%:a_s_flash_keepcfg%></span>
+ </div>
+ <div>
+ <input type="submit" value="<%:a_s_flash_fwupgrade%>" />
</div>
</form>
<% elseif ret then %>