Danja Vasiliev 10 years ago
parent
commit
7cabf2419d

+ 3 - 3
openwrt/common/opt/lib/cgi/admin2.cgi

@@ -277,10 +277,10 @@ updateFw() {
   _OUT="$(/sbin/sysupgrade -T $_FWFILE 2>&1)"
   _ERR=$?
   [[ $_ERR -gt 0 ]] && showMesg "$_OUT"
-  _OUT="$(runSuid /sbin/mtd -e firmware -q write $_FWFILE firmware)"
+#  _OUT="$(runSuid /sbin/mtd -e firmware -q write $_FWFILE firmware)"
   _ERR=$?
   [[ $_ERR -gt 0 ]] && showMesg "mtd failed, $_OUT"
-  runSuid reboot
+#  runSuid reboot
   showMesg 'Firmware update is completed, rebooting..' 'this might take up to 60 seconds'
 }
 
@@ -438,7 +438,7 @@ ipaddr="$(ifconfig $wanifname | sed -n '/dr:/{;s/.*dr://;s/ .*//;p;}')"
 
 <section>
   <h2>Internet connection: <% _echo $ipaddr %></h3>
-  <form method='post' action='/admin/wan' name='wan' id='wanconf'> <!-- onchange='formChange();' -->
+  <form method='post' action='/admin/wan' name='wan' id='wanconf'>
   <div style='display:inline-flex'>
   <div style='display:inline-block;'>
   <select name='wanifname' id='wanifname' style='display:block'>

+ 3 - 2
openwrt/common/opt/lib/resources/admin/admin.css

@@ -4,7 +4,7 @@ html {
 } 
 body { 
   background:#b9bbc0;
-  color:#0c0c0c;
+  color:#2c2c2c;
   margin: 20px 0 0 200px;
   font-family: TitilliumWeb;
   font-size: 100%;
@@ -14,7 +14,7 @@ body {
 input, select {
   font-family: sans-serif;
   font-size: 100%; 
-  color: #111;
+  color: #2c2c2c;
   display: block;
   font-family: sans-serif;
   font-size: 100%; 
@@ -87,6 +87,7 @@ img.logo {
   position: absolute;
   left:50px;
   top: 34px;
+  opacity: 0.8;
 }
 
 hr {

+ 1 - 1
openwrt/sg_0.1.revision

@@ -1 +1 @@
-36
+37