[pal-cvs 2857] [602] added pompei decorator.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 10月 3日 (水) 06:42:35 JST


Revision: 602
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=602
Author:   shinsuke
Date:     2007-10-03 06:42:34 +0900 (Wed, 03 Oct 2007)

Log Message:
-----------
added pompei decorator.

Added Paths:
-----------
    pompei/portal/trunk/src/custom/portal/files/src/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/styles.css
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator-macros.vm
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator.properties
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/footer.vm
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/header.vm
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/coreback.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.xcf
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header.jpg
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.xcf
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.png
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.xcf
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_arrow.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_over.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.gif
    pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.xcf


-------------- next part --------------
Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/styles.css
===================================================================
--- pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/styles.css	2007-10-02 07:48:42 UTC (rev 601)
+++ pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/styles.css	2007-10-02 21:42:34 UTC (rev 602)
@@ -0,0 +1,289 @@
+/*
+Copyright 2004 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.
+*/
+
+/*@import url("../../css/portal-standard.css");*/
+
+body {
+    height: auto;
+    background: #FFF;
+    color: #000000;
+    font-family: Arial, Helvetica, sans-serif;
+    font-size: 10px;
+}
+
+/** 
+  This white-space setting is VERY important as it keeps content from "spilling"
+  outside of portlets.
+  */
+
+a:link, a:visited {
+    color: #335599;
+    text-decoration: underline;
+}
+
+a:hover {
+    color: #4466aa;
+}
+
+body.layout-pompei
+{
+    margin: 0;
+    padding: 0;
+}
+
+
+#portal-page-actions A img
+{
+    display: inline;   
+}
+
+#portal-page-actions
+{
+    text-align:right;
+}
+
+.layout-pompei .layout-edit-bar
+{
+  width: 100%;
+  padding-top: 5px;
+  font-size: 8pt;
+  color: blue;
+  overflow:hidden;
+  clip:auto;
+}
+
+.layout-pompei .layout-edit-bar label, 
+.layout-pompei .layout-edit-bar input, 
+.layout-pompei .layout-edit-bar select 
+{
+  font-size: 8pt;
+  color: blue;
+}
+
+.layout-pompei .layout-edit-bar input
+{
+  font-size: 8pt;
+}
+
+.layout-pompei .layout-edit-bar-left
+{
+  display:inline;
+  float:left;
+}
+
+.layout-pompei .layout-edit-bar-right
+{
+  display:inline;
+  float:right;
+  padding-right: 5px;
+}
+
+.layout-pompei .portlet-edit-bar select
+{
+  font-size: 8pt;
+  color: blue;
+}
+
+
+
+/* site specific styling */
+
+
+/* the container centers the page */
+.layout-pompei #container {
+    height: auto;
+    margin: 0 10px 0 10px;
+    text-align:left;
+}   
+
+
+/* the header that contains the big image */
+.layout-pompei #header {
+    height:60px;
+}
+
+.layout-pompei #header img {
+    margin: 10px 0px 0px 30px;
+    float:left;
+}
+
+.layout-pompei #header .info {
+    margin: 10px 30px 0px 0px;
+    display:inline;
+    text-align:right;
+    float:right;
+}
+
+.layout-pompei #header .info .action {
+    padding: 2px 0px;
+}
+
+.layout-pompei #header .info .action a {
+    padding: 0px 3px;
+    text-decoration: none;
+}
+
+.layout-pompei #header .info .action a:hover {
+    color:#0000ff;
+}
+
+/* the navigationbar in the header */
+.layout-pompei #navbar {
+    margin:0px;
+    padding:0px;
+    height:25px;
+    background-image: url(../images/tab_bg.gif);
+}
+
+/* the links in the navigationbar are an unordered list */
+.layout-pompei #navbar ul {
+    margin:0px;
+    padding:0px;
+}
+
+.layout-pompei #navbar li {
+    list-style: none;
+    margin:0px;
+    padding:0px;
+    height:30px;
+    float: left;
+}
+.layout-pompei #navbar a {
+    float: left;
+    text-decoration: none;
+    margin:0px;
+    padding: 8px 5px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-size: 11px;
+    font-weight: bold;
+    color: #ffffff;
+}
+.layout-pompei #navbar a:hover {
+    background: #71758a;
+    color: #ffffff;
+}
+.layout-pompei #navbar span {
+    float: left;
+    text-decoration: none;
+    margin:0px;
+    padding: 8px 5px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-size: 11px;
+    font-weight: bold;
+    color: #ffffff;
+}
+
+.layout-pompei #navbar img {
+    background-color:#ffffff;
+    float:right;
+    margin:0px;
+    padding: 0px;
+}
+    
+/* the core contains all the site contents */
+.layout-pompei #core {
+    clear:both;
+    height: auto;
+    margin-top: 5px;
+    padding:0px 1px;
+    width:100%;
+}
+
+.layout-pompei #breadcrumbs {
+    border-top: 1px dotted #666;
+    border-bottom: 1px dotted #666;
+    voice-family: "\"}\"";
+    voice-family: inherit;
+    font-size: x-small;
+    padding: 3px 8px;
+    margin: 3px;
+}
+
+.layout-pompei #breadcrumbs a {
+    text-decoration: none;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-size: 10px;
+    color:#12248d;
+}
+
+/* the navigationbar in the header */
+.layout-pompei #subnavbar {
+    margin:0px;
+    padding:0px;
+    height:30px;
+}
+
+/* the links in the navigationbar are an unordered list */
+.layout-pompei #subnavbar ul {
+    margin:0px;
+    padding:0px;
+}
+
+.layout-pompei #subnavbar li {
+    list-style: none;
+    margin:0px;
+    padding:0px;
+    height:30px;
+    float: left;
+}
+.layout-pompei #subnavbar span {
+    float: left;
+    text-decoration: none;
+    margin:0px;
+    padding: 5px 2px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-size: 11px;
+    font-weight: bold;
+    color: #666666;
+}
+.layout-pompei #subnavbar a {
+    text-decoration: none;
+}
+.layout-pompei #subnavbar a:hover {
+    color: #0000ff;
+}
+
+/* the corecenter contains the center part of the core */
+.layout-pompei #corecenter {
+    margin:2px;
+    height: auto;
+    width:100%;
+}
+.layout-pompei #corecenter .portlet {
+    margin:1px;
+    width:99%;
+}
+
+/* the footer contains all copyright info etcetera */
+.layout-pompei #footer {
+    clear: both;
+    vertical-align: middle;
+    text-align: center;
+    font-family: Arial Black, Verdana, Arial, Helvetica, sans-serif;
+    font-size: 10px;
+    margin-bottom:10px;
+    margin-top:10px;
+    /*position:relative;*/
+    /*top:30px;*/
+}
+.layout-pompei #footer div {
+    color: #666666;
+    padding: 5px 20px;
+}
+.layout-pompei #footer a {
+    color: #666666;
+}
+


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/css/styles.css
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator-macros.vm
===================================================================
--- pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator-macros.vm	2007-10-02 07:48:42 UTC (rev 601)
+++ pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator-macros.vm	2007-10-02 21:42:34 UTC (rev 602)
@@ -0,0 +1,300 @@
+#* define navigation constants *#
+#macro (defineNavigationConstants)
+  #set($LEFT_TO_RIGHT = "LeftToRight")
+  #set($RIGHT_TO_LEFT = "RightToLeft")
+  #set($TOP_TO_BOTTOM = "TopToBottom")
+  #set($BOTTOM_TO_TOP = "BottomToTop")
+  #set($TITLE_FIRST = "TitleFirst")
+  #set($TITLE_LAST = "TitleLast")
+  #set($BREADCRUMBS_STYLE = "BreadcrumbsStyle")
+#end
+
+#* include tabs navigation component *#
+#macro (includeTabsNavigation $_menu $_orientation)
+    <ul>
+    #foreach($element in $_menu.elements.iterator())
+      #if($element.elementType == "option")
+        #set($tabTitle = $element.getTitle($preferedLocale))
+        #set($tabName = $element.getShortTitle($preferedLocale))
+        #if($_orientation == $LEFT_TO_RIGHT)
+          #if($element.isSelected($site))
+        <li><span>${tabName}</span></li>
+          #else
+            #set($tabUrl = $jetspeed.getAbsoluteUrl($element.url))
+        <li><a href="$tabUrl">${tabName}</a></li>
+          #end
+        #end
+      #end
+    #end
+        <li></li>
+    </ul>
+#end
+
+#macro (includeMenuNavigation $_menu $_orientation)
+    #set($sepa="")
+    <ul>
+    #foreach($element in $_menu.elements.iterator())
+      #if($element.elementType == "option")
+        #set($tabTitle = $element.getTitle($preferedLocale))
+        #set($tabName = $element.getShortTitle($preferedLocale))
+        #if($_orientation == $TOP_TO_BOTTOM)
+          #if($element.isSelected($site))
+        <li><div>» ${tabName}</div></li>
+          #else
+            #set($tabUrl = $jetspeed.getAbsoluteUrl($element.url))
+        <li><div><a href="$tabUrl">» ${tabName}</a></div></li>
+          #end
+        #end
+        #if($_orientation == $LEFT_TO_RIGHT)
+        ${sepa}
+          #if($element.isSelected($site))
+        <li><span>${tabName}</span></li>
+          #else
+            #set($tabUrl = $jetspeed.getAbsoluteUrl($element.url))
+        <li><span><a href="$tabUrl">${tabName}</a></span></li>
+          #end
+        #end
+      #end
+      #set($sepa="<li><span class='sepa'>|</span></li>")
+    #end
+    </ul>
+#end
+
+#* include links navigation component *#
+#macro (includeLinksNavigation $_menu $_orientation $_title $_style $_delimiter)
+  #if(!$_delimiter || $_delimiter == "")
+    #if($_style != $BREADCRUMBS_STYLE)
+      #set($_delimiter = "&nbsp;")
+    #else
+      #set($_delimiter = "&nbsp;&gt;&gt;&nbsp;")
+    #end
+  #end
+  #set($menuTitle = $_menu.getTitle($preferedLocale))
+  #set($menuName = $_menu.getShortTitle($preferedLocale))
+  
+      <div class="FolderList">
+  #if($_title == $TITLE_FIRST)
+    #if($_orientation == $LEFT_TO_RIGHT)
+		
+        <span title="$!menuTitle">${menuName}&nbsp;</span>
+    #elseif($_orientation == $TOP_TO_BOTTOM)
+		
+        <div class="pagetitle" title="$!menuTitle">${menuName}</div>
+    #end
+  #end
+  #foreach($element in $_menu.elements.iterator())
+    #if($element.elementType == "option")
+      #set($linkTitle = $element.getTitle($preferedLocale))
+      #set($linkName = $element.getShortTitle($preferedLocale))
+      #set($linkUrl = $jetspeed.getAbsoluteUrl($element.url))
+      #if($_style != $BREADCRUMBS_STYLE || $element.type != "page" || $velocityCount < $_menu.elements.size())
+        #if($_orientation == $LEFT_TO_RIGHT)
+			
+        <span>
+        #elseif($_orientation == $TOP_TO_BOTTOM)
+			
+        <div>
+        #end
+        #if($element.type == "page")
+			
+          <a href="$linkUrl" class="LinkPage" title="$!linkTitle">${linkName}</a>
+        #elseif($element.type == "link")
+			
+          <a href="$linkUrl" class="Link" title="$!linkTitle">${linkName}</a>
+        #elseif($element.type == "folder")
+			
+          <a href="$linkUrl" class="LinkFolder" title="$!linkTitle">${linkName}</a>
+        #else
+			
+          <a href="$linkUrl" title="$!linkTitle">${linkName}</a>
+        #end
+        #if($_orientation == $LEFT_TO_RIGHT)
+        ${_delimiter}</span>
+        #elseif($_orientation == $TOP_TO_BOTTOM)
+			
+        </div>
+        #end
+      #else
+        #if($_orientation == $LEFT_TO_RIGHT)
+			
+        <span title="$!linkTitle">${linkName}&nbsp;</span>		
+        #elseif($_orientation == $TOP_TO_BOTTOM)
+			
+        <div title="$!linkTitle">${linkName}</div>
+        #end
+      #end
+    #elseif($element.elementType == "separator")
+      #set($separatorTitle = $element.getTitle($preferedLocale))
+      #set($separatorText = $element.getText($preferedLocale))
+      #if($_orientation == $LEFT_TO_RIGHT)
+		
+        <span title="$!separatorTitle">${separatorText}${_delimiter}</span>              
+      #elseif($_orientation == $TOP_TO_BOTTOM)
+		
+        <div class="pagetitle" title="$!separatorTitle">${separatorText}</div>              
+      #end
+    #end
+  #end
+  #if($_title == $TITLE_LAST)
+    #if($_orientation == $LEFT_TO_RIGHT)
+		
+        <span title="$!menuTitle">${menuName}&nbsp;</span>
+    #elseif($_orientation == $TOP_TO_BOTTOM)
+		
+        <div class="pagetitle" title="$!menuTitle">${menuName}</div>
+    #end
+  #end
+  
+      </div>
+#end
+
+#* include nested menu links navigation component *#
+#macro (includeNestedLinksWithIconNavigation $_menu $_orientation)
+  #set($menuTitle = $_menu.getTitle($preferedLocale))
+  #set($menuName = $_menu.getShortTitle($preferedLocale))
+  #if($menuName)
+              <div class="pagetitle" title="$!menuTitle">${menuName}</div>
+  #end
+              <div>
+  #foreach($element in $_menu.elements.iterator())
+    #if($element.elementType == "option")
+      #set($linkTitle = $element.getTitle($preferedLocale))
+      #set($linkName = $element.getShortTitle($preferedLocale))
+      #set($linkUrl = $jetspeed.getAbsoluteUrl($element.url))
+      #if($element.type == "page")
+                <div><a href="$linkUrl" class="LinkPage" title="$!linkTitle">${linkName}</a></div>
+      #elseif($element.type == "link")
+        #set($linkTarget = $element.target)
+                <div><a href="$linkUrl" target="$linkTarget" class="Link" title="$!linkTitle">${linkName}</a></div>	
+      #elseif($element.type == "folder")
+                <div><a href="$linkUrl" class="LinkFolder" title="$!linkTitle">$linkName</a></div>
+      #end
+    #elseif($element.elementType == "menu")
+      #includeNestedLinksWithIconNavigation($element $_orientation)
+    #elseif($element.elementType == "separator")
+      #set($separatorTitle = $element.getTitle($preferedLocale))
+      #set($separatorText = $element.getText($preferedLocale))
+                  <div class="pagetitle" title="$!separatorTitle">${separatorText}</div>              
+    #end
+  #end
+              </div>
+#end
+
+#* include top level menu links navigation component *#
+#macro (includeLinksWithIconNavigation $_menu $_orientation)
+  #set($itemIndex = 1)
+  #set($rowStarted = false)
+  #set($elementsStarted = false)
+<script type="text/javascript"><!--
+var prevNode;
+function showPopupTopMenu(node) {
+    if(prevNode) {
+        prevNode.style.display='none';
+    }
+    node.style.display='block';
+    prevNode=node;
+}
+function hidePopupTopMenu(node) {
+    node.style.display='none';
+}
+//--></script>
+   <ul class="main"> 
+  #foreach($element in $_menu.elements.iterator())
+    #if($element.elementType == "option")
+      #if(!$rowStarted)
+<!-- 1 -->
+#*
+        <tr>
+          <td>
+            <div class="toolgroup">
+              <div class="body">
+                <div class="FolderList">
+*#
+      #elseif(!$elementsStarted)
+        <ol id="topMenu$itemIndex" class="sub" onmouseout="hidePopupTopMenu(this);">
+#*
+              <div class="body">
+                <div class="FolderList">
+*#
+      #end
+      #set($linkTitle = $element.getTitle($preferedLocale))
+      #set($linkName = $element.getShortTitle($preferedLocale))
+      #set($linkUrl = $jetspeed.getAbsoluteUrl($element.url))
+      #if($element.type == "page")
+                  <li><a href="$linkUrl" class="LinkPage" title="$!linkTitle">» ${linkName}</a></li>
+      #elseif($element.type == "link")
+        #set($linkTarget = $element.target)
+                  <li><a href="$linkUrl" target="$!linkTarget" class="Link" title="$!linkTitle">» ${linkName}</a></li>	
+      #elseif($element.type == "folder")
+                  <li><a href="$linkUrl" class="LinkFolder" title="$!linkTitle">» $linkName</a></li>
+      #end
+      #set($rowStarted = true)
+      #set($elementsStarted = true)
+    #elseif($element.elementType == "menu")
+      #if(!$rowStarted)
+<!-- 3 -->
+#*
+        <tr>
+          <td>
+            <div class="toolgroup">
+              <div class="body">
+                <div class="FolderList">
+*#
+      #elseif(!$elementsStarted)
+<!-- 4 -->
+#*
+              <div class="body">
+                <div class="FolderList">
+*#
+      #end
+      #includeNestedLinksWithIconNavigation($element $_orientation)
+      #set($rowStarted = true)
+      #set($elementsStarted = true)
+    #elseif($element.elementType == "separator")
+      #if(!$rowStarted)
+<!-- 5 -->
+#*
+        <tr>
+          <td>
+            <div class="toolgroup">
+*#
+      #elseif($elementsStarted)
+        </ol>
+      </li>
+      #set($itemIndex = $itemIndex + 1)
+#*
+                </div>
+              </div>
+*#
+      #end
+      #set($separatorTitle = $element.getTitle($preferedLocale))
+      #set($separatorText = $element.getText($preferedLocale))
+        <li class="menuItem" onmouseover="showPopupTopMenu(document.getElementById('topMenu$itemIndex'));">
+        <span>» ${separatorText}</span>
+#*
+              <div class="label">
+                ${separatorText}
+              </div>
+*#
+      #set($rowStarted = true)
+      #set($elementsStarted = false)
+    #end
+  #end
+  #if($elementsStarted)
+        </ol>
+      </li>
+#*
+                </div>
+              </div>
+*#
+  #end
+  #if($rowStarted)
+<!-- 8 -->
+#*
+            </div>
+          </td>
+        </tr>
+*#
+  #end
+    </ul>
+#end

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator.properties
===================================================================
--- pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator.properties	2007-10-02 07:48:42 UTC (rev 601)
+++ pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator.properties	2007-10-02 21:42:34 UTC (rev 602)
@@ -0,0 +1,28 @@
+# Copyright 2004 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.
+
+id=pompei
+template.type=velocity
+template.extension=.vm
+template.macros=-macros
+decorates=layout
+base.css.class=layout-pompei
+
+##following are defaults
+#allow.change.page.theme=true
+#allow.change.layout=true
+#max.layout.nesting=2
+#allow.add.page=true
+#allow.add.portlet=true
+#allow.change.portlet.decorator=true


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/decorator.properties
___________________________________________________________________
Name: svn:eol-style
   + native

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/footer.vm
===================================================================
--- pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/footer.vm	2007-10-02 07:48:42 UTC (rev 601)
+++ pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/footer.vm	2007-10-02 21:42:34 UTC (rev 602)
@@ -0,0 +1,29 @@
+#*
+Copyright 2004 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.
+*#
+
+            </div>
+            <div id="footer">
+                <div><!-- Copy Right Template -->
+                Copyright(C) 2005-2007 <a href="http://sourceforge.jp/projects/pal/">Portal Application Laboratory</a>. All rights reserved. <br/>
+                Powered by Pomepi.
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+</body>
+</html>
+

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/header.vm
===================================================================
--- pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/header.vm	2007-10-02 07:48:42 UTC (rev 601)
+++ pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/header.vm	2007-10-02 21:42:34 UTC (rev 602)
@@ -0,0 +1,112 @@
+#*
+Copyright 2004 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.
+*#
+
+#*
+This original design comes from Open Web Design.
+  http://www.openwebdesign.org/viewdesign.phtml?id=2730&referer=%2Fbrowse.php
+ Modified by Shinsuke Sugaya <shins****@yahoo*****>
+*#
+
+#* Add the current layouts configuration values to the context *#
+#defineLayoutObjects()
+
+#* Loads our custom macros *#
+#parse($layoutDecoration.getResource("decorator-macros.vm"))
+
+#* Add all template constants to the current context *#
+#defineNavigationConstants()
+
+#* Username *#
+#set($username = $JS2RequestContext.request.remoteUser)
+
+#* Login Error Code *#
+#set($errorcode = $JS2RequestContext.getSessionAttribute("org.apache.jetspeed.login.errorcode"))
+
+<html>
+  <head>
+    ## include header resources immdiately after head and before base is reset to the portal
+    ## web application context path root; this implies that header resources can not reliably
+    ## employ relative urls to locate content
+    #includeHeaderResource()
+
+	<base href="#BaseHref()">
+    <meta http-equiv="Content-type" content="#ContentType()" />
+    <meta http-equiv="Content-style-type" content="text/css" />   
+
+    #includeJavaScriptForHead()
+    #IncludeStylesheets()
+	
+    <title>#PageTitle()</title>
+
+    <meta name="version" content="#SiteVersionTag()">
+    <meta name="keywords" content="" />
+    <meta name="description" content="#PageDescription()" />
+  </head>
+
+<body class="#PageBaseCSSClass()">
+<div class="#PageBaseCSSClass()">
+
+    <div id="container">
+        <div id="topbar">
+<!-- Left Navigations Menu Table Data -->
+        </div>  
+        <div id="header">
+            <img style="border:0px;" src="#GetPageResource('images/logo.png')"/>
+            <div class="info">
+#if($username)
+                <div class="action">
+                  <a href="#BaseHref()portal/cart.psml">カートを見る</a> |
+                  <a href="#BaseHref()portal/my-account.psml">$messages.getString("portal.loginform.change_password")</a> |
+                  <a href="#BaseHref()login/logout">$messages.getString("portal.loginform.logout")</a>
+                </div>
+                <div>こんにちは、$username さん</div>
+#else
+                <div class="action">
+                  <a href="#BaseHref()portal/cart.psml">カートを見る</a> |
+                  <a href="#BaseHref()portal/register.psml">会員登録</a> |
+                  <a href="#BaseHref()login/proxy?org.apache.jetspeed.login.username=&org.apache.jetspeed.login.password=">$messages.getString("portal.loginform.login")</a>
+                </div>
+#end
+            </div>
+        </div>
+        <div id="navbar">
+#set($navigationsStandardMenu = $site.getMenu("navigations"))
+#if(!$navigationsStandardMenu.empty)
+#includeTabsNavigation($navigationsStandardMenu $LEFT_TO_RIGHT)
+#end
+        </div>
+
+        <div id="subnavbar">
+#set($pagesStandardMenu = $site.getMenu("pages"))
+#if(!$pagesStandardMenu.empty)
+#includeMenuNavigation($pagesStandardMenu $LEFT_TO_RIGHT)
+#end
+        </div>
+
+        <div id="core">
+            <div id="corecenter">
+            <div id="breadcrumbs">
+#set($breadcrumbsStandardMenu = $site.getMenu("breadcrumbs"))
+#if(!$breadcrumbsStandardMenu.empty)
+#includeLinksNavigation($breadcrumbsStandardMenu $LEFT_TO_RIGHT "" $BREADCRUMBS_STYLE "")
+#else
+        &nbsp;
+#end
+            </div>
+
+     <!-- Page Action Bar -->
+     #PageActionBar()
+<!--  END: layout/html/n2sm/decorator.vm -->

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/coreback.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/coreback.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.xcf
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/footer_bg.xcf
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header.jpg
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header.jpg
___________________________________________________________________
Name: svn:mime-type
   + image/jpeg

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.xcf
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/header_bg.xcf
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.png
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.png
___________________________________________________________________
Name: svn:mime-type
   + image/png

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.xcf
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/logo.xcf
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_arrow.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_arrow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_over.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/readmore_over.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.gif
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.xcf
===================================================================
(Binary files differ)


Property changes on: pompei/portal/trunk/src/custom/portal/files/src/webapp/decorations/layout/pompei/images/tab_bg.xcf
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream


pal-cvs メーリングリストの案内
Back to archive index