summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware_auto.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-27 12:39:29 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-27 12:39:29 +0100
commit587ecd08637e6a5c71e0c292b55281bc7f664452 (patch)
treec1aafce5ff7ccebb6ba0a4011915d9e081ec9a0f /usr/local/www/system_firmware_auto.php
parent67eec08539c8deeca86c0c450a9c8a9c709e5b21 (diff)
downloadpfsense-587ecd08637e6a5c71e0c292b55281bc7f664452.zip
pfsense-587ecd08637e6a5c71e0c292b55281bc7f664452.tar.gz
Tidy up "system_firware" XHTML
Remove WRAP from TEXTAREA and add Javascript to add wrap hard
Diffstat (limited to 'usr/local/www/system_firmware_auto.php')
-rwxr-xr-xusr/local/www/system_firmware_auto.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php
index 2f8928b..26d3d92 100755
--- a/usr/local/www/system_firmware_auto.php
+++ b/usr/local/www/system_firmware_auto.php
@@ -109,10 +109,18 @@ include("head.inc");
</tr>
</table>
<br />
+ <script type="text/javascript">
+ //<![CDATA[
+ window.onload=function(){
+ document.getElementById("status").wrap='hard';
+ document.getElementById("output").wrap='hard';
+ }
+ //]]>
+ </script>
<!-- status box -->
- <textarea cols="90" rows="1" name="status" id="status" wrap="hard"><?=gettext("Beginning firmware upgrade"); ?>.</textarea>
+ <textarea cols="90" rows="1" name="status" id="status"><?=gettext("Beginning firmware upgrade"); ?>.</textarea>
<!-- command output box -->
- <textarea cols="90" rows="25" name="output" id="output" wrap="hard"></textarea>
+ <textarea cols="90" rows="25" name="output" id="output"></textarea>
</td>
</tr>
</table>
OpenPOWER on IntegriCloud