You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:20:57 UTC

[sling-org-apache-sling-extensions-webconsolebranding] 01/41: SLING-1233 Move prototype web console branding to prime time

This is an automated email from the ASF dual-hosted git repository.

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

commit ad8ea01b05cbc90cc377f8a4c9b191608c1ab368
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Fri Dec 11 12:29:17 2009 +0000

    SLING-1233 Move prototype web console branding to prime time
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@889590 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                           |  60 ++++++++++++++++++++++
 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, 100 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..63e5687
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,60 @@
+<?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>8</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>
+                        <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..89e70cd
--- /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://sling.apache.org
+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" <co...@sling.apache.org>.