You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2009/04/05 23:29:51 UTC
svn commit: r762162 - in
/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto: ./
WEB-INF/ WEB-INF/themes/ images/ images/controls/
Author: kstam
Date: Sun Apr 5 21:29:50 2009
New Revision: 762162
URL: http://svn.apache.org/viewvc?rev=762162&view=rev
Log:
JUDDI-203 adding portal styling provided by Ken Wilson
Added:
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/navigation.jsp
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/pluto-default-theme.jsp
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/portlet-skin.jsp
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/clear.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/active_tab.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bar.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_top_gradient.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/edit.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/help.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/max.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/maximize_control.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/min.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/minimize_control.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/norm.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/normal_control.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/view.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/footer_bar.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_v2.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/nav_bkgd.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/pluto_logo.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/s.gif (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/tab_bkgd.png (with props)
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/login.jsp
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.css
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.js
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/portlet-spec-1.0.css
webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/unitpngfix.js
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml Sun Apr 5 21:29:50 2009
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+
+<pluto-portal-driver
+ xmlns="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd
+ http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd"
+ version="1.1">
+
+ <portal-name>pluto-portal-driver</portal-name>
+ <portal-version>1.1.7</portal-version>
+ <container-name>Pluto Portal Driver</container-name>
+
+ <supports>
+ <portlet-mode>view</portlet-mode>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ <portlet-mode>config</portlet-mode>
+
+ <window-state>normal</window-state>
+ <window-state>maximized</window-state>
+ <window-state>minimized</window-state>
+ </supports>
+
+
+ <!-- Render configuration which defines the portal pages. -->
+ <render-config default="About Apache Pluto">
+ <page name="jUDDI" uri="/WEB-INF/themes/pluto-default-theme.jsp">
+ <portlet context="/uddi-portlets" name="UDDIBrowserPortlet"/>
+ <portlet context="/uddi-portlets" name="UDDISearchPortlet"/>
+ </page>
+ <page name="Pluto Admin" uri="/WEB-INF/themes/pluto-default-theme.jsp">
+ <portlet context="/pluto" name="PlutoPageAdmin"/>
+ <portlet context="/pluto" name="AboutPortlet"/>
+ </page>
+ <page name="About Apache Pluto" uri="/WEB-INF/themes/pluto-default-theme.jsp">
+ <portlet context="/pluto" name="AboutPortlet"/>
+ </page>
+ </render-config>
+
+</pluto-portal-driver>
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/navigation.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/navigation.jsp?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/navigation.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/navigation.jsp Sun Apr 5 21:29:50 2009
@@ -0,0 +1,39 @@
+<%--
+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.
+--%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<%@ taglib uri="http://portals.apache.org/pluto" prefix="pluto" %>
+
+<div id="nav">
+ <ul id="navigation" >
+ <c:forEach var="page" items="${driverConfig.pages}">
+ <c:choose>
+ <c:when test="${page == currentPage}">
+ <li class="selected">
+ <a href='<c:out value="${pageContext.request.contextPath}"/>/portal/<c:out value="${page.name}"/>'><c:out value="${page.name}"/></a>
+ </li>
+ </c:when>
+ <c:otherwise>
+ <li>
+ <a href='<c:out value="${pageContext.request.contextPath}"/>/portal/<c:out value="${page.name}"/>'><c:out value="${page.name}"/></a>
+ </li>
+ </c:otherwise>
+ </c:choose>
+ </c:forEach>
+ </ul>
+</div>
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/pluto-default-theme.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/pluto-default-theme.jsp?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/pluto-default-theme.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/pluto-default-theme.jsp Sun Apr 5 21:29:50 2009
@@ -0,0 +1,174 @@
+<%--
+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.
+--%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
+<%@ taglib uri="http://portals.apache.org/pluto" prefix="pluto" %>
+<% pageContext.setAttribute("now", new java.util.Date()); %>
+
+<!--
+Portal page template for default theme used by the Pluto Portal Driver.
+This template divides all portlets into two groups (div blocks): the first
+group (the left column) displays portlets with odd IDs, while the second group
+(the right column) displays portlets with even IDs.
+-->
+
+<html>
+
+<head>
+ <title>Pluto Portal</title>
+ <!--[if lt IE 7]>
+ <script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/unitpngfix.js"></script>
+ <![endif]-->
+ <style type="text/css" title="currentStyle" media="screen">
+ @import "<c:out value="${pageContext.request.contextPath}"/>/pluto.css";
+ @import "<c:out value="${pageContext.request.contextPath}"/>/portlet-spec-1.0.css";
+ </style>
+ <script type="text/javascript" src="<c:out value="${pagecontext.request.contextpath}"/>/pluto.js"></script>
+ <script type="text/javascript" >
+ // writeCookie("myCookie", "my name", 24);
+ // Stores the string "my name" in the cookie "myCookie" which expires after 24 hours.
+ // The hours parameter is optional; if hours is left out, the cookie value expires at the end of the visitor's browser session.
+ function writeCookie(name, value, hours)
+ {
+ var expire = "";
+ if(hours != null)
+ {
+ expire = new Date((new Date()).getTime() + hours * 3600000);
+ expire = "; expires=" + expire.toGMTString();
+ }
+ document.cookie = name + "=" + escape(value) + expire + "; path=/";
+ }
+
+ // Example:
+ // alert( readCookie("myCookie") );
+
+ function readCookie(name)
+ {
+ var cookieValue = "";
+ var search = name + "=";
+ if(document.cookie.length > 0)
+ {
+ offset = document.cookie.indexOf(search);
+ if (offset != -1)
+ {
+ offset += search.length;
+ end = document.cookie.indexOf(";", offset);
+ if (end == -1) end = document.cookie.length;
+ cookieValue = unescape(document.cookie.substring(offset, end))
+ }
+ }
+ return cookieValue;
+ }
+ function getTheme () {
+ var myTheme = readCookie("Theme");
+
+ if (myTheme != null && myTheme != ''){
+ // alert(myTheme);
+ document.body.style.backgroundColor= myTheme
+ }
+
+ }
+ function changeTheme (color) {
+ if (color != "#") {
+ document.body.style.backgroundColor=color;
+ writeCookie("Theme", color, 24);
+ }
+ }
+
+ </script>
+
+</head>
+
+<body>
+<script type="text/javascript">getTheme();</script>
+<div id="wrapper">
+<div id="portal">
+
+ <!-- Header block: the Apache Pluto banner image and description -->
+ <div id="header">
+ <h1>Apache Pluto</h1>
+ <p>An Apache Portals Project</p>
+
+ <!-- Logout link -->
+ <div id="logout" style="float:right;">
+ <a href="<c:url value='/Logout'/>">Logout</a>
+ <SELECT onChange="changeTheme(this.options[this.selectedIndex].value);">
+ <OPTION value="#">-- Select Theme --</OPTION>
+ <OPTION value="midnightblue">Deep Atlantic</OPTION>
+ <OPTION value="5d3207">Dark Chocolate</OPTION>
+ <OPTION value="maroon">Crimson Tide</OPTION>
+ <OPTION value="darkgreen">Forest Green</OPTION>
+ <OPTION value="dimgrey">Neutral Grey</OPTION>
+ </SELECT>
+ </div>
+ </div>
+
+
+ <!-- Navigation block: links to portal pages -->
+ <jsp:include page="navigation.jsp"/>
+
+ <!-- Content block: portlets are divided into two columns/groups -->
+ <div id="content">
+ <pluto:isMaximized var="isMax"/>
+
+ <!-- Left column -->
+ <c:choose>
+ <c:when test="${isMax}">
+ <c:forEach var="portlet" varStatus="status"
+ items="${currentPage.portletIds}">
+ <c:set var="portlet" value="${portlet}" scope="request"/>
+ <jsp:include page="portlet-skin.jsp"/>
+ </c:forEach>
+ </c:when>
+
+ <c:otherwise>
+ <div id="portlets-left-column">
+ <c:forEach var="portlet" varStatus="status"
+ items="${currentPage.portletIds}" step="2">
+ <c:set var="portlet" value="${portlet}" scope="request"/>
+ <jsp:include page="portlet-skin.jsp"/>
+ </c:forEach>
+ </div>
+
+ <!-- Right column -->
+ <div id="portlets-right-column">
+ <c:forEach var="portlet" varStatus="status"
+ items="${currentPage.portletIds}" begin="1" step="2">
+ <c:set var="portlet" value="${portlet}" scope="request"/>
+ <jsp:include page="portlet-skin.jsp"/>
+ </c:forEach>
+ </div>
+
+ </c:otherwise>
+ </c:choose>
+
+ </div>
+
+ <!-- Footer block: copyright -->
+ <div id="footer">
+ © 2003-<fmt:formatDate value="${now}" pattern="yyyy"/> Apache Software Foundation
+ </div>
+
+</div>
+</div>
+</body>
+
+</html>
+
+
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/portlet-skin.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/portlet-skin.jsp?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/portlet-skin.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/themes/portlet-skin.jsp Sun Apr 5 21:29:50 2009
@@ -0,0 +1,45 @@
+<%--
+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.
+--%>
+<%@ taglib uri="http://portals.apache.org/pluto" prefix="pluto" %>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+
+<!-- Use pluto portlet tag to render the portlet -->
+<pluto:portlet portletId="${portlet}">
+
+ <!-- Assemble the rendering result -->
+ <div class="portlet">
+ <div class="header">
+ <!-- Portlet Mode Controls
+ <pluto:modeAnchor portletMode="view"/>
+ <pluto:modeAnchor portletMode="edit"/>
+ <pluto:modeAnchor portletMode="help"/>
+ <!-- Window State Controls -->
+ <pluto:windowStateAnchor windowState="minimized"/>
+ <pluto:windowStateAnchor windowState="maximized"/>
+ <pluto:windowStateAnchor windowState="normal"/>
+ <!-- Portlet Title -->
+ <h2 class="title"><pluto:title/></h2>
+ </div>
+ <div class="body">
+ <pluto:render/>
+ </div>
+ </div>
+
+</pluto:portlet>
+
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/clear.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/clear.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/clear.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/active_tab.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/active_tab.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/active_tab.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bar.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bar.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_bottom_gradient.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_top_gradient.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_top_gradient.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/bkgd_top_gradient.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/edit.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/edit.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/edit.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/help.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/help.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/help.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/max.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/max.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/max.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/maximize_control.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/maximize_control.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/maximize_control.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/min.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/min.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/min.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/minimize_control.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/minimize_control.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/minimize_control.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/norm.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/norm.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/norm.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/normal_control.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/normal_control.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/normal_control.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/view.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/view.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/controls/view.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/footer_bar.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/footer_bar.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/footer_bar.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_v2.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_v2.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/juddi_logo_v2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/nav_bkgd.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/nav_bkgd.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/nav_bkgd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/pluto_logo.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/pluto_logo.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/pluto_logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/s.gif
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/s.gif?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/s.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/tab_bkgd.png
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/tab_bkgd.png?rev=762162&view=auto
==============================================================================
Binary file - no diff available.
Propchange: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/images/tab_bkgd.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/login.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/login.jsp?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/login.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/login.jsp Sun Apr 5 21:29:50 2009
@@ -0,0 +1,131 @@
+<%--
+ 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.
+--%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
+<% pageContext.setAttribute("now", new java.util.Date()); %>
+
+<html>
+
+ <head>
+ <title>Pluto Portal</title>
+ <!--[if lt IE 7]>
+ <script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/unitpngfix.js"></script>
+ <![endif]-->
+ <style type="text/css" title="currentStyle" media="screen">
+ @import "<c:out value="${pageContext.request.contextPath}"/>/pluto.css";
+ </style>
+ <script type="text/javascript"
+ src="<c:out value="${pagecontext.request.contextpath}"/>/pluto.js">
+ </script>
+ <script type="text/javascript" >
+ // writeCookie("myCookie", "my name", 24);
+ // Stores the string "my name" in the cookie "myCookie" which expires after 24 hours.
+ // The hours parameter is optional; if hours is left out, the cookie value expires at the end of the visitor's browser session.
+ function writeCookie(name, value, hours)
+ {
+ var expire = "";
+ if(hours != null)
+ {
+ expire = new Date((new Date()).getTime() + hours * 3600000);
+ expire = "; expires=" + expire.toGMTString();
+ }
+ document.cookie = name + "=" + escape(value) + expire + "; path=/";
+ }
+
+ // Example:
+ // alert( readCookie("myCookie") );
+
+ function readCookie(name)
+ {
+ var cookieValue = "";
+ var search = name + "=";
+ if(document.cookie.length > 0)
+ {
+ offset = document.cookie.indexOf(search);
+ if (offset != -1)
+ {
+ offset += search.length;
+ end = document.cookie.indexOf(";", offset);
+ if (end == -1) end = document.cookie.length;
+ cookieValue = unescape(document.cookie.substring(offset, end))
+ }
+ }
+ return cookieValue;
+ }
+ function getTheme () {
+ var myTheme = readCookie("Theme");
+
+ if (myTheme != null && myTheme != ''){
+ // alert(myTheme);
+ document.body.style.backgroundColor= myTheme
+ }
+
+ }
+ function changeTheme (color) {
+ if (color != "#") {
+ document.body.style.backgroundColor=color;
+ writeCookie("Theme", color, 24);
+ }
+ }
+ </script>
+ </head>
+
+ <body>
+<script type="text/javascript">getTheme();</script>
+ <div id="wrapper">
+ <div id="portal">
+ <div id="header">
+ <h1>Apache Pluto</h1>
+ <p>A Apache Portals Project</p>
+ </div>
+ <div id="content">
+ <c:if test='${param.error == "1"}'>
+ <p style="color:red;text-align:center">
+ Invalid credentials. Please try again
+ </p>
+ </c:if>
+ <form method="POST" action="j_security_check">
+ <fieldset>
+ <legend>Login to Pluto</legend>
+ <div>
+ <label for="j_username">User Name</label>
+ <input type="text" name="j_username" id="j_username"/>
+ </div>
+ <div>
+ <label for="j_password">Password</label>
+ <input type="password" name="j_password" id="j_password"/>
+ </div>
+ <div>
+ <label for="j_login"></label>
+ <input type="submit" value="Login" name="login" id="j_login"/>
+ </div>
+ </fieldset>
+ </form>
+ </div>
+
+ <div id="footer">
+ © 2003-<fmt:formatDate value="${now}" pattern="yyyy"/> Apache Software Foundation
+ </div>
+
+ </div>
+ </div>
+
+ </body>
+
+</html>
+
+
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.css
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.css?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.css (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.css Sun Apr 5 21:29:50 2009
@@ -0,0 +1,383 @@
+/*
+* 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 */
+
+/* SET BASE FONT ATTRUBUTES */
+html, body, div, p, table, td, th {
+font-family: Arial, Helvetica, sans-serif;
+line-height: 1.3em;
+font-size: 1em;
+color: #444;
+}
+
+/* REMOVE PADDING AND MARGIN VALUES */
+html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, li, dd, dt, img,
+blockquote, q, table, thead, tbody, tfoot, caption, th, tr, td, a, form,
+input, textarea, fieldset, pre
+{margin: 0; padding: 0;}
+
+/* SORT OUT HEADER FORMATTING AND SIZES */
+h1, h2, h3, h4, h5 {font-weight: bold;}
+
+h1 {font-size: 2em;}
+h2 {font-size: 1.75em;}
+h3 {font-size: 1.5em;}
+h4 {font-size: 1.2em;}
+h5 {font-size: 1.1em;}
+h6 {font-size: 1em;}
+
+/* HARMONIZE LINKS, KILL BORDER ON IMG LINKS */
+a {text-decoration: underline; font-weight: normal;}
+a:link, a:visited {font-weight: normal;}
+a:hover {font-weight: normal;}
+a:active {color: #fff;}
+a img, :link img, :visited img {border: none}
+
+/* REMOVE BROWSERS DEFAULT TABLE BORDERS */
+table {border-collapse: collapse;}
+
+
+/* REMOVE AUTOMATIC TOP/BOTTOM MARGINS ON NESTED LISTS */
+ul ul, ul ol, ul dir, ul menu, ul dl,
+ol ul, ol ol, ol dir, ol menu, ol dl,
+dir ul, dir ol, dir dir, dir menu, dir dl,
+menu ul, menu ol, menu dir, menu menu, menu dl,
+dl ul, dl ol, dl dir, dl menu, dl dl
+{margin-top: 0; margin-bottom: 0;}
+
+/* HARMONISE LIST-BULLET TYPE */
+ul, ol, dl {list-style-type: none; }
+
+/* general layout */
+html {
+ height: 100%;
+}
+body {
+ height: 100%;
+ font-size: 76%;
+ background:midnightblue url(images/bkgd_bottom_gradient.png) 100% 100% repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bkgd_bottom_gradient.png', sizingMethod='scale');
+}
+p {display:table-cell; vertical-align:top;}
+/** 'tooltip' block **/
+
+a.tooltip {
+ position:relative;
+ z-index:24;
+ background-color:#ccc;
+ color:#000;
+ text-decoration:none;
+}
+
+a.tooltip:hover {
+ z-index:25;
+ background-color:#ff0;
+}
+
+a.tooltip span.tooltip {
+ display: none;
+}
+
+a.tooltip:hover span.tooltip {
+ display:block;
+ position:float;
+ top:-2em; left:28em; width:5em;
+ border:1px solid #0cf;
+ background-color:#cff; color:#000;
+ text-align: center;
+}
+#wrapper {
+ background: url(images/bkgd_top_gradient.png) 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bkgd_top_gradient.png', sizingMethod='scale');
+}
+
+/** 'portal' block **/
+
+#portal {
+ margin-left: 15px;
+ margin-right: 15px;
+ height:100%;
+ background: url('images/bar.png') 0 0 no-repeat;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bar.png', sizingMethod='image');
+}
+/* EI 6 ignores the following rule */
+html>body #portal{
+ margin-left: auto;
+ margin-right: auto;
+ min-width: 800px;
+ max-width: 1000px;
+ _width: expression((( document . body . clientWidth) ) < 800 ? "800px" : (( document . body . clientWidth ) ) > 1000 ? "1000px" : "auto" );
+ background: url('images/bar.png') 0px 0px repeat-x;
+}
+
+/** 'header' block **/
+
+#header {
+ /* background: url('images/pluto_logo.png') 0px 0px no-repeat; */
+ /* background: url('images/juddi_logo.png') 0px 0px no-repeat; */
+ background: url('images/juddi_logo_v2.png') 0px 0px no-repeat;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/juddi_logo_v2.png', sizingMethod='image');
+ width: auto;
+ height: 122px;
+ margin: 0px;
+ vertical-align: top;
+}
+
+#header h1 {
+ display: none;
+ margin: 5px 10px 5px 10px;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-size: 200%;
+}
+
+#header p {
+ display: none;
+ margin: 0px 10px 0px 10px;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-size: smaller;
+}
+
+#logout {
+ float:right;
+ font-size:smaller;
+ margin:10px;
+ color:#fff;
+}
+#logout a {
+ color:#fff;
+ }
+
+/** 'content' block **/
+
+#content {
+ float: top;
+ margin-bottom:10px;
+}
+
+/** 'portlet' block **/
+
+#portlets-left-column {
+ margin: 0;
+ padding: 0;
+ width: 49%;
+ float: left;
+}
+
+#portlets-right-column {
+ margin: 0;
+ padding: 0;
+ width: 49%;
+ float: right;
+}
+
+.portlet {
+ margin: 10px 0px 10px 0px;
+ padding: 0px;
+ border: 1px solid #ccc;
+}
+.portlet .body {
+ background:#FFF;
+ margin:2px;
+ }
+.portlet .header {
+ background:url(images/nav_bkgd.png) 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/nav_bkgd.png', sizingMethod='scale');
+ white-space: nowrap;
+ color: #FFFFFF;
+ height:28px;
+ border-bottom:1px solid #ccc;
+}
+
+.portlet .header h2 {
+ margin: 0px;
+ padding-top: 5px;
+ padding-left:12px;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-size: 100%;
+ float: none;
+}
+/* EI 6 ignores the following rule */
+html>body .portlet .header h2 {
+ padding: 6px 12px;
+}
+
+.portlet .header span {
+ width: 16px;
+ height: 16px;
+ float: right;
+ margin:4px 4px 0px 0px;
+}
+
+
+/** 'portlet' block: portlet mode and window state controls **/
+
+.portlet .header span.minimized {
+ background: url(images/controls/minimize_control.gif) 0px 0px no-repeat;
+}
+
+.portlet .header span.maximized {
+ background: url(images/controls/maximize_control.gif) 0px 0px no-repeat;
+}
+
+.portlet .header span.normal {
+ background: url(images/controls/normal_control.gif) 0px 0px no-repeat;
+}
+
+.portlet .header span.view {
+ background: url(images/controls/view.png) no-repeat;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/view.png', sizingMethod='image');
+}
+
+.portlet .header span.edit {
+ background: url(images/controls/edit.png) no-repeat;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/edit.png', sizingMethod='image');
+}
+
+.portlet .header span.help {
+ background: url(images/controls/help.png) no-repeat;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/help.png', sizingMethod='image');
+}
+
+.portlet .body {
+ padding: 10px;
+}
+
+.portlet .body h2 {
+ margin: 0px 0px 10px 0px;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-size: 150%;
+ float: none;
+}
+/** 'footer' block **/
+
+#footer {
+ background: url('images/footer_bar.png') 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/footer_bar.png', sizingMethod='scale');
+ clear: both;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-size: smaller;
+ color: #ccc;
+ text-align: left;
+ margin: 0px;
+ padding: 30px 20px 4px 20px;
+}
+
+
+/** Login page styles **/
+
+fieldset {
+ margin: 0.5em;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+}
+
+legend {
+ margin-left:25px;
+ padding:3px 7px;
+ color: #fff;
+ font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, Sans-serif;
+ font-weight: bold;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #ccc;
+}
+
+label {
+ clear: both;
+ width: 40%;
+ float: left;
+ text-align: right;
+ margin: 0px 5px 10px 0px;
+ color: #fff;
+}
+
+input, select {
+ color: #333;
+ background-color: #fff;
+ padding:2px;
+ font-size:11px;
+ margin: 0px 0px 10px 5px;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #333;
+}
+input:focus {
+ background-color:#ffc;
+}
+
+input#j_login, input#addPageButton, input#removePageButton, input#removeButton, input#addButton {padding:3px;border:1px solid #333;color:#333;background-color:#ccc;}
+
+
+/** navigation block **/
+
+#navigation .selected a {
+ /** color: #6D97BF; **/
+ color: #FFFFFF;
+ text-decoration: none;
+ font-size:11px;
+ line-height: 1em;
+ font-weight: bold;
+ background:url(images/active_tab.png) 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/active_tab.png', sizingMethod='crop');
+}
+
+#navigation {
+ background:url(images/nav_bkgd.png) 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/nav_bkgd.png', sizingMethod='crop');
+ position: static;
+ width: 100%;
+ height:29px;
+ margin: 0;
+ list-style: none;
+ line-height: 1em;
+}
+
+#navigation LI {
+ float: left;
+ margin: 0;
+ padding: 0;
+ height:29px
+}
+
+#navigation a {
+ background:url(images/tab_bkgd.png) 0px 0px repeat-x;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/tab_bkgd.png', sizingMethod='crop');
+ display: block;
+ float:left;
+ color: #ccc;
+ text-decoration: none;
+ font-size:11px;
+ line-height: 1em;
+ font-weight: bold;
+ margin: 0;
+ padding: 8px 12px;
+}
+
+#navigation A:hover,
+#navigation A:active,
+#navigation A.here:link,
+#navigation A.here:visited {
+ color: #fff;
+}
+
+#navigation A.here:link,
+#navigation A.here:visited {
+ position: relative;
+ z-index: 102;
+}
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.js
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.js?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.js (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/pluto.js Sun Apr 5 21:29:50 2009
@@ -0,0 +1,36 @@
+/*
+ * 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.
+ */
+toggleNavigation = function() {
+ if (document.getElementById) {
+ navigationRoot = document.getElementById("navigation");
+ if (navigationRoot) {
+ navigationList = navigationRoot.getElementsByTagName("ul")[0];
+ if (navigationList) {
+ navigationList.style.visibility = "hidden";
+ navigationRoot.onmouseover = function() {
+ navigationList.style.visibility = "visible";
+ }
+ navigationRoot.onmouseout = function() {
+ navigationList.style.visibility = "hidden";
+ }
+ }
+ }
+ }
+}
+
+window.onload = toggleNavigation;
+
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/portlet-spec-1.0.css
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/portlet-spec-1.0.css?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/portlet-spec-1.0.css (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/portlet-spec-1.0.css Sun Apr 5 21:29:50 2009
@@ -0,0 +1,279 @@
+/*
+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.
+*/
+/*
+NOTE:
+This stylesheet is a formatted copy of Appendix PLT. C in the Portlet API specification, which defines
+CSS styles to be used in portlets conforming to the spec.
+*/
+
+/*****************************************************************************************
+Java(TM) Portlet Specification, version 1.0 (10/07/2003) pp. 115-118
+
+PLT.C
+CSS Style Definitions
+To achieve a common look and feel throughout the portal page, all portlets in the portal
+page should use a common CSS style sheet when generating content.
+This appendix defines styles for a variety of logical units in the markup. It follows the
+style being considered by the OASIS Web Services for Remote Portlets Technical Committee.
+******************************************************************************************/
+
+/*****************************************************************************************
+PLT.C.1 Links (Anchor)
+A custom CSS class is not defined for the <a> tag. The entity should use the default
+classes when embedding anchor tags.
+******************************************************************************************/
+
+/*****************************************************************************************
+PLT.C.2 Fonts
+The font style definitions affect the font attributes only (font face, size, color, style, etc).
+******************************************************************************************/
+
+/* Font attributes for the "normal" fragment font. Used for the display of non-accentuated information.
+Example: Normal Text */
+.portlet-font {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ font-size: 10pt;
+ color:black;
+}
+
+/* Font attributes similar to the portlet-font but the color is lighter. Example: Dim Text */
+.portlet-font-dim {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ font-size: 10pt;
+ color:lightgrey;
+}
+
+/*****************************************************************************************
+PLT.C.3 Messages
+Message style definitions affect the rendering of a paragraph (alignment, borders,
+background color, etc) as well as text attributes.
+******************************************************************************************/
+/* Status of the current operation. Example: Progress: 80% */
+.portlet-msg-status {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size:10pt;
+ color:black;
+}
+
+/* Help messages, general additional information, etc. Example: Info about */
+.portlet-msg-info {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size:10pt;
+ color:blue;
+}
+
+/* Error messages.
+Example: Portlet not available*/
+.portlet-msg-error {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size:8pt;
+ color:red;
+}
+
+/* Warning messages.
+Example: Timeout occurred, try again later */
+.portlet-msg-alert {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size:10pt;
+ color:yellow;
+}
+
+/* Verification of the successful completion of a task. Example: Operation completed successfully */
+.portlet-msg-success {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size:10pt;
+ color:green;
+}
+
+/*****************************************************************************************
+PLT.C.4 Sections
+Section style definitions affect the rendering of markup sections such as table, div and
+span (alignment, borders, background color, etc) as well as their text attributes.
+******************************************************************************************/
+/* Table or section header */
+.portlet-section-header {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 16pt;
+ margin-top: 0;
+ margin-bottom: 1em;
+}
+
+/* Normal text in a table cell */
+.portlet-section-body {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ font-size: 12pt;
+
+}
+
+/* Text in every other row in the cell */
+.portlet-section-alternate {
+
+}
+
+/* Text in a selected cell range */
+.portlet-section-selected {
+
+}
+
+/* Text of a subheading */
+.portlet-section-subheader {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 12pt;
+}
+
+/* Table or section footnote */
+.portlet-section-footer {
+
+}
+
+/* Text that belongs to the table but does not fall in one of
+the other categories (e.g. explanatory or help text that is
+associated with the section). */
+.portlet-section-text {
+
+}
+
+/*****************************************************************************************
+PLT.C.5 Forms
+Form styles define the look-and-feel of the elements in an HTML form.
+******************************************************************************************/
+/* Text used for the descriptive label of the whole form (not the labels for fields). */
+.portlet-form-label {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 12pt;
+ color: 333;
+}
+
+/* Text of the user-input in an input field. */
+.portlet-form-input-field {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ background-color:#FF9;
+ border:1px solid #ababab;
+ font-size: 10pt;
+ color: 333;
+}
+
+/* Text on a button */
+.portlet-form-button {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ font-size: 12pt;
+ color: black;
+}
+
+/* Text that appears beside a context dependent action icon. */
+.portlet-icon-label {
+
+}
+
+/* Text that appears beside a "standard" icon (e.g. Ok, or Cancel) */
+.portlet-dlg-icon-label {
+
+}
+
+/* Text for a separator of fields (e.g. checkboxes, etc.) */
+.portlet-form-field-label {
+ font-family: Arial,Helvetica,sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 10pt;
+ color: black;
+}
+
+/* Text for a field (not input field, e.g. checkboxes, etc) */
+.portlet-form-field {
+
+}
+
+/*****************************************************************************************
+PLT.C.6 Menus
+Menu styles define the look-and-feel of the text and background of a menu structure. This
+structure may be embedded in the aggregated page or may appear as a context sensitive
+popup menu.
+******************************************************************************************/
+/* General menu settings such as background color, margins, etc */
+.portlet-menu {
+
+}
+
+/* Normal, unselected menu item. */
+.portlet-menu-item {
+
+}
+
+/* Selected menu item. */
+.portlet-menu-item-selected {
+
+}
+
+/* Normal, unselected menu item when the mouse hovers over it. */
+.portlet-menu-item-hover {
+
+}
+
+/* Selected menu item when the mouse hovers over it. */
+.portlet-menu-item-hover-selected {
+
+}
+
+/* Normal, unselected menu item that has submenus. */
+.portlet-menu-cascade-item {
+
+}
+
+/* Selected sub-menu item that has sub-menus. */
+.portlet-menu-cascade-item-selected {
+
+}
+
+/* Descriptive text for the menu (e.g. in a help context below the menu) */
+.portlet-menu-description {
+
+}
+
+/* Menu caption */
+.portlet-menu-caption {
+
+}
+
Added: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/unitpngfix.js
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/unitpngfix.js?rev=762162&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/unitpngfix.js (added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/unitpngfix.js Sun Apr 5 21:29:50 2009
@@ -0,0 +1,35 @@
+var clear="clear.gif" //path to clear.gif
+
+pngfix=function(){
+ var els=document.getElementsByTagName('*');
+ var ip=/\.png/i;
+ var i=els.length;
+ while(i-- >0){
+ var el=els[i];
+ var es=el.style;
+ if(el.src&&el.src.match(ip)&&!es.filter){
+ es.height=el.height;
+ es.width=el.width;
+ es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";
+ el.src=clear;
+ }
+ else{
+ var elb=el.currentStyle.backgroundImage;
+ if(elb.match(ip)){
+ var path=elb.split('"');
+ var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';
+ es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";
+ es.height=el.clientHeight+'px';
+ es.backgroundImage='none';
+ var elkids=el.getElementsByTagName('*');
+ if (elkids){
+ var j=elkids.length;
+ if(el.currentStyle.position!="absolute")es.position='static';
+ while (j-- >0)
+ if(!elkids[j].style.position)elkids[j].style.position="relative";
+ }
+ }
+ }
+ }
+}
+window.attachEvent('onload',pngfix);
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org