Author: nbelaevski
Date: 2008-02-25 12:23:53 -0500 (Mon, 25 Feb 2008)
New Revision: 6325
Added:
management/design/standardComponent/design/
management/design/standardComponent/design/advanced.css
management/design/standardComponent/design/basic.css
management/design/standardComponent/design/btn_bg.gif
management/design/standardComponent/design/btn_press_bg.gif
management/design/standardComponent/design/customise_example.html
management/design/standardComponent/design/example.html
management/design/standardComponent/design/input_bg.gif
management/design/standardComponent/design/input_error.gif
management/design/standardComponent/design/styles.js
Removed:
management/design/standardComponent/advanced.css
management/design/standardComponent/basic.css
management/design/standardComponent/btn_bg.gif
management/design/standardComponent/btn_press_bg.gif
management/design/standardComponent/customise_example.html
management/design/standardComponent/example.html
management/design/standardComponent/input_bg.gif
management/design/standardComponent/input_error.gif
management/design/standardComponent/styles.js
Log:
prototype moved to design folder
Deleted: management/design/standardComponent/advanced.css
===================================================================
--- management/design/standardComponent/advanced.css 2008-02-25 15:17:47 UTC (rev 6324)
+++ management/design/standardComponent/advanced.css 2008-02-25 17:23:53 UTC (rev 6325)
@@ -1,117 +0,0 @@
-*|button {
- border-width: 1px;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : top left;
-}
-
-button[type="button"], button[type="reset"],
button[type="submit"], input[type="reset"],
input[type="submit"], input[type="button"] {
- border-width: 1px;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : top left;
-}
-
-
-*|textarea{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFFFFF /*controlBackgroundColor*/;
- background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
- background-repeat : no-repeat;
- background-position : 1px 1px;
- }
-
-textarea[type="textarea"], input[type="text"],
input[type="password"], select{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFFFFF /*controlBackgroundColor*/;
- background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
- background-repeat : no-repeat;
- background-position : 1px 1px;
- }
-
-
-input, select, textarea, button, keygen, isindex {
- border-width: 1px;
- border-color : #BED6F8 /*panelBorderColor*/;
- color : #000000 /*controlTextColor*/;
-}
-
-
-.input_def{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFFFFF /*controlBackgroundColor*/;
- background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
- background-repeat : no-repeat;
- background-position : 1px 1px;
-}
-.input_sel{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFF2D0 /*NEW - inputLightColor*/;
-}
-.input_error{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFE6E6 /*NEW - errorBackgroundColor*/;
- background-image : url(input_error.gif); /*NEW - errorColor*/
- background-repeat : no-repeat;
- background-position : center right;
-}
-.btn_def{
- border-width: 1px;
- border-style : outset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : top left;
-}
-.btn_press{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_press_bg.gif)/*from headerBackgroundColor to
headerGradientColor, width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : bottom left;
-}
-
Deleted: management/design/standardComponent/basic.css
===================================================================
--- management/design/standardComponent/basic.css 2008-02-25 15:17:47 UTC (rev 6324)
+++ management/design/standardComponent/basic.css 2008-02-25 17:23:53 UTC (rev 6325)
@@ -1,18 +0,0 @@
-input, select, textarea, button, keygen, isindex, legend {
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
-}
-fieldset{
- border-width: 1px;
- border-style : solid;
- padding:10px;
- border-color : #BED6F8 /*panelBorderColor*/;
-}
-
-hr{
- border-width: 1px;
- border-style : solid;
- border-color : #BED6F8 /*panelBorderColor*/;
-}
-
Deleted: management/design/standardComponent/btn_bg.gif
===================================================================
(Binary files differ)
Deleted: management/design/standardComponent/btn_press_bg.gif
===================================================================
(Binary files differ)
Deleted: management/design/standardComponent/customise_example.html
===================================================================
--- management/design/standardComponent/customise_example.html 2008-02-25 15:17:47 UTC
(rev 6324)
+++ management/design/standardComponent/customise_example.html 2008-02-25 17:23:53 UTC
(rev 6325)
@@ -1,97 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html>
-<head>
- <title>Untitled</title>
-</head>
-
-<body>
-
-<style>
- .input_def{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFFFFF /*controlBackgroundColor*/;
- background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
- background-repeat : no-repeat;
- background-position : 1px 1px;
- }
- .input_sel{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFF2D0 /*NEW - inputLightColor*/;
- }
- .input_error{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*controlTextColor*/;
- background-color : #FFE6E6 /*NEW - errorBackgroundColor*/;
- background-image : url(input_error.gif); /*NEW - errorColor*/
- background-repeat : no-repeat;
- background-position : center right;
- }
- .btn_def{
- border-width: 1px;
- border-style : outset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : top left;
- }
- .btn_press{
- border-width: 1px;
- border-style : inset;
- border-color : #BED6F8 /*panelBorderColor*/;
- font-size: 11px /*generalSizeFont*/;
- font-family: verdana /*generalFamilyFont*/;
- color : #000000 /*headerTextColor*/;
- background-color : #BED6F8 /*headerBackgroundColor*/;
- background-image : url(btn_press_bg.gif)/*from headerBackgroundColor to
headerGradientColor, width generalSizeFont*/;
- background-repeat : repeat-x;
- background-position : bottom left;
- }
-</style>
-<input type="Button" value="Test" class="btn_def">
-<input type="File" class="input_def">
-<input type="Text" value="Test" class="input_def">
-<select class="input_def">
- <option>Test</option>
- <option>Test</option>
- <option>Test</option>
-</select><br><br>
-
-<input type="Button" value="Test" class="btn_press">
-<input type="File" class="input_sel">
-<input type="Text" value="Test" class="input_sel">
-<select class="input_sel">
- <option>Test</option>
- <option>Test</option>
- <option>Test</option>
-</select><br><br>
-
-<input type="Button" value="Test" class="btn_def">
-<input type="File" class="input_def">
-<input type="Text" value="Test" class="input_error">
-<select class="input_def">
- <option>Test</option>
- <option>Test</option>
- <option>Test</option>
-</select><br><br>
-
-</body>
-</html>
Copied: management/design/standardComponent/design/advanced.css (from rev 6324,
management/design/standardComponent/advanced.css)
===================================================================
--- management/design/standardComponent/design/advanced.css (rev
0)
+++ management/design/standardComponent/design/advanced.css 2008-02-25 17:23:53 UTC (rev
6325)
@@ -0,0 +1,117 @@
+*|button {
+ border-width: 1px;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : top left;
+}
+
+button[type="button"], button[type="reset"],
button[type="submit"], input[type="reset"],
input[type="submit"], input[type="button"] {
+ border-width: 1px;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : top left;
+}
+
+
+*|textarea{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFFFFF /*controlBackgroundColor*/;
+ background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
+ background-repeat : no-repeat;
+ background-position : 1px 1px;
+ }
+
+textarea[type="textarea"], input[type="text"],
input[type="password"], select{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFFFFF /*controlBackgroundColor*/;
+ background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
+ background-repeat : no-repeat;
+ background-position : 1px 1px;
+ }
+
+
+input, select, textarea, button, keygen, isindex {
+ border-width: 1px;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ color : #000000 /*controlTextColor*/;
+}
+
+
+.input_def{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFFFFF /*controlBackgroundColor*/;
+ background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
+ background-repeat : no-repeat;
+ background-position : 1px 1px;
+}
+.input_sel{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFF2D0 /*NEW - inputLightColor*/;
+}
+.input_error{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFE6E6 /*NEW - errorBackgroundColor*/;
+ background-image : url(input_error.gif); /*NEW - errorColor*/
+ background-repeat : no-repeat;
+ background-position : center right;
+}
+.btn_def{
+ border-width: 1px;
+ border-style : outset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : top left;
+}
+.btn_press{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_press_bg.gif)/*from headerBackgroundColor to
headerGradientColor, width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : bottom left;
+}
+
Copied: management/design/standardComponent/design/basic.css (from rev 6324,
management/design/standardComponent/basic.css)
===================================================================
--- management/design/standardComponent/design/basic.css (rev 0)
+++ management/design/standardComponent/design/basic.css 2008-02-25 17:23:53 UTC (rev
6325)
@@ -0,0 +1,18 @@
+input, select, textarea, button, keygen, isindex, legend {
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+}
+fieldset{
+ border-width: 1px;
+ border-style : solid;
+ padding:10px;
+ border-color : #BED6F8 /*panelBorderColor*/;
+}
+
+hr{
+ border-width: 1px;
+ border-style : solid;
+ border-color : #BED6F8 /*panelBorderColor*/;
+}
+
Copied: management/design/standardComponent/design/btn_bg.gif (from rev 6324,
management/design/standardComponent/btn_bg.gif)
===================================================================
(Binary files differ)
Copied: management/design/standardComponent/design/btn_press_bg.gif (from rev 6324,
management/design/standardComponent/btn_press_bg.gif)
===================================================================
(Binary files differ)
Copied: management/design/standardComponent/design/customise_example.html (from rev 6324,
management/design/standardComponent/customise_example.html)
===================================================================
--- management/design/standardComponent/design/customise_example.html
(rev 0)
+++ management/design/standardComponent/design/customise_example.html 2008-02-25 17:23:53
UTC (rev 6325)
@@ -0,0 +1,97 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>Untitled</title>
+</head>
+
+<body>
+
+<style>
+ .input_def{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFFFFF /*controlBackgroundColor*/;
+ background-image : url(input_bg.gif)/*from additionalBackgroundColor to
controlBackgroundColor, width generalSizeFont*/;
+ background-repeat : no-repeat;
+ background-position : 1px 1px;
+ }
+ .input_sel{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFF2D0 /*NEW - inputLightColor*/;
+ }
+ .input_error{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*controlTextColor*/;
+ background-color : #FFE6E6 /*NEW - errorBackgroundColor*/;
+ background-image : url(input_error.gif); /*NEW - errorColor*/
+ background-repeat : no-repeat;
+ background-position : center right;
+ }
+ .btn_def{
+ border-width: 1px;
+ border-style : outset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_bg.gif)/*from headerGradientColor to headerBackgroundColor,
width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : top left;
+ }
+ .btn_press{
+ border-width: 1px;
+ border-style : inset;
+ border-color : #BED6F8 /*panelBorderColor*/;
+ font-size: 11px /*generalSizeFont*/;
+ font-family: verdana /*generalFamilyFont*/;
+ color : #000000 /*headerTextColor*/;
+ background-color : #BED6F8 /*headerBackgroundColor*/;
+ background-image : url(btn_press_bg.gif)/*from headerBackgroundColor to
headerGradientColor, width generalSizeFont*/;
+ background-repeat : repeat-x;
+ background-position : bottom left;
+ }
+</style>
+<input type="Button" value="Test" class="btn_def">
+<input type="File" class="input_def">
+<input type="Text" value="Test" class="input_def">
+<select class="input_def">
+ <option>Test</option>
+ <option>Test</option>
+ <option>Test</option>
+</select><br><br>
+
+<input type="Button" value="Test" class="btn_press">
+<input type="File" class="input_sel">
+<input type="Text" value="Test" class="input_sel">
+<select class="input_sel">
+ <option>Test</option>
+ <option>Test</option>
+ <option>Test</option>
+</select><br><br>
+
+<input type="Button" value="Test" class="btn_def">
+<input type="File" class="input_def">
+<input type="Text" value="Test" class="input_error">
+<select class="input_def">
+ <option>Test</option>
+ <option>Test</option>
+ <option>Test</option>
+</select><br><br>
+
+</body>
+</html>
Copied: management/design/standardComponent/design/example.html (from rev 6324,
management/design/standardComponent/example.html)
===================================================================
--- management/design/standardComponent/design/example.html (rev
0)
+++ management/design/standardComponent/design/example.html 2008-02-25 17:23:53 UTC (rev
6325)
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+<head>
+ <title>Untitled</title>
+
+<link rel="STYLESHEET" type="text/css"
href="basic.css">
+<link rel="STYLESHEET" type="text/css"
href="advanced.css" media="rich:std-components">
+
+<script src="styles.js"></script>
+
+</head>
+
+<body>
+
+
+<fieldset>
+<legend>Legend</legend>
+<button>Test</button>
+<input type="Button" value="Test">
+<input type="Checkbox">
+<input type="File">
+<input type="Radio">
+<input type="Text" value="Test">
+<select size="1">
+ <option>Test</option>
+</select>
+
+<select multiple>
+ <option>Test</option>
+ <option>Test1</option>
+ <option>Test2</option>
+ <option>Test3</option>
+</select>
+
+
+<br><br>
+<textarea>text</textarea>
+
+<keygen />
+<br><br>
+<isindex />
+
+</fieldset>
+</body>
+</html>
Copied: management/design/standardComponent/design/input_bg.gif (from rev 6324,
management/design/standardComponent/input_bg.gif)
===================================================================
(Binary files differ)
Copied: management/design/standardComponent/design/input_error.gif (from rev 6324,
management/design/standardComponent/input_error.gif)
===================================================================
(Binary files differ)
Copied: management/design/standardComponent/design/styles.js (from rev 6324,
management/design/standardComponent/styles.js)
===================================================================
--- management/design/standardComponent/design/styles.js (rev 0)
+++ management/design/standardComponent/design/styles.js 2008-02-25 17:23:53 UTC (rev
6325)
@@ -0,0 +1,53 @@
+//skip Opera & Safari as they have their own custom styling
+
+var skipNavigator = window.opera || navigator.userAgent.indexOf('AppleWebKit/')
> -1;
+if (!skipNavigator) {
+
+ var getElementByTagName = function(elt, name) {
+ var elements;
+ try {
+ elements = elt.selectNodes(".//*[local-name()=\""+
+ name +"\"]");
+ } catch (ex) {
+ try {
+ elements = elt.getElementsByTagName(name);
+ } catch(nf){
+ //ok, give up, no elements found
+ }
+ }
+
+ return elements;
+ };
+
+ var links = getElementByTagName(window.document, 'link');
+ if (links) {
+ var l = links.length;
+
+ for (var i = 0; i < l; i++ ) {
+ var link = links[i];
+
+ if (link["rich:std-components"]) {
+ break;
+ }
+
+ var media = link.getAttribute('media');
+
+ if ("rich:std-components" == media) {
+ link["rich:std-components"] = true;
+
+ link.removeAttribute('media');
+
+ var ns = link.nextSibling;
+ var lpn = link.parentNode;
+ lpn.removeChild(link);
+ if (ns) {
+ lpn.insertBefore(link, ns);
+ } else {
+ lpn.appendChild(link);
+ }
+
+ break;
+ }
+ }
+ }
+}
\ No newline at end of file
Deleted: management/design/standardComponent/example.html
===================================================================
--- management/design/standardComponent/example.html 2008-02-25 15:17:47 UTC (rev 6324)
+++ management/design/standardComponent/example.html 2008-02-25 17:23:53 UTC (rev 6325)
@@ -1,47 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head>
- <title>Untitled</title>
-
-<link rel="STYLESHEET" type="text/css"
href="basic.css">
-<link rel="STYLESHEET" type="text/css"
href="advanced.css" media="rich:std-components">
-
-<script src="styles.js"></script>
-
-</head>
-
-<body>
-
-
-<fieldset>
-<legend>Legend</legend>
-<button>Test</button>
-<input type="Button" value="Test">
-<input type="Checkbox">
-<input type="File">
-<input type="Radio">
-<input type="Text" value="Test">
-<select size="1">
- <option>Test</option>
-</select>
-
-<select multiple>
- <option>Test</option>
- <option>Test1</option>
- <option>Test2</option>
- <option>Test3</option>
-</select>
-
-
-<br><br>
-<textarea>text</textarea>
-
-<keygen />
-<br><br>
-<isindex />
-
-</fieldset>
-</body>
-</html>
Deleted: management/design/standardComponent/input_bg.gif
===================================================================
(Binary files differ)
Deleted: management/design/standardComponent/input_error.gif
===================================================================
(Binary files differ)
Deleted: management/design/standardComponent/styles.js
===================================================================
--- management/design/standardComponent/styles.js 2008-02-25 15:17:47 UTC (rev 6324)
+++ management/design/standardComponent/styles.js 2008-02-25 17:23:53 UTC (rev 6325)
@@ -1,53 +0,0 @@
-//skip Opera & Safari as they have their own custom styling
-
-var skipNavigator = window.opera || navigator.userAgent.indexOf('AppleWebKit/')
> -1;
-if (!skipNavigator) {
-
- var getElementByTagName = function(elt, name) {
- var elements;
- try {
- elements = elt.selectNodes(".//*[local-name()=\""+
- name +"\"]");
- } catch (ex) {
- try {
- elements = elt.getElementsByTagName(name);
- } catch(nf){
- //ok, give up, no elements found
- }
- }
-
- return elements;
- };
-
- var links = getElementByTagName(window.document, 'link');
- if (links) {
- var l = links.length;
-
- for (var i = 0; i < l; i++ ) {
- var link = links[i];
-
- if (link["rich:std-components"]) {
- break;
- }
-
- var media = link.getAttribute('media');
-
- if ("rich:std-components" == media) {
- link["rich:std-components"] = true;
-
- link.removeAttribute('media');
-
- var ns = link.nextSibling;
- var lpn = link.parentNode;
- lpn.removeChild(link);
- if (ns) {
- lpn.insertBefore(link, ns);
- } else {
- lpn.appendChild(link);
- }
-
- break;
- }
- }
- }
-}
\ No newline at end of file