diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-02-06 13:04:13 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-02-06 13:04:13 +0000 |
commit | bb046a4fde80242bae83f138ed5f0d33de8a7ba1 (patch) | |
tree | c85f3efab37bcbf30ec6c91ad14771766f7139b5 /usr/local/www/themes/code-red | |
parent | 0715ad5093226a9fd29b1abbbf57a9892efe4100 (diff) | |
download | pfsense-bb046a4fde80242bae83f138ed5f0d33de8a7ba1.zip pfsense-bb046a4fde80242bae83f138ed5f0d33de8a7ba1.tar.gz |
Update HTML boolean operator "nowrap"
The HTML boolean operator "nowrap" has been deprecated to a "style" and
it's "butt ugly", IMHO.
So, add a new class called "nowrap" to "all.css" and "wizard.css" and
start replacing "nowrap" with "class='nowrap'", if there is already a
class defined then just add, "class='whatever nowrap'".
Update "loader.js" and "bottom-loader.js" with proper CDATA sections.
Diffstat (limited to 'usr/local/www/themes/code-red')
-rwxr-xr-x | usr/local/www/themes/code-red/all.css | 2 | ||||
-rwxr-xr-x | usr/local/www/themes/code-red/bottom-loader.js | 4 | ||||
-rwxr-xr-x | usr/local/www/themes/code-red/loader.js | 8 | ||||
-rwxr-xr-x | usr/local/www/themes/code-red/wizard.css | 2 |
4 files changed, 10 insertions, 6 deletions
diff --git a/usr/local/www/themes/code-red/all.css b/usr/local/www/themes/code-red/all.css index cd8e435..9585a01 100755 --- a/usr/local/www/themes/code-red/all.css +++ b/usr/local/www/themes/code-red/all.css @@ -5,6 +5,8 @@ html, body, td, th, input, select { } +.nowrap { white-space: nowrap; } + .infobox { width:100%; } diff --git a/usr/local/www/themes/code-red/bottom-loader.js b/usr/local/www/themes/code-red/bottom-loader.js index 238e0b2..a21f775 100755 --- a/usr/local/www/themes/code-red/bottom-loader.js +++ b/usr/local/www/themes/code-red/bottom-loader.js @@ -1,4 +1,4 @@ -<!-- +//<![CDATA[ NiftyCheck(); Rounded("div#niftyMenu","top bottom","#FFFFFF","#000000","smooth"); @@ -7,4 +7,4 @@ Rounded("tr#fend","bl br tl tr","#FFF","#990000","smooth"); Rounded("div#topbox","all","#FFF","#990000","smooth"); -//--> +//]]> diff --git a/usr/local/www/themes/code-red/loader.js b/usr/local/www/themes/code-red/loader.js index 5eb41e1..bf4b7f4 100755 --- a/usr/local/www/themes/code-red/loader.js +++ b/usr/local/www/themes/code-red/loader.js @@ -1,4 +1,4 @@ -<!-- +//<![CDATA[ var browser = ''; var version = ''; var entrance = ''; @@ -21,9 +21,9 @@ if (version == '') { } if (browser == 'IE' && version < 7) { - document.write('<script type="text/javascript" src="/themes/nervecenter/javascript/ie7/ie7-standard-p.js"></scr'+'ipt>'); + document.write('<script type="text/javascript" src="/themes/code-red/javascript/ie7/ie7-standard-p.js"></scr'+'ipt>'); } -document.write('<script type="text/javascript" src="/themes/nervecenter/javascript/niftyjsCode.js"></scr'+'ipt>'); +document.write('<script type="text/javascript" src="/themes/code-red/javascript/niftyjsCode.js"></scr'+'ipt>'); -// --> +//]]> diff --git a/usr/local/www/themes/code-red/wizard.css b/usr/local/www/themes/code-red/wizard.css index c0979a8..c0a7546 100755 --- a/usr/local/www/themes/code-red/wizard.css +++ b/usr/local/www/themes/code-red/wizard.css @@ -5,6 +5,8 @@ html, body, td, th, input, select { } +.nowrap { white-space: nowrap; } + /* please adjust the bgcolor to be used together with niftycorners! */ .rtop, .artop { background-color: #5f0406; |