myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r411199 - in /myfaces/maven/trunk/tobago-site-skin: ./ src/ src/main/ src/main/resources/ src/main/resources/css/ src/main/resources/images/
Date Fri, 02 Jun 2006 16:05:52 GMT
Author: bommel
Date: Fri Jun  2 09:05:51 2006
New Revision: 411199

URL: http://svn.apache.org/viewvc?rev=411199&view=rev
Log:
Added tobago-site-skin for the maven site plugin see: http://maven.apache.org/plugins/maven-site-plugin/creating-a-skin.html
We should and a skin for myfaces, too.

Added:
    myfaces/maven/trunk/tobago-site-skin/
    myfaces/maven/trunk/tobago-site-skin/pom.xml
    myfaces/maven/trunk/tobago-site-skin/src/
    myfaces/maven/trunk/tobago-site-skin/src/main/
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/maven-theme.css
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/png-fix.htc
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/dl.jpg
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/external.png   (with props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/h3.jpg
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_error_sml.gif   (with
props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_info_sml.gif   (with
props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_success_sml.gif  
(with props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_warning_sml.gif  
(with props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/myfaces-logo.png   (with
props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/newwindow.png   (with props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobagoLogo.png   (with
props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobago_head.gif   (with
props)
    myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/transparent.gif   (with
props)

Added: myfaces/maven/trunk/tobago-site-skin/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/pom.xml?rev=411199&view=auto
==============================================================================
--- myfaces/maven/trunk/tobago-site-skin/pom.xml (added)
+++ myfaces/maven/trunk/tobago-site-skin/pom.xml Fri Jun  2 09:05:51 2006
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Copyright 2002-2005 The Apache Software Foundation.
+ *
+ *    Licensed 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>
+  <version>1.0.4-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>MyFaces Tobago Site Skin</name>
+  <groupId>org.apache.myfaces.maven</groupId>
+  <artifactId>tobago-site-skin</artifactId>
+
+   <scm>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/maven/trunk/tobago-site-skin</connection>
+      <developerConnection>
+            scm:svn:https://svn.apache.org/repos/asf/myfaces/maven/trunk/tobago-site-skin</developerConnection>
+      <url>http://svn.apache.org/viewcvs.cgi/myfaces/maven/trunk/tobago-site-skin</url>
+    </scm>
+
+  <distributionManagement>
+    <repository>
+      <id>apache-maven</id>
+      <name>Apache Maven Repository</name>
+      <url>scpexe://people.apache.org/www/www.apache.org/dist/maven-repository</url>
+    </repository>
+    <snapshotRepository>
+      <uniqueVersion>false</uniqueVersion>
+      <id>apache-maven-snapshots</id>
+      <name>Apache Maven Snapshot Repository</name>
+      <url>scpexe://minotaur.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
+    </snapshotRepository>
+  </distributionManagement>
+
+</project>

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/maven-theme.css
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/maven-theme.css?rev=411199&view=auto
==============================================================================
--- myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/maven-theme.css (added)
+++ myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/maven-theme.css Fri Jun  2
09:05:51 2006
@@ -0,0 +1,193 @@
+body {
+  background-color: #fff;
+  font-family: Verdana, Helvetica, Arial, sans-serif;
+  margin-left: auto;
+  margin-right: auto;
+  background-repeat: repeat-y;
+  font-size: 13px;
+  padding: 0px;
+}
+
+body, td, select, input, li {
+  font-family: Verdana, Helvetica, Arial, sans-serif;
+  font-size: 12px;
+  color: #333333;
+}
+
+code {
+  font-family: Courier, monospace;
+  font-size: 12px;
+}
+
+a {
+  text-decoration: none;
+}
+
+a:link {
+  color: #47a;
+}
+
+a:visited {
+  color: #666666;
+}
+
+a:active, a:hover {
+  color: #990000;
+}
+
+#legend li.externalLink {
+  background: url( ../images/external.png ) left top no-repeat;
+  padding-left: 18px;
+}
+
+a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover
{
+  background: url( ../images/external.png ) right center no-repeat;
+  padding-right: 18px;
+}
+
+#legend li.newWindow {
+  background: url( ../images/newwindow.png ) left top no-repeat;
+  padding-left: 18px;
+}
+
+a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover
{
+  background: url( ../images/newwindow.png ) right center no-repeat;
+  padding-right: 18px;
+}
+
+h2 {
+  padding: 4px 4px 4px 6px;
+  border: 1px solid #999;
+  color: #660000;
+  background-color: #ddd;
+  font-size: 17px;
+}
+
+h3 {
+  padding: 4px 4px 4px 24px;
+  border: 1px solid #aaa;
+  color: #660000;
+  background-color: #CECECE;
+  font-weight: bold;
+  font-size: 14px;
+  background-image: url( ../images/h3.jpg );
+  background-repeat: no-repeat;
+  background-position: left bottom;
+}
+
+h4 {
+  padding: 4px 4px 4px 6px;
+  border: 1px solid #bbb;
+  color: #900;
+  background-color: #fff;
+  font-weight: normal;
+  font-size: large;
+}
+
+h5 {
+  padding: 4px 4px 4px 6px;
+  color: #900;
+  font-size: normal;
+}
+
+p {
+  line-height: 1.3em;
+  font-size: 12px;
+  color: #000;
+}
+
+#breadcrumbs {
+  border-top: 1px solid #aaa;
+  border-bottom: 1px solid #aaa;
+  background-color: #ccc;
+  color: #DDDDDD;
+  padding: 5px 5px 5px 5px;
+}
+
+#leftColumn {
+  margin: 10px 0 0 5px;
+  border: 1px solid #999;
+  background-color: #B2C4E0;
+}
+
+#navcolumn h5 {
+  font-size: smaller;
+  border-bottom: 1px solid #aaaaaa;
+  padding-top: 2px;
+  padding-left: 9px;
+  color: #49635a;
+  background-image: url( ../images/h5.gif );
+  background-repeat: no-repeat;
+  background-position: left bottom;
+}
+
+table.bodyTable th {
+  color: white;
+  background-color: #999999;
+  text-align: left;
+  font-weight: bold;
+}
+
+table.bodyTable th, table.bodyTable td {
+  font-size: 11px;
+}
+
+table.bodyTable tr.a {
+  background-color: #ddd;
+}
+
+table.bodyTable tr.b {
+  background-color: #eee;
+}
+
+.source {
+  border: 1px solid #999;
+  overflow: auto
+}
+
+dl {
+  padding: 0px 0px 5px 0px;
+  border: 0px;
+  background: url( ../images/dl.jpg ) left top no-repeat
+}
+
+dt {
+  padding: 0px 0px 0px 25px;
+  border: 0px;
+  background-color: #FFFFFF;
+  color: #333333;
+  font-weight: bold;
+  font-size: 14px;
+  background-image: url( ../images/h3.jpg );
+  background-repeat: no-repeat;
+  background-position: left bottom;
+}
+
+#organizationLogo img, #projectLogo img, #projectLogo span {
+  margin: 8px;
+}
+
+#banner {
+  border-bottom: 1px solid #fff;
+}
+
+#banner img {
+  behavior: url( css/png-fix.htc );
+}
+
+.errormark, .warningmark, .donemark, .infomark {
+  background: url( ../images/icon_error_sml.gif ) no-repeat;
+}
+
+.warningmark {
+  background-image: url( ../images/icon_warning_sml.gif );
+}
+
+.donemark {
+  background-image: url( ../images/icon_success_sml.gif );
+}
+
+.infomark {
+  background-image: url( ../images/icon_info_sml.gif );
+}
+

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/png-fix.htc
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/png-fix.htc?rev=411199&view=auto
==============================================================================
--- myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/png-fix.htc (added)
+++ myfaces/maven/trunk/tobago-site-skin/src/main/resources/css/png-fix.htc Fri Jun  2 09:05:51
2006
@@ -0,0 +1,57 @@
+<public:component lightWeight="true">
+<public:attach event="onpropertychange" onEvent="propertyChanged()" />
+<script>
+/*
+ * Based on
+ * http://www.mongus.net/pngInfo/
+ * and
+ * http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
+ *
+ */
+
+       var gNeedFix = needFix();
+
+       var transparentImage = "transparent.gif";
+
+       pngFix();
+
+       function propertyChanged() {
+               if (event.propertyName == "src") {
+                       pngFix();
+         }
+       }
+
+       function pngFix() {
+               if (!gNeedFix) {
+                       return;
+               }
+
+               var src = element.src;
+
+               if (src.indexOf(transparentImage) != -1) {
+                       return;
+               }
+
+               if (src.indexOf(".png") == -1) {
+                       return;
+               }
+
+   var w = element.width;
+   var h = element.height;
+               element.src = src.substring(0, src.lastIndexOf('/') + 1)  + transparentImage;
+   element.width = w;
+   element.height = h;
+               element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"
+ src + "',sizingMethod='scale')";
+       }
+
+       function needFix() {
+               var pos = navigator.userAgent.indexOf("MSIE ");
+               if (pos == -1) {
+                       return false;
+               }
+               var version = navigator.userAgent.substring(pos + 5);
+               return (((version.indexOf("5.5") == 0) || (version.indexOf("6") == 0)) &&
(navigator.platform == ("Win32")));
+       }
+
+</script>
+</public:component>
\ No newline at end of file

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/dl.jpg
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/dl.jpg?rev=411199&view=auto
==============================================================================
Binary files /tmp/tmpijE65J and /tmp/tmpO2eSO9 differ

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/external.png
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/external.png?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/external.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/h3.jpg
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/h3.jpg?rev=411199&view=auto
==============================================================================
Binary files /tmp/tmpFXWo-_ and /tmp/tmpikM_Uv differ

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_error_sml.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_error_sml.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_error_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_info_sml.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_info_sml.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_info_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_success_sml.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_success_sml.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_success_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_warning_sml.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_warning_sml.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/icon_warning_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/myfaces-logo.png
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/myfaces-logo.png?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/myfaces-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/newwindow.png
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/newwindow.png?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/newwindow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobagoLogo.png
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobagoLogo.png?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobagoLogo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobago_head.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobago_head.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/tobago_head.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/transparent.gif
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/transparent.gif?rev=411199&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/maven/trunk/tobago-site-skin/src/main/resources/images/transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message