Return-Path: Delivered-To: apmail-felix-commits-archive@www.apache.org Received: (qmail 348 invoked from network); 6 Aug 2009 21:36:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Aug 2009 21:36:41 -0000 Received: (qmail 56935 invoked by uid 500); 6 Aug 2009 21:36:48 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 56866 invoked by uid 500); 6 Aug 2009 21:36:48 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 56851 invoked by uid 99); 6 Aug 2009 21:36:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 21:36:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 21:36:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7F3C22388892; Thu, 6 Aug 2009 21:36:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r801821 - in /felix/trunk/karaf: ./ assembly/src/main/filtered-resources/ webconsole/ webconsole/branding/ webconsole/branding/src/ webconsole/branding/src/main/ webconsole/branding/src/main/resources/ webconsole/branding/src/main/resources... Date: Thu, 06 Aug 2009 21:36:15 -0000 To: commits@felix.apache.org From: gertv@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090806213615.7F3C22388892@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gertv Date: Thu Aug 6 21:36:13 2009 New Revision: 801821 URL: http://svn.apache.org/viewvc?rev=801821&view=rev Log: FELIX-1450: Karaf branding and plugins for Felix webconsole Added: felix/trunk/karaf/webconsole/branding/ (with props) felix/trunk/karaf/webconsole/branding/pom.xml felix/trunk/karaf/webconsole/branding/src/ felix/trunk/karaf/webconsole/branding/src/main/ felix/trunk/karaf/webconsole/branding/src/main/resources/ felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/ felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/webconsole.properties felix/trunk/karaf/webconsole/branding/src/main/resources/res/ felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/ felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/admin.css felix/trunk/karaf/webconsole/plugins/ (with props) felix/trunk/karaf/webconsole/plugins/pom.xml felix/trunk/karaf/webconsole/plugins/src/ - copied from r801811, felix/trunk/karaf/webconsole/src/ Removed: felix/trunk/karaf/webconsole/src/ Modified: felix/trunk/karaf/assembly/src/main/filtered-resources/features.xml felix/trunk/karaf/pom.xml felix/trunk/karaf/webconsole/pom.xml Modified: felix/trunk/karaf/assembly/src/main/filtered-resources/features.xml URL: http://svn.apache.org/viewvc/felix/trunk/karaf/assembly/src/main/filtered-resources/features.xml?rev=801821&r1=801820&r2=801821&view=diff ============================================================================== --- felix/trunk/karaf/assembly/src/main/filtered-resources/features.xml (original) +++ felix/trunk/karaf/assembly/src/main/filtered-resources/features.xml Thu Aug 6 21:36:13 2009 @@ -57,7 +57,10 @@ mvn:org.apache.felix/org.apache.felix.metatype/${felix.metatype.version} mvn:org.apache.felix/org.apache.felix.webconsole/${felix.webconsole.version} - mvn:org.apache.felix.karaf/org.apache.felix.karaf.webconsole/${version} + mvn:org.apache.felix.karaf.webconsole/org.apache.felix.karaf.webconsole.plugins/${version} + Modified: felix/trunk/karaf/pom.xml URL: http://svn.apache.org/viewvc/felix/trunk/karaf/pom.xml?rev=801821&r1=801820&r2=801821&view=diff ============================================================================== --- felix/trunk/karaf/pom.xml (original) +++ felix/trunk/karaf/pom.xml Thu Aug 6 21:36:13 2009 @@ -182,6 +182,17 @@ true + + + jansi.snapshot.m2 + http://jansi.fusesource.org/repo/snapshot + + false + + + true + + Propchange: felix/trunk/karaf/webconsole/branding/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Thu Aug 6 21:36:13 2009 @@ -0,0 +1,7 @@ +target +.classpath +.externalToolBuilders +.project +.settings +eclipse-classes +maven-eclipse.xml Added: felix/trunk/karaf/webconsole/branding/pom.xml URL: http://svn.apache.org/viewvc/felix/trunk/karaf/webconsole/branding/pom.xml?rev=801821&view=auto ============================================================================== --- felix/trunk/karaf/webconsole/branding/pom.xml (added) +++ felix/trunk/karaf/webconsole/branding/pom.xml Thu Aug 6 21:36:13 2009 @@ -0,0 +1,60 @@ + + + + + + 4.0.0 + + + org.apache.felix.karaf.webconsole + webconsole + 1.2.0-SNAPSHOT + + + org.apache.felix.karaf.webconsole + org.apache.felix.karaf.webconsole.branding + bundle + 1.2.0-SNAPSHOT + Apache Felix Karaf :: Web Console :: Branding + + Apache Felix Karaf branding for the Apache Felix Web Console. This fragment + attaches to the org.apache.felix.webconsole bundle to provide branding + through the /META-INF/webconsole.properties. + + + + + + + org.apache.felix + maven-bundle-plugin + true + + + http://felix.apache.org/site/apache-felix-karaf.html + org.apache.felix.webconsole + !* + + + + + + + + Added: felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/webconsole.properties URL: http://svn.apache.org/viewvc/felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/webconsole.properties?rev=801821&view=auto ============================================================================== --- felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/webconsole.properties (added) +++ felix/trunk/karaf/webconsole/branding/src/main/resources/META-INF/webconsole.properties Thu Aug 6 21:36:13 2009 @@ -0,0 +1,35 @@ +# +# 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. +# + + +# +# This file contains branding properties to overwrite the defualt +# branding of the Apache Felix Web Console when deployed in an +# Apache Felix Karaf application. + +webconsole.product.name = Apache Felix Karaf +webconsole.product.url = http://felix.apache.org/site/apache-felix-karaf.html +webconsole.product.image = /res/karaf/imgs/logo.png + +webconsole.vendor.name = The Apache Software Foundation +webconsole.vendor.url = http://www.apache.org +webconsole.vendor.image = /res/karaf/imgs/logo.png + +webconsole.favicon = /res/karaf/imgs/favicon.ico +webconsole.stylesheet = /res/karaf/ui/admin.css Added: felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/admin.css URL: http://svn.apache.org/viewvc/felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/admin.css?rev=801821&view=auto ============================================================================== --- felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/admin.css (added) +++ felix/trunk/karaf/webconsole/branding/src/main/resources/res/karaf/ui/admin.css Thu Aug 6 21:36:13 2009 @@ -0,0 +1,677 @@ +/* + * 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. + */ /* CSS Document */ + +a { + color: black; +} + +#licenseContent { + background-color: white; + color: black; +} + +#main { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + color: white; + background-color: black; + border-collapse: collapse; + padding: 0px; + margin: 30px; + position: absolute; + text-align: left; + border-color: black; +} + +#lead { + /*color: #00678C;*/ + color: #ffffff; + margin: 0px 0px 26px 0px; + padding: 0px; + height: 100px; +} + +#lead h1 { /* + background-image: url(../imgs/banner_left.jpg); + background-repeat: no-repeat; + */ + color: white; + margin: 0px; + padding: 5px 0 0 8px; + font-size: 200%; + font-weight: bold; + line-height: 120%; + height: 95px; + /* account for 5px top marging to get a total of 100px */ + float: left; +} + +#lead br { + line-height: 20px; +} + +#lead p { /* + background-image: url(../imgs/banner_right.jpg); + background-repeat: no-repeat; + border-left: 1px solid; + */ + margin: 0px; + padding: 0px; + height: 100px; + float: right; +} + +#technav { + border-bottom: 1px solid white; /*6181A9*/ + border-top: 1px solid white; + color: white; + background-color: black; + font-size: 10px; + font-weight: bold; + /* + border-top: 1px solid black; + */ + line-height: 21px; + padding: 0; + margin: 0; +} + +#technav a { + /* + display: block; + float: left; + */ + text-decoration: none; + padding: 3px 10px 3px 10px; + color: white; + text-decoration: none; +} + +#technav a:hover { + background-color: white; + color: black; +} + +#technav .technavat { + /* + display: block; + float: left; + */ + text-decoration: none; + padding: 3px 10px 3px 10px; + background-color: white;/*#B6CAE4;*/ + color: black; +} + +#claim { + color: white; + background-color: black; + padding: 2px 10px 2px 10px; +} + +#claim p { + margin: 0; + padding: 0; +} + +#claim a { + color: black; + background-color: white; + text-decoration: none; +} + +/* +.claimcell A:link { + color: #C5E2EE; + text-decoration: none; +} + +.claimcell A:visited { + color: #C5E2EE; + text-decoration: none; +} +*/ +#claim a:hover { + color: black; + background-color: white; + border-bottom: 1px solid; +} + +#claim a:active { + color: black; +} + +/* old styles */ +table { + text-align: left; +} + +table.content { + clear: both; + font-size: 10px; + line-height: 13px; + border: 0px solid #66dd44; + border-top: 1px solid white; + padding: 0px; + margin: 0px; + margin-top: 26px; + margin-bottom: 26px; + text-align: left; +} + +tr { + border-left: 1px solid white; + border-right: 1px solid white; +} + +td.content { + color: black; + border: 0px solid white; + border-bottom: 1px solid white; + vertical-align: middle; + padding: 5px; +} + +td.aligntop { + vertical-align: top; +} + +td.content img { + width: 10px; + height: 10px; +} + +td.disabled { + color: #999999; +} + +th.content { + color: black; + border: 0px solid white; + border-bottom: 1px solid white; + text-align: left; + padding: 5px; + padding-left: 10px; +} + +.right { + text-align: right; +} +.center { + text-align: center; +} + +th.container { + color: white; + background-color: black; + border: 1px solid white; +} + +th.important { + color: #B81833; +} + +.important { + color: #B81833; +} + +#maintable { /* postion: absolute; */ + font-size: 10px; + line-height: 13px; + border: 1px solid #000000; + padding: 0px; + margin: 0px; +} + +.toolcell { + font-size: 10px; + color: #999999; + line-height: 10px; + background-color: #000000; + height: 18px; + padding: 0px; + padding-bottom: 1px; + text-align: left; +} + +.toolcell A:link { + color: #C5E2EE; + text-decoration: none; +} + +.toolcell A:visited { + color: #C5E2EE; + text-decoration: none; +} + +.toolcell A:hover { + color: #99FF33; + text-decoration: none; + border-bottom: 1px solid; +} + +.toolcell A:active { + color: #FFFFFF; + text-decoration: none; +} + +.leadcell { + margin: 0px; + padding: 0px; + border: 0px solid #000000; + width: 718px; + height: 100px; + /*background-image: url(../imgs/banner_left.jpg);*/ + vertical-align: top; +} + +.leadcelltext { + position: absolute; + border: 0px solid #000000; + font-size: 26px; + line-height: 32px; + margin-top: 5px; + margin-left: 8px; + color: #ffffff; + vertical-align: top; +} + +.logocell { + border-left: 1px solid #000000; + width: 239px; + /*background-image: url(../imgs/banner_right.jpg);*/ +} + +#technavcell { + font-size: 10px; + font-weight: bold; + border: 1px solid #000000; + border-top: 1px solid #000000; + height: 21px; + background-color: black; +} + +/* +#technav A:link { + float: left; + display: block; + color: #ffffff; + border: 0px solid #000000; + border-right: 1px solid #000000; + height: 21px; + text-decoration: none; + padding: 0px 10px 0px 10px; + background-color: #6181A9; +} + +#technav A:visited { + float: left; + display: block; + color: #ffffff; + border-right: 1px solid #000000; + height: 21px; + text-decoration: none; + padding: 0px 10px 0px 10px; + background-color: #6181A9; +} + +#technav A:hover { + float: left; + display: block; + color: #ffffff; + border-right: 1px solid #000000; + height: 21px; + text-decoration: none; + padding: 0px 10px 0px 10px; + background-color: #000000; +} + +#technav A:active { + float: left; + display: block; + color: #ffffff; + border-right: 1px solid #000000; + height: 21px; + text-decoration: none; + padding: 0px 10px 0px 10px; + background-color: #6181A9; +} +*/ +.techcontentcell { + border: 0px solid #000000; + border-top: 1px solid #000000; +} + +.relatedcell { + border-left: 1px solid #000000; + border-top: 1px solid #000000; + background-color: black; +} + +/* CENTRAL CONTENT AREA STYLING */ +.content { + position: relative; + margin: 25px; + font-size: 11px; + line-height: 16px; + color: black; + background-color: white; +} + +.content A:link { + color: #336600; + text-decoration: underline; +} + +.content A:visited { + color: #666666; + text-decoration: underline; +} + +.content A:hover { + color: blue; + background-color: #336600; + text-decoration: none; +} + +.content A:active { + color: yellow; + background-color: white; + text-decoration: none; +} + +body { + background-color: black; + color: white; +} + +/* TEXT STYLING */ /* +h1, h2, h3, h4, h5, h6, p + + { + margin: 0px; + margin-bottom: 8px; + font-size: 11px; + line-height: 16px; + font-weight:bold; + } + +*/ /* +h1 + { + color: #000000; + margin-top: 32px; + clear: left; + } + + +h2 + { + color: #336699; + } + + +h3 + { + color: #336699; + } +*/ /* +p + { + font-size: 11px; + line-height: 16px; + font-weight: normal; + color: #000000; + } +*/ /* FORMS */ +form { + font-size: 9px; + border-top: 1px solid white; + border-bottom: 1px solid white; + border-left: 1px solid white; + border-right: 1px solid white; + margin: 0; + padding: 0; + clear: left; +} + +select,textarea { + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 9px; + font-weight: normal; + display: block; + float: left; + padding-top: 3px; + margin-bottom: 10px; +} + +.input { + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 9px; + font-weight: normal; + color: black; + background-color: white; + border: 1px solid #999999; + /*border-bottom: 1px solid #cccccc; + border-right: 1px solid #cccccc;*/ +} + +.fileinput { + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 9px; + font-weight: normal; + color: black; +} + +.submit { + cursor: default; + width: 60px; + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 10px; + font-weight: bold; + background-color: black; + color: white; + height: 20px; + padding: 0px; + padding-bottom: 1px; + margin: 0px; + border: 1px solid #cfcfcf; + border-right: 2px solid #4f4f4f; + border-bottom: 2px solid #4f4f4f; +} + +input.important { + background-color: black; + color: white; +} + +select { + color: #184054; + background-color: #f0f0f0; + border: 0px solid #999999; +} + +textarea { + color: #184054; + background-color: #f0f0f0; + width: 234px; + height: 100px; + border: 1px solid #999999; + border-bottom: 1px solid #cccccc; + border-right: 1px solid #cccccc; +} + +.clearleft { + clear: left; +} + +.clearboth { + clear: both; +} + +.checkradio { + background-color: black; + width: 20px; + padding: 0px; + padding-bottom: 10px; + margin: 0px; + margin-top: 2px; + border: 0px solid #999999; +} + +.checkradiotext { + font-size: 9px; + font-weight: normal; + line-height: 11px; + width: 100px; + color: white; + padding: 0px; + padding-bottom: 10px; + margin: 0px; + margin-top: 4px; + border: 0px solid #999999; +} + +div.buttons { + background-color: black; + height: 30px; + text-align: right; + vertical-align: middle; + padding-right: 10px; + padding-top: 8px; + color: white; + font-size: 10px; +} +div.buttons select { + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 9px; + font-weight: normal; + display: inline; + float:none; +} +div.button { + display: inline-block; + margin-left: 10px; +} +div.fullwidth { + width: 100%; +} +div.statusline { + margin-top: 10px; + background-color: #3f3f3f; + padding-left: 10px; + border: 1px solid #cfcfcf; + font-family: Verdana, Arial, Helvetica, san-serif; + font-size: 11px; + font-weight: normal; + color: #cfcfcf; + line-height: 19px; + margin-bottom: 10px; +} +div.table { + margin-left: 1px; +} +div.tablelayout { +} + +/* tables */ +table.tablelayout { + border-left: 1px solid white; + border-right: 1px solid white; + border-collapse: collapse; + font-family:arial; + background-color: red; + font-size: 8pt; + width: 100%; + text-align: left; +} +table.tablelayout tbody tr { + border-left: 1px solid #6181A9; + border-right: 1px solid #6181A9; +} + +table.tablelayout thead tr th, table.tablelayout tfoot tr th { + background-color: #6f6f6f; + border: 1px solid #cfcfcf; + font-size: 8pt; + padding: 4px; + color: #cfcfcf; +} +table.tablelayout thead tr .header { + /*background-image: url(../imgs/bg.gif);*/ + background-repeat: no-repeat; + background-position: center right; + cursor: pointer; +} +table.tablelayout tbody td { + color: black; + border: 1px solid #cfcfcf; + padding: 4px; + background-color: white; + vertical-align: top; +} +table.tablelayout tbody tr.odd td { + background-color: white; /*#F0F0F6*/ +} +table.tablelayout thead tr .headerSortUp { + background-image: url(../imgs/asc.gif); +} +table.tablelayout thead tr .headerSortDown { + background-image: url(../imgs/desc.gif); +} +table.tablelayout thead tr .headerSortDown, table.tablelayout thead tr .headerSortUp { +background-color: #3f3f3f;/*#8dbdd8*/ +color: #cfcfcf; +border: 1px solid #cfcfcf; +} +.col_Id { + width: 40px; +} +.col_Status { + width: 50px; +} +.col_Actions { + width: 95px; +} +#plugin_content { + margin-top: 26px; + margin-bottom: 26px; +} +.contentheader { + border: 0px solid #66dd44; + border-bottom: 1px solid black; + text-align: left; + padding: 5px; + padding-left: 10px; + color: black; + background-color: white; +} +.contentline { + padding-top: 15px; + padding-left:10px; + clear: both; + width: 100%; +} +.contentleft { + padding-left: 9px; + float: left; + width:110px; +} +.contentright { + display: inline; + width: 225px; +} Propchange: felix/trunk/karaf/webconsole/plugins/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Thu Aug 6 21:36:13 2009 @@ -0,0 +1,8 @@ +target +.classpath +.externalToolBuilders +.project +.settings +eclipse-classes +maven-eclipse.xml + Added: felix/trunk/karaf/webconsole/plugins/pom.xml URL: http://svn.apache.org/viewvc/felix/trunk/karaf/webconsole/plugins/pom.xml?rev=801821&view=auto ============================================================================== --- felix/trunk/karaf/webconsole/plugins/pom.xml (added) +++ felix/trunk/karaf/webconsole/plugins/pom.xml Thu Aug 6 21:36:13 2009 @@ -0,0 +1,100 @@ + + + + + + 4.0.0 + + + org.apache.felix.karaf.webconsole + webconsole + 1.2.0-SNAPSHOT + + + org.apache.felix.karaf.webconsole + org.apache.felix.karaf.webconsole.plugins + bundle + 1.2.0-SNAPSHOT + Apache Felix Karaf :: Web Console :: Plugins + + + + org.apache.felix + org.osgi.core + provided + + + org.apache.felix + org.osgi.compendium + provided + + + org.apache.felix + org.apache.felix.webconsole + provided + + + javax.servlet + servlet-api + provided + + + commons-logging + commons-logging + provided + + + org.apache.felix.karaf.gshell + org.apache.felix.karaf.gshell.features + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.junit + test + + + org.json + json + 20070829 + compile + true + + + + + + + org.apache.felix + maven-bundle-plugin + + + org.apache.felix.karaf.webconsole;version=${pom.version} + + + + json + + + + + + + + Modified: felix/trunk/karaf/webconsole/pom.xml URL: http://svn.apache.org/viewvc/felix/trunk/karaf/webconsole/pom.xml?rev=801821&r1=801820&r2=801821&view=diff ============================================================================== --- felix/trunk/karaf/webconsole/pom.xml (original) +++ felix/trunk/karaf/webconsole/pom.xml Thu Aug 6 21:36:13 2009 @@ -28,73 +28,15 @@ 1.2.0-SNAPSHOT - org.apache.felix.karaf - org.apache.felix.karaf.webconsole - bundle + org.apache.felix.karaf.webconsole + webconsole + pom 1.2.0-SNAPSHOT - Apache Felix Karaf :: Web Console Features Plugin + Apache Felix Karaf :: Web Console - - - org.apache.felix - org.osgi.core - provided - - - org.apache.felix - org.osgi.compendium - provided - - - org.apache.felix - org.apache.felix.webconsole - provided - - - javax.servlet - servlet-api - provided - - - commons-logging - commons-logging - provided - - - org.apache.felix.karaf.gshell - org.apache.felix.karaf.gshell.features - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.junit - test - - - org.json - json - 20070829 - compile - true - - - - - - - org.apache.felix - maven-bundle-plugin - - - org.apache.felix.karaf.webconsole;version=${pom.version} - - - - json - - - - - - + + plugins + branding +