diff options
Diffstat (limited to 'sca-cpp')
-rw-r--r-- | sca-cpp/trunk/modules/js/Makefile.am | 4 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/ui.css | 121 | ||||
-rwxr-xr-x | sca-cpp/trunk/modules/server/server-conf | 22 |
3 files changed, 145 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/js/Makefile.am b/sca-cpp/trunk/modules/js/Makefile.am index 3c38f6c93b..4086c22acf 100644 --- a/sca-cpp/trunk/modules/js/Makefile.am +++ b/sca-cpp/trunk/modules/js/Makefile.am @@ -16,6 +16,6 @@ # under the License. moddir = $(prefix)/modules/js -nobase_dist_mod_DATA = htdocs/*.js -EXTRA_DIST = htdocs/*.js +nobase_dist_mod_DATA = htdocs/*.js htdocs/*.css +EXTRA_DIST = htdocs/*.js htdocs/*.css diff --git a/sca-cpp/trunk/modules/js/htdocs/ui.css b/sca-cpp/trunk/modules/js/htdocs/ui.css new file mode 100644 index 0000000000..d1413018a0 --- /dev/null +++ b/sca-cpp/trunk/modules/js/htdocs/ui.css @@ -0,0 +1,121 @@ +/* + * 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: 2px; 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; vertical-align: text-top; +} + +iframe { +visibility: hidden; width: 0px; height: 0px; +} + +input { +vertical-align: middle; +-webkit-text-size-adjust: 140%; +} + +a:link { +color: blue; +} + +a:visited { +color: blue; +} + +.tdw { +padding-left: 2px; padding-top: 2px; padding-right: 8px; white-space: normal; vertical-align: text-top; +} + +.hd1 { +font-size: 150%; font-weight: bold; +} + +.hd2 { +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; +} + diff --git a/sca-cpp/trunk/modules/server/server-conf b/sca-cpp/trunk/modules/server/server-conf index 9f5740f5b6..b4984e2701 100755 --- a/sca-cpp/trunk/modules/server/server-conf +++ b/sca-cpp/trunk/modules/server/server-conf @@ -60,6 +60,28 @@ Alias /component.js $jsprefix/htdocs/component.js Alias /scdl.js $jsprefix/htdocs/scdl.js Alias /util.js $jsprefix/htdocs/util.js Alias /ui.js $jsprefix/htdocs/ui.js +Alias /ui.css $jsprefix/htdocs/ui.css + +<Location /component.js> +AuthType None +Require all granted +</Location> +<Location /scdl.js> +AuthType None +Require all granted +</Location> +<Location /util.js> +AuthType None +Require all granted +</Location> +<Location /ui.js> +AuthType None +Require all granted +</Location> +<Location /ui.css> +AuthType None +Require all granted +</Location> EOF |