sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-extensions-webconsolebranding] 01/11: Prototype branding for Felix Web Console (requires patch from FELIX-1015)
Date Tue, 07 Nov 2017 09:33:49 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.extensions.webconsolebranding-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-extensions-webconsolebranding.git

commit dd214bc1dc5f5a240dceb91979597da04faf266b
Author: Felix Meschberger <fmeschbe@apache.org>
AuthorDate: Mon Jun 29 14:27:03 2009 +0000

    Prototype branding for Felix Web Console (requires patch from FELIX-1015)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/whiteboard/fmeschbe/webconsolebranding@789340
13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                           |  63 ++++++++++++++++++++++
 src/main/resources/META-INF/webconsole.properties |  40 ++++++++++++++
 src/main/resources/res/sling/favicon.ico          | Bin 0 -> 1150 bytes
 src/main/resources/res/sling/logo.png             | Bin 0 -> 11984 bytes
 4 files changed, 103 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..0b122f3
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <artifactId>sling</artifactId>
+        <groupId>org.apache.sling</groupId>
+        <version>5-incubator</version>
+    </parent>
+
+    <groupId>org.apache.sling</groupId>
+    <artifactId>org.apache.sling.extensions.webconsolebranding</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+
+    <name>Branding plugin for the Apache Felix Web Console</name>
+    <description>
+        Apache Sling 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.
+    </description>
+        
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-DocURL>
+                            ...branding_URL...
+                        </Bundle-DocURL>
+                        <Fragment-Host>
+                            org.apache.felix.webconsole
+                        </Fragment-Host>
+                        <Export-Package>
+                            !*
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
\ No newline at end of file
diff --git a/src/main/resources/META-INF/webconsole.properties b/src/main/resources/META-INF/webconsole.properties
new file mode 100644
index 0000000..9703e94
--- /dev/null
+++ b/src/main/resources/META-INF/webconsole.properties
@@ -0,0 +1,40 @@
+#
+#  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 Sling application.
+
+# This is the Apache Sling Product
+webconsole.product.name = Apache Sling
+webconsole.product.url = http://incubator.apache.org/sling
+webconsole.product.image = /res/sling/logo.png
+
+# Apache Sling is provided by the Apache Software Foundation
+# webconsole.vendor.name = The Apache Software Foundation
+# webconsole.vendor.url = http://www.apache.org
+# webconsole.vendor.image = /res/imgs/logo.png
+
+# Sling has its own favicon we use
+webconsole.favicon = /res/sling/favicon.ico
+
+# We don't have a different stylesheet yet
+# webconsole.stylesheet = /res/ui/admin.css
\ No newline at end of file
diff --git a/src/main/resources/res/sling/favicon.ico b/src/main/resources/res/sling/favicon.ico
new file mode 100644
index 0000000..a36e242
Binary files /dev/null and b/src/main/resources/res/sling/favicon.ico differ
diff --git a/src/main/resources/res/sling/logo.png b/src/main/resources/res/sling/logo.png
new file mode 100644
index 0000000..e29d72b
Binary files /dev/null and b/src/main/resources/res/sling/logo.png differ

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message