shinsuke 2004/10/31 14:06:10
Added: portal/src/webapp/WEB-INF/decorations/layout/html/tigris
decorator-bottom.vm decorator-top.vm
decorator.properties
portal/src/webapp/WEB-INF/decorations/layout/html/tigris/css
styles.css
portal/src/webapp/WEB-INF/decorations/layout/html/tigris/images
jetspeed-logo.gif jetspeed-powered.gif
nw_maj_rond.gif
Log:
added tigris based layout
Revision Changes Path
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-bottom.vm
Index: decorator-bottom.vm
===================================================================
#*
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.
*#
</td>
</tr>
</table>
</div>
<p>
<img src="content/images/jetspeed-powered.gif" alt="Jetspeed 2 Powered"
border="0">
</p>
</body>
</html>
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator-top.vm
Index: decorator-top.vm
===================================================================
#*
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.
*#
#* Add all template constants to the current context *#
#defineConstants()
#* Add the current layouts configuration values to the context *#
#defineLayoutObjects()
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
#includeStyleSheets()
<title>$jetspeed.page.getTitle($preferedLocale)</title>
<meta http-equiv="Content-type" content="text/html" />
<meta http-equiv="Content-style-type" content="text/css" />
<meta name="version" content="/* $Id: decorator-top.vm,v 1.1 2004/10/31 22:06:10
shinsuke Exp $" />
<meta name="keywords" content="" />
<meta name="description" content="$jetspeed.page.getTitle($preferedLocale)" />
</head>
<body marginwidth="0" marginheight="0" class="layout-tigris">
#set($myF = $jetspeed.currentFragment)
#set($profiledPageContext =
$request.getAttribute("org.apache.jetspeed.profiledPageContext"))
#set($parentFolder = $profiledPageContext.parentFolder)
<!-- BEGIN: layout/html/tigris/decorator.vm -->
<div class="layout-tigris">
<!-- Banner -->
<div id="banner">
<table border="0" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
<h1><img src="content/images/jetspeed-logo.gif" alt="Jetspeed 2 Logo"
border="0"/></h1>
</td>
<td>
<div align="right" id="login">
</div>
</td>
</tr>
</table>
</div>
<!-- Top Tabs -->
<div class="tabs">
#includeNavigation("tabs" $profiledPageContext.siblingPages $LEFT_TO_RIGHT)
</div>
<div id="breadcrumbs">
#if($parentFolder)
<a href="$jetspeed.getAbsoluteUrl($parentFolder.url)">Back to
$parentFolder.metaData.getTitle($preferedLocale)</a>
#end
</div>
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
<tr>
<td valign="top" id="leftcol" width="20%">
<div id="navcolumn">
<!-- Navigation Column -->
<table cellpadding="0" cellspacing="4" border="0" width="100%">
<tr>
<td>
<div class="toolgroup">
<div class="label">
Folders and Pages
</div>
<div class="body">
#includeNavigation("folders" $profiledPageContext.siblingFolders $TOP_TO_BOTTOM)
#foreach($docSetName in $profiledPageContext.documentSetNames)
#set($docSet = $profiledPageContext.getDocumentSet($docSetName))
#set($docSetNodes = $profiledPageContext.getDocumentSetNodes($docSetName))
<div class="pagetitle">
${docSet.getTitle($preferedLocale)}
</div>
#includeNavigation("linksWithIcon1" $docSetNodes $TOP_TO_BOTTOM)
#end
</div>
</div>
</td>
</tr>
#if($profiledPageContext.rootLinks)
<tr>
<td>
<div class="toolgroup">
<div class="label">
Additional Links
</div>
<div class="body">
#includeNavigation("linksWithIcon1" $profiledPageContext.rootLinks $TOP_TO_BOTTOM)
</div>
</div>
</td>
</tr>
#end
</table>
</div>
</td>
<td nowrap valign="top">
## $jetspeed.include($jetspeed.currentFragment)
<!-- END: layout/html/tigris/decorator.vm -->
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/decorator.properties
Index: decorator.properties
===================================================================
# 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=tigris
template.type=velocity
template.extension=.vm
decorates=layout
base.css.class=layout-tigris
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/css/styles.css
Index: styles.css
===================================================================
/*
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.
*/
body {
font-family: Verdana, Helvetica, Arial, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
padding: 1em;
background: #fff;
color: #000;
}
a:link, a:visited {
color: blue;
}
a:hover {
color: #f30 !important;
}
body.layout-tigris
{
margin: 0;
padding: 0;
}
.PTitle
{
}
.Link
{
}
.LinkFolder
{
}
.LinkPage
{
}
.layout-tigris .LTabLeftLow
{
width: 5px;
background-image: url(content/tigris/images/nw_maj_rond.gif);
background-repeat: no-repeat;
background-color: #999;
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
padding-left: 9px;
padding-right: 0px;
}
.layout-tigris .LTabLow
{
height:25px;;
background-color: #999;
border-bottom: 1px solid #fff;
padding-left: 0px;
padding-right: 0px;
}
.layout-tigris .LTabLow A:link,
.layout-tigris .LTabLow A:visited,
.layout-tigris .LTabLow A:hover,
.layout-tigris .LTabLow A:active
{
text-decoration: none;
color: #fff;
}
.layout-tigris .LTabRightLow
{
width: 0px;
background-color: #999;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
padding-left: 0px;
padding-right: 9px;
}
.layout-tigris .LTabLeft
{
width: 5px;
background-image: url(content/tigris/images/nw_maj_rond.gif);
background-repeat: no-repeat;
background-color: #ddd;
color: #fff;
border-left: 1px solid #fff;
padding-left: 9px;
padding-right: 0px;
}
.layout-tigris .LTab
{
height:25px;
background-color: #ddd;
color: #555;
padding-left: 0px;
padding-right: 0px;
}
.layout-tigris .LTabRight
{
width:10px;
border-right: 1px solid #333;
background-color: #ddd;
color: #fff;
padding-left: 0px;
padding-right: 9px;
}
.layout-tigris .tabs {
margin-top: .67em;
margin-right: 0px;
margin-left: 0px;
padding-left: 8px;
border-bottom: 6px #ddd solid;
}
.layout-tigris .tabs td {
padding-top: 3px;
padding-bottom: 3px;
font-weight: bold;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
.layout-tigris #banner h1 {
font-size: 1.25em;
margin: 0;
}
.layout-tigris #login {
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
font-weight: bold;
}
.layout-tigris #breadcrumbs {
border-top: 1px solid #fff;
background-color: #ccc;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
padding: 2px 8px;
}
.layout-tigris #breadcrumbs a {
text-decoration: none;
}
.layout-tigris #navcolumn {
font-size: x-small;
}
.layout-tigris #navcolumn p {
background-image: none;
}
.layout-tigris #navcolumn a:visited {
color: blue;
}
.layout-tigris #main {
border-top: 1px solid #999;
}
.layout-tigris #leftcol {
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
.layout-tigris #leftcol a {
text-decoration: none;
}
.layout-tigris #leftcol a:active, .layout-tigris #leftcol a:hover {
color: #f30 !important;
}
.layout-tigris .toolgroup {
background: #efefef;
margin-bottom: 6px;
}
.layout-tigris .toolgroup .label {
border-bottom: 1px solid #666;
border-right: 1px solid #666;
background: #ddd;
color: #555;
padding: 4px;
font-weight: bold;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
.layout-tigris .toolgroup .body {
border-right: 1px solid #aaa;
border-bottom: 1px solid #aaa;
padding: 4px 4px 4px 0;
}
.layout-tigris .toolgroup .body div {
padding-bottom: .3em;
padding-left: .5em;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
.layout-tigris .toolgroup .body div div {
}
.layout-tigris .toolgroup .pagetitle{
font-weight: bold;
padding-left: .5em;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
.layout-tigris .toolgroup .body div p {
margin-top: .0;
padding-bottom: 0;
padding-left: 0;
margin-top: .0;
margin-bottom: .0;
}
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/images/jetspeed-logo.gif
<<Binary file>>
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/images/jetspeed-powered.gif
<<Binary file>>
1.1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/tigris/images/nw_maj_rond.gif
<<Binary file>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]