diff options
Diffstat (limited to 'sca-cpp/trunk/modules/js/htdocs')
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/ui.css | 24 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/ui.js | 14 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/uiblue.css | 149 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/uicyan.css | 149 |
4 files changed, 330 insertions, 6 deletions
diff --git a/sca-cpp/trunk/modules/js/htdocs/ui.css b/sca-cpp/trunk/modules/js/htdocs/ui.css index 5b441b735d..7e57d184ba 100644 --- a/sca-cpp/trunk/modules/js/htdocs/ui.css +++ b/sca-cpp/trunk/modules/js/htdocs/ui.css @@ -28,10 +28,10 @@ font-family: arial,sans-serif; font-style: normal; font-variant: normal; font-si } th { -font-weight: bold; background-color: #96d333; color: #000000; +font-weight: bold; background-color: #e5ecf9; color: #598edd; text-align: left; padding-left: 2px; padding-right: 8px; padding-top: 2px; padding-bottom: 4px; vertical-align: text-top; border-top: 1px; border-bottom: 1px; border-left: 0px; border-right: 0px; -border-style: solid; border-top-color: #96d333; border-bottom-color: #96d333; +border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; } td { @@ -46,17 +46,33 @@ padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: normal; ve visibility: hidden; width: 0px; height: 0px; border: 0px; } +.loadedframe { +width: 100%; height: 100%; border: 0px; +margin: 0px; padding: 0px; +} + input { vertical-align: middle; -webkit-text-size-adjust: 140%; } a:link { -color: #96d333; +color: blue; } a:visited { -color: #96d333; +color: blue; +} + +.amenu { +color: blue; +text-decoration: underline +} + +.smenu { +font-weight: bold; +color: blue; +text-decoration: underline } h1 { diff --git a/sca-cpp/trunk/modules/js/htdocs/ui.js b/sca-cpp/trunk/modules/js/htdocs/ui.js index 31cdaed7c6..b2527dc66b 100644 --- a/sca-cpp/trunk/modules/js/htdocs/ui.js +++ b/sca-cpp/trunk/modules/js/htdocs/ui.js @@ -54,8 +54,8 @@ ui.menu = function(name, href) { } if (complete(this.href) != complete(window.top.location.pathname)) - return '<a href="' + this.href + '" target="_parent">' + this.name + '</a>'; - return '<span><b>' + this.name + '</b></span>'; + return '<a href="' + this.href + '" target="_parent"><span class=amenu>' + this.name + '</span></a>'; + return '<a href="' + this.href + '" target="_parent"><span class=smenu>' + this.name + '</span></a>'; }; } return new Menu(name, href); @@ -264,6 +264,16 @@ ui.installwidget = function() { }; /** + * Load an iframe into an element. + */ +ui.loadiframe = function(el, doc) { + var f = el + 'Frame'; + $(el).innerHTML = + '<iframe id="' + f + '" class="loadedframe" scrolling="no" frameborder="0" src="' + doc + '"></iframe>'; + return f; +}; + +/** * Convert a CSS position to a numeric position. */ ui.csspos = function(p) { diff --git a/sca-cpp/trunk/modules/js/htdocs/uiblue.css b/sca-cpp/trunk/modules/js/htdocs/uiblue.css new file mode 100644 index 0000000000..9d9eaaad77 --- /dev/null +++ b/sca-cpp/trunk/modules/js/htdocs/uiblue.css @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { +white-space: margin: 0px; +font-family: arial,sans-serif; font-style: normal; font-variant: normal; font-size: 13px; +} + +table { +border: 1px; border-collapse: separate; +font-family: arial,sans-serif; font-style: normal; font-variant: normal; font-size: 13px; +} + +th { +font-weight: bold; background-color: #3b5998; color: #ffffff; +text-align: left; padding-left: 2px; padding-right: 8px; padding-top: 2px; padding-bottom: 4px; vertical-align: text-top; +border-top: 1px; border-bottom: 1px; border-left: 0px; border-right: 0px; +border-style: solid; border-top-color: #000000; border-bottom-color: #000000; +} + +td { +padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: nowrap; vertical-align: text-top; +} + +.tdw { +padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: normal; vertical-align: text-top; +} + +.widgetframe { +visibility: hidden; width: 0px; height: 0px; border: 0px; +} + +.loadedframe { +width: 100%; height: 100%; border: 0px; +margin: 0px; padding: 0px; +} + +input { +vertical-align: middle; +-webkit-text-size-adjust: 140%; +} + +a:link { +color: #3b5998; +} + +a:visited { +color: #3b5998; +} + +.amenu { +font-weight: bold; +color: #ffffff; +} + +.smenu { +font-weight: bold; +color: #ffffff; +} + +h1 { +font-size: 200%; font-weight: bold; +vertical-align: middle; +margin: 0px; +} + +h2 { +font-size: 150%; font-weight: bold; +vertical-align: middle; +margin: 0px; +} + +.hd1 { +font-size: 200%; font-weight: bold; +} + +.hd2 { +font-size: 150%; font-weight: bold; +} + +.imgbutton { +width: 142px; height: 64px; margin-left: 20px; margin-right: 20px; padding: 0px; border: 1px; +cursor: pointer; cursor: hand; +} + +.tbar { +font-weight: bold; background-color: #3b5998; color: #ffffff; +margin: 0px; +padding-top: 4px; padding-left: 2px; padding-right: 8px; padding-bottom: 8px; vertical-align: text-top; +border-bottom: 1px solid #000000; +} + +.ltbar { +padding-left: 0px; padding-top: 0px; padding-right: 16px; white-space: nowrap; vertical-align: top; +} + +.rtbar { +padding-left: 8px; padding-right: 0px; padding-top: 0px; white-space: nowrap; vertical-align: top; +text-align: right; +} + +.suggest { +background-color: #e5ecf9; color: #598edd; +border-top: 1px; border-bottom: 1px; border-left: 1px; border-right: 1px; +border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; +border-left-color: #d1d3d4; border-right-color: #d1d3d4; +position: absolute; +overflow: auto; overflow-x: hidden; +cursor: default; +padding: 0px; margin: 0px; +} + +.suggestTable { +border: 0px; border-collapse: separate; +padding-left: 5px; padding-right: 5px; padding-top: 2px; padding-bottom: 2px; +margin: 0px; +} + +.suggestItem { +padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; vertical-align: text-top; +background-color: #e5ecf9; color: #598edd; +} + +.suggestHilighted { +padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; vertical-align: text-top; +background-color: #598edd; color: #e5ecf9; +} + +v\: * { +behavior:url(#default#VML); +display:inline-block; +} + diff --git a/sca-cpp/trunk/modules/js/htdocs/uicyan.css b/sca-cpp/trunk/modules/js/htdocs/uicyan.css new file mode 100644 index 0000000000..7e57d184ba --- /dev/null +++ b/sca-cpp/trunk/modules/js/htdocs/uicyan.css @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { +white-space: margin: 0px; +font-family: arial,sans-serif; font-style: normal; font-variant: normal; font-size: 13px; +} + +table { +border: 1px; border-collapse: separate; +font-family: arial,sans-serif; font-style: normal; font-variant: normal; font-size: 13px; +} + +th { +font-weight: bold; background-color: #e5ecf9; color: #598edd; +text-align: left; padding-left: 2px; padding-right: 8px; padding-top: 2px; padding-bottom: 4px; vertical-align: text-top; +border-top: 1px; border-bottom: 1px; border-left: 0px; border-right: 0px; +border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; +} + +td { +padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: nowrap; vertical-align: text-top; +} + +.tdw { +padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: normal; vertical-align: text-top; +} + +.widgetframe { +visibility: hidden; width: 0px; height: 0px; border: 0px; +} + +.loadedframe { +width: 100%; height: 100%; border: 0px; +margin: 0px; padding: 0px; +} + +input { +vertical-align: middle; +-webkit-text-size-adjust: 140%; +} + +a:link { +color: blue; +} + +a:visited { +color: blue; +} + +.amenu { +color: blue; +text-decoration: underline +} + +.smenu { +font-weight: bold; +color: blue; +text-decoration: underline +} + +h1 { +font-size: 200%; font-weight: bold; +vertical-align: middle; +margin: 0px; +} + +h2 { +font-size: 150%; font-weight: bold; +vertical-align: middle; +margin: 0px; +} + +.hd1 { +font-size: 200%; font-weight: bold; +} + +.hd2 { +font-size: 150%; font-weight: bold; +} + +.imgbutton { +width: 142px; height: 64px; margin-left: 20px; margin-right: 20px; padding: 0px; border: 1px; +cursor: pointer; cursor: hand; +} + +.tbar { +margin: 0px; +padding-top: 0px; padding-left: 0px; padding-right: 0px; padding-bottom: 3px; +border-bottom: 1px solid #a2bae7; +} + +.ltbar { +padding-left: 0px; padding-top: 0px; padding-right: 8px; white-space: nowrap; vertical-align: top; +} + +.rtbar { +padding-left: 8px; padding-right: 0px; padding-top: 0px; white-space: nowrap; vertical-align: top; +text-align: right; +} + +.suggest { +background-color: #e5ecf9; color: #598edd; +border-top: 1px; border-bottom: 1px; border-left: 1px; border-right: 1px; +border-style: solid; border-top-color: #a2bae7; border-bottom-color: #d1d3d4; +border-left-color: #d1d3d4; border-right-color: #d1d3d4; +position: absolute; +overflow: auto; overflow-x: hidden; +cursor: default; +padding: 0px; margin: 0px; +} + +.suggestTable { +border: 0px; border-collapse: separate; +padding-left: 5px; padding-right: 5px; padding-top: 2px; padding-bottom: 2px; +margin: 0px; +} + +.suggestItem { +padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; vertical-align: text-top; +background-color: #e5ecf9; color: #598edd; +} + +.suggestHilighted { +padding-left: 2px; padding-top: 0px; padding-bottom: 0px; padding-right: 2px; vertical-align: text-top; +background-color: #598edd; color: #e5ecf9; +} + +v\: * { +behavior:url(#default#VML); +display:inline-block; +} + |