[Rt-commit] r3283 - in rt/branches/3.5-TESTING: . html/Elements
html/NoAuth html/NoAuth/css
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 1 21:12:48 EDT 2005
Author: trs
Date: Fri Jul 1 21:12:45 2005
New Revision: 3283
Added:
rt/branches/3.5-TESTING/html/NoAuth/css/
rt/branches/3.5-TESTING/html/NoAuth/css/footer.css
rt/branches/3.5-TESTING/html/NoAuth/css/header.css
rt/branches/3.5-TESTING/html/NoAuth/css/main.css
rt/branches/3.5-TESTING/html/NoAuth/css/misc.css (contents, props changed)
rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css
rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
Removed:
rt/branches/3.5-TESTING/html/NoAuth/ossf.css
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/CreateTicket
rt/branches/3.5-TESTING/html/Elements/Footer
rt/branches/3.5-TESTING/html/Elements/Header
rt/branches/3.5-TESTING/html/Elements/Menu
rt/branches/3.5-TESTING/html/Elements/PageLayout
rt/branches/3.5-TESTING/html/Elements/SelectNewTicketQueue
rt/branches/3.5-TESTING/html/Elements/SimpleSearch
Log:
r4631 at wintermute: tom | 2005-07-01 20:30:23 -0400
Integrated the top actions, menu, logo, footer, and some other stuff into the new CSS layout. Menu system was a total pain to retrofit, and it may still have kinks.
Modified: rt/branches/3.5-TESTING/html/Elements/CreateTicket
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/CreateTicket (original)
+++ rt/branches/3.5-TESTING/html/Elements/CreateTicket Fri Jul 1 21:12:45 2005
@@ -44,5 +44,5 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% $RT::WebPath %>/Ticket/Create.html" name="CreateTicketInQueue">
-<&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in"> [_1]</&>
+<&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in" class="button"> [_1]</&>
</form>
Modified: rt/branches/3.5-TESTING/html/Elements/Footer
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Footer (original)
+++ rt/branches/3.5-TESTING/html/Elements/Footer Fri Jul 1 21:12:45 2005
@@ -43,21 +43,33 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-% if ($Menu) {
+
+%# End of div#body from /Elements/PageLayout
</div>
-% }
<& /Elements/Callback, %ARGS &>
-<div class="bpscredits">
+<div id="footer">
+ <p id="time">
+ <span><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></span>
+ </p>
+
+ <p id="bpscredits">
+ <span>
<&|/l, '»|«',
$RT::VERSION,
'2005',
'<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',
-&>[_1] RT [_2] Copyright 1996-[_3] [_4].</&><br>
+&>[_1] RT [_2] Copyright 1996-[_3] [_4].</&>
+ </span>
+ </p>
+
+ <p id="legal">
% if (!$Menu) {
<&|/l&>Distributed under version 2 <a href="http://www.gnu.org/copyleft/gpl.html"> of the GNU GPL.</a></&><br>
<&|/l, '<a href="mailto:sales at bestpractical.com">sales at bestpractical.com</a>' &>To inquire about support, training, custom development or licensing, please contact [_1].</&><br>
% }
+ </p>
</div>
+
% if ($Debug >= 2 ) {
% require Data::Dumper;
% my $d = Data::Dumper->new([\%ARGS], [qw(%ARGS)]);
@@ -65,17 +77,8 @@
<%$d->Dump() %>
</pre>
% }
-<div class="page-stats"><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></div>
-% if ($Menu) {
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-% }
-</div>
-</body>
+
+ </body>
</html>
% $m->abort();
Modified: rt/branches/3.5-TESTING/html/Elements/Header
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Header (original)
+++ rt/branches/3.5-TESTING/html/Elements/Header Fri Jul 1 21:12:45 2005
@@ -47,30 +47,28 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<title><%$Title%></title>
+ <head>
+ <title><%$Title%></title>
% if ($Refresh > 0) {
-<meta http-equiv="refresh" content="<%$Refresh%>" />
+ <meta http-equiv="refresh" content="<%$Refresh%>" />
% }
-
-<link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png">
-<link rel="stylesheet" title="RT Classic" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
-<link rel="stylesheet" title="OSSF" href="<%$RT::WebPath%>/NoAuth/ossf.css" type="text/css">
-<script>
-function hideshow(num) {
- idstring = "element-" + num;
- chunk = document.getElementById(idstring);
- if ( chunk.style.display == "none") {
- chunk.style.display = chunk.style.tag;
- } else {
- chunk.style.tag = chunk.style.display;
- chunk.style.display = "none";
- }
-}
-</script>
+ <link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png">
+ <link type="text/css" rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/css/main.css" />
+ <script>
+ function hideshow(num) {
+ idstring = "element-" + num;
+ chunk = document.getElementById(idstring);
+ if ( chunk.style.display == "none") {
+ chunk.style.display = chunk.style.tag;
+ } else {
+ chunk.style.tag = chunk.style.display;
+ chunk.style.display = "none";
+ }
+ }
+ </script>
<& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
-</head>
-<body
+ </head>
+ <body
% if ($Focus) {
onload="
var tmp = (document.getElementsByName('<% $Focus %>'));
@@ -78,23 +76,26 @@
"
% }
>
-<div id="all">
-<div class="logo"><a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<%loc("Best Practical Solutions, LLC corporate logo")%>" width="230" height="50"></a></div>
-<div class="login-information">
-<span style="display: none"><a href="#skipnav"><&|/l&>Skip Menu</&></a></span>
+
+<div id="quickbar">
+ <div id="quick-personal">
+ <span class="hide"><a href="#skipnav"><&|/l&>Skip Menu</&></a> | </span>
+% if ($session{'CurrentUser'}->Name) {
+ <&|/l, "<span>".$session{'CurrentUser'}->Name."</span>" &>Logged in as [_1]</&>
+% } else {
+ <&|/l&>Not logged in.</&>
+% }
%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
-<a href="<%$RT::WebPath%><% $Prefs %>" ><&|/l&>Preferences</&></a>
+ | <a href="<%$RT::WebPath%><%$Prefs%>"><&|/l&>Preferences</&></a>
% }
-<& /Elements/Callback, %ARGS &>
-<&|/l, "<strong>".$session{'CurrentUser'}->Name."</strong>" &>Logged in as [_1]</&>
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-| <a href="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
-% } else {
-<&|/l&>Not logged in.</&>
+ <& /Elements/Callback, %ARGS &>
+% unless (!$session{'CurrentUser'}->Name
+% or ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth)) {
+ | <a href="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
% }
-</div>
-<%INIT>
+ </div>
+<%INIT>
$r->headers_out->{'Pragma'} = 'no-cache';
$r->headers_out->{'Cache-control'} = 'no-cache';
</%INIT>
@@ -106,8 +107,8 @@
$Code => undef
$Refresh => 0
$Why => undef
-$BgColor => '#ffffff'
-$ShowBar => 1
-$LoggedIn => 1
+#$BgColor => '#ffffff'
+#$ShowBar => 1
+#$LoggedIn => 1
$URL => undef
</%ARGS>
Modified: rt/branches/3.5-TESTING/html/Elements/Menu
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Menu (original)
+++ rt/branches/3.5-TESTING/html/Elements/Menu Fri Jul 1 21:12:45 2005
@@ -43,44 +43,58 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<ul class="topnav" >
-% my $sep=0;
-% my $accesskey="1";
+<ul<% !$level ? ' id="system-menu"' : ''|n %><% $menu_class ? qq[ class="$menu_class"] : ''|n %>>
+<div>
+% my $sep = 0;
+% my $accesskey = 1;
+%
+% $count = 0;
+% $class = {};
+%
% foreach $tab (sort keys %{$toptabs}) {
-% my $current = $current_toptab || "";
-% my $path = $toptabs->{$tab}->{'path'} || "";
-% $path =~ s#/index.html$##gi;
-% $current =~ s#/index.html$##gi;
-% if ( $path eq $current) {
-% $class="currenttopnav"
-% } else {
-% $class="topnav"
-% }
-% my $style="";
-% if ($sep) {
-% $style="minor";
-% } elsif ($level == 0 ) {
-% $style="major";
-% }
-% if ($toptabs->{$tab}->{'separator'}) {
-% $sep=1;
-% } else {
-% $sep=0;
-% }
-<li class="<%$class%>-<%$level%>-<%$style%>"><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>" class="<%$class%>-<%$level%>"
-<%($class eq 'currenttopnav') ? "name='focus'" : ""|n %>
-<% !$level && "accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
+% $count++;
+%
+% my $current = $current_toptab || "";
+% my $path = $toptabs->{$tab}->{'path'} || "";
+%
+% $path =~ s#/index.html$##gi;
+% $current =~ s#/index.html$##gi;
+%
+% $sep = $toptabs->{$tab}->{'separator'} ? 1 : 0;
+%
+% $class->{a} = $path eq $current ? ' class="selected"' : undef;
+%
+% my @li;
+% push @li, 'first'
+% if $count == 1;
+%
+% push @li, 'separator'
+% if $sep;
+%
+% $class->{li} = join ' ', @li;
+%
+%
+ <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && "· "|n%><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>"<%$class->{a}|n%><% $class->{a} ? ' name="focus"' : ''|n %><% !$level && " accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
%# Second-level items
-% if ($toptabs->{$tab}->{'subtabs'}) {
- <& /Elements/Menu, level => $level+1,
- current_toptab => $toptabs->{$tab}->{'current_subtab'},
- toptabs => $toptabs->{$tab}->{'subtabs'} &></li>
-% }
+% if ($toptabs->{$tab}->{'subtabs'}) {
+ <& /Elements/Menu, level => $level+1,
+ current_toptab => $toptabs->{$tab}->{'current_subtab'},
+ toptabs => $toptabs->{$tab}->{'subtabs'} &>
+ </li>
+% }
% }
+</div>
</ul>
+
<%INIT>
-my ($tab, $subtab, $class);
+my ($tab, $class, $count);
+my @ul;
+#push @ul, 'last-menu'
+# if $toptabs->{last_menu};
+push @ul, 'odd'
+ if $level % 2;
+my $menu_class = join ' ', @ul;
</%INIT>
<%ARGS>
Modified: rt/branches/3.5-TESTING/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/PageLayout (original)
+++ rt/branches/3.5-TESTING/html/Elements/PageLayout Fri Jul 1 21:12:45 2005
@@ -43,45 +43,108 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<div class="rtname"><%$AppName%></div>
-<div class="topactions">
+ <div id="topactions">
% foreach my $action (reverse sort keys %{$topactions}) {
-<span class="topaction" >
+ <span class="topaction">
% $m->out($topactions->{"$action"}->{'html'}." " );
-</span>
+ </span>
% }
+ </div>
+
+ <div id="logo">
+ <a href="http://bestpractical.com">
+ <img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<%loc("Best Practical Solutions, LLC corporate logo")%>"
+ width="230" height="50">
+ </a>
+ <div class="rtname"><%$AppName%></div>
+ </div>
+
+%# End of div#quickbar from /Elements/Header
</div>
-<div class="frontmatter">
- <div class="title"><%$title%></div>
- <div class="actions">
-% if ($actions) {
-% my @actions;
-% foreach my $action (sort keys %{$actions}) {
-% if ($actions->{"$action"}->{'html'}) {
-% push @actions, $actions->{"$action"}->{'html'};
-% } else {
-% push @actions, '<a class="actions" href="'.$RT::WebPath.'/'.$actions->{$action}->{'path'}.'">'.$actions->{$action}->{'title'}."</a>";
+
+<div id="nav">
+<& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
+</div>
+
+<div id="header" style="padding-top: <% 1.2 * $menu_depth %>em;">
+ <div class="clear"></div>
+ <h1><%$title%></h1>
+
+% my $count = 0;
+% my $class = {};
+%
+% if ($page_tabs) {
+ <ul id="page-menu">
+ <div><div><div>
+% foreach my $tab (sort keys %{$page_tabs}) {
+% next if $tab =~ /^(?:current_toptab|this)$/;
+% $count++;
+%
+% my $current = $page_tabs->{current_toptab} || "";
+% my $path = $page_tabs->{$tab}->{'path'} || "";
+%
+% $path =~ s#/index.html$##gi;
+% $current =~ s#/index.html$##gi;
+%
+% my $sep = $toptabs->{$tab}->{'separator'} ? 1 : 0;
+%
+% $class->{a} = $path eq $current ? ' class="selected"' : undef;
+%
+% my @li;
+% push @li, 'first'
+% if $count == 1;
+%
+% push @li, 'separator'
+% if $sep;
+%
+% $class->{li} = join ' ', @li;
+%
+%
+ <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && "· "|n%><a href="<%$RT::WebPath%>/<%$page_tabs->{$tab}->{'path'}%>"<%$class->{a}|n%><% $class->{a} ? ' name="focus"' : ''|n %>><% $page_tabs->{$tab}->{'title'} %></a></li>
+% }
+ </div></div></div>
+ </ul>
% }
-% }
-<% join(" | ", @actions) | n %>
+ <ul id="actions-menu">
+ <div>
+% $count = 0;
+%
+% if ($actions) {
+% my @actions;
+% foreach my $action (sort keys %{$actions}) {
+% $count++;
+ <li<% $count == 1 ? q[ class="first"] : '' |n %>><% $count > 1 && "· "|n%>
+% if ($actions->{"$action"}->{'html'}) {
+<% $actions->{"$action"}->{'html'} | n %>
+% } else {
+<a href="<%$RT::WebPath%>/<%$actions->{$action}->{'path'}%>"><%$actions->{$action}->{'title'}%></a>
+% }
+</li>
+% }
% }
+%
% if ($subactions) {
-% my @actions;
-% foreach my $action (sort keys %{$subactions}) {
-% push @actions, $subactions->{"$action"}->{'html'};
-% }
-<% join(" | ", @actions) | n %>
+% my $sep;
+% if ($count) {
+% $sep = 1;
+<li class="separator">···</li>
+% }
+%
+% my @actions;
+% foreach my $action (sort keys %{$subactions}) {
+% $count++;
+<li<% $count == 1 ? q[ class="first"] : '' |n %>><% $count > 1 && !$sep && "· "|n%><% $subactions->{"$action"}->{'html'} | n %></li>
+% }
% }
+ </div>
+ </ul>
</div>
-</div>
-<div class="menu">
- <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
-</div>
-<div class="mainbody">
+
+<div id="body">
<& /Elements/Callback, __CallbackName => 'BeforeBody', %ARGS &>
%$m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
-<%INIT>
+<%INIT>
foreach my $tab (sort keys %{$toptabs}) {
if ($current_toptab && $toptabs->{$tab}->{'path'} eq $current_toptab) {
$toptabs->{$tab}->{"subtabs"} = $tabs;
@@ -93,7 +156,48 @@
$AppName = loc("RT for [_1]", $RT::rtname);
}
+my ($menu_depth, $almost_last) = @{$m->comp('.menu_recurse', data => $toptabs)};
+my $page_tabs;
+
+if (defined $almost_last->{subtabs} and %{$almost_last->{subtabs}}) {
+ $page_tabs = {
+ current_toptab => $almost_last->{current_subtab},
+ %{$almost_last->{subtabs}},
+ };
+
+ delete $almost_last->{subtabs};
+ delete $almost_last->{current_subtab};
+
+# $almost_last->{last_menu} = 1;
+}
</%INIT>
+
+%# There's probably a better way to do this that involves three times as
+%# much work and redoing the whole menu/tab system...
+%#
+%# This function recurses through the menu and returns the second to
+%# last menu, that is, the menu holding the last reference to
+%# and submenu. It also returns the number of menu levels minus
+%# the last submenu (used for CSS calcs later (HACK)).
+<%def .menu_recurse>
+ <%args>
+ $data => { }
+ $pdata => { }
+ $level => 0
+ </%args>
+ <%init>
+ for my $key (keys %$data) {
+ return $m->comp('.menu_recurse', data => $data->{$key}->{subtabs},
+ pdata => $data->{$key},
+ level => $level+1)
+ if ref($data->{$key}) eq 'HASH'
+ and defined $data->{$key}->{subtabs}
+ and %{$data->{$key}->{subtabs}};
+ }
+ return [$level, $pdata];
+ </%init>
+</%def>
+
<%ARGS>
$current_toptab => undef
$current_tab => undef
Modified: rt/branches/3.5-TESTING/html/Elements/SelectNewTicketQueue
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/SelectNewTicketQueue (original)
+++ rt/branches/3.5-TESTING/html/Elements/SelectNewTicketQueue Fri Jul 1 21:12:45 2005
@@ -44,9 +44,9 @@
%#
%# END BPS TAGGED BLOCK }}}
<label accesskey="9">
-<select NAME ="<%$Name%>">
+<select name="<%$Name%>" class="field">
% foreach my $queue (@{$session{'create_in_queues'}}) {
-<option value="<%$queue->{'id'}%>" <%($Default && ($queue->{'id'} == $Default)) ?'SELECTED': ''%>><%$queue->{'Name'}%><%($Verbose && $queue->{'Description'} )? "(".$queue->{'Description'}.")": ''%></option>
+<option value="<%$queue->{'id'}%>" <%($Default && ($queue->{'id'} == $Default)) ? 'SELECTED': ''%>><%$queue->{'Name'}%><%($Verbose && $queue->{'Description'} )? "(".$queue->{'Description'}.")": ''%></option>
% }
</select>
</label>
Modified: rt/branches/3.5-TESTING/html/Elements/SimpleSearch
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/SimpleSearch (original)
+++ rt/branches/3.5-TESTING/html/Elements/SimpleSearch Fri Jul 1 21:12:45 2005
@@ -44,6 +44,6 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% $RT::WebPath %>/index.html">
-<input size="12" name="q" autocomplete="off" accesskey="0">
-<input type="submit" value="<&|/l&>Search</&>">
+ <input size="12" name="q" autocomplete="off" accesskey="0" class="field">
+ <input type="submit" value="<&|/l&>Search</&>" class="button">
</form>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/footer.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/footer.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,91 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+#footer {
+ clear: both;
+ font-size: 0.8em;
+ margin-top: 5em;
+ padding-bottom: 3em;
+}
+
+#footer p { float: left; }
+
+#footer #time {
+ color: white;
+ background: #069 url(<%$RT::WebImagesURL%>/css/ctr-b2g.gif) no-repeat top right;
+ padding: 0.2em 0 0.3em 0;
+ margin: 0;
+ position: relative;
+ z-index: 2;
+}
+
+#footer #time span {
+ padding: 0.2em 2em 0.3em 3em;
+ background: url(<%$RT::WebImagesURL%>/css/cbr-b2g.gif) no-repeat bottom right;
+}
+
+#footer #bpscredits {
+ background: #ccc url(<%$RT::WebImagesURL%>/css/ctr-gray.gif) no-repeat top right;
+ padding: 0.2em 0 0.3em 0;
+ margin: 0;
+ position: relative;
+ left: -10px;
+ z-index: 1;
+}
+
+#footer #bpscredits span {
+ padding: 0.2em 2em 0.3em 3em;
+ background: url(<%$RT::WebImagesURL%>/css/cbr-gray.gif) no-repeat bottom right;
+}
+
+#footer #legal {
+ color: #888;
+ padding-left: 2em;
+}
+
+<%init>
+ $r->content_type('text/css');
+</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/header.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/header.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,113 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+#header {
+ clear: both;
+ margin: 0 0.75em 0 0.75em;
+ /*padding-top: 3.5em;*/
+}
+
+/*html>body #header { padding-top: 7em; }*/
+
+.clear { clear: both; }
+
+#header h1 {
+ margin: 0;
+ padding: 0;
+ color: #930;
+ display: inline;
+ position: relative;
+ font-size: 2em;
+ font-weight: bold;
+ left: 1.3em;
+ top: 0.21em;
+}
+
+#header ul#page-menu {
+ margin: 0;
+ padding: 0;
+ color: #eee;
+ background: #069 url(<%$RT::WebImagesURL%>/css/ct.gif) no-repeat top left;
+ float: left;
+ min-width: 75%;
+}
+
+#page-menu div { background: url(<%$RT::WebImagesURL%>/css/cb.gif) no-repeat bottom left; }
+#page-menu div div { background: url(<%$RT::WebImagesURL%>/css/cbr.gif) no-repeat bottom right; }
+#page-menu div div div {
+ background: url(<%$RT::WebImagesURL%>/css/ctr.gif) no-repeat top right;
+ padding: 0.2em 1em 0.4em 1em;
+}
+
+#header ul#page-menu li {
+ display: inline;
+}
+
+#header :link,
+#header :visited
+{
+ color: white;
+ text-decoration: none;
+}
+
+#header :link.selected,
+#header :visited.selected,
+#header :link:hover,
+#header :visited:hover
+{
+ color: #fc6; /*#ff6;*/
+}
+
+#header :link.selected,
+#header :visited.selected
+{
+ font-weight: bold;
+ text-decoration: underline;
+}
+
+<%init>
+ $r->content_type('text/css');
+</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/main.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/main.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,55 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+ at import "misc.css";
+ at import "nav.css";
+ at import "nav-left.css";
+ at import "header.css";
+ at import "footer.css";
+
+<%init>
+ $r->content_type('text/css');
+</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/misc.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/misc.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,125 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+body {
+ font-family: Verdana, sans-serif;
+ font-size: 76%;
+ margin: 0;
+}
+
+#logo {
+ float: left;
+ clear: left;
+}
+
+#logo img { border: none; }
+#logo div.rtname {
+ text-align: center;
+ font-weight: bold;
+}
+
+#body {
+ clear: both;
+ margin: 0 0.75em 0 1em;
+ padding-top: 0.5em;
+}
+
+#quickbar #quick-personal {
+ display: inline;
+ color: #888;
+ padding: 0.5em 1em 0 0;
+ float: right;
+}
+
+#quickbar #quick-personal span {
+ font-weight: bold;
+}
+
+#quickbar #quick-personal :link,
+#quickbar #quick-personal :visited
+{
+ color: #888;
+ font-weight: bold;
+}
+
+#quickbar #quick-personal :link:hover,
+#quickbar #quick-personal :visited:hover
+{
+ color: black;
+}
+
+#quickbar #topactions {
+ font-size: 0.9em;
+ padding: 0.5em 0 0 2em;
+}
+
+#quickbar #topactions form {
+ display: inline;
+ margin-right: 2em;
+}
+
+#quickbar #topactions form .button {
+ border: 1px solid #069;
+ padding: 1px;
+ background: white;
+}
+
+html>body #quickbar #topactions form .button { padding: 2px; }
+
+#quickbar #topactions form .field {
+ border: 1px solid #069;
+ padding: 1px;
+}
+
+#quickbar #topactions form input.field {
+ padding: 3px;
+}
+
+.hide { display: none; }
+
+<%init>
+ $r->content_type('text/css');
+</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/nav-left.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,86 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+#logo {
+ float: right;
+ clear: right;
+}
+#nav ul { float: left; }
+#nav ul div { text-align: left; }
+
+#nav li ul {
+ right: 2em;
+ left: 0;
+}
+
+html>body #nav li ul {
+ left: 0;
+ right: 2em;
+}
+
+#nav ul,
+#nav ul.odd,
+#nav ul .first,
+#nav ul.odd .first
+{
+ background-image: none;
+}
+
+#nav ul { background: #069 url(<%$RT::WebImagesURL%>/css/ctr.gif) no-repeat top right; }
+#nav ul div { background: transparent url(<%$RT::WebImagesURL%>/css/cbr.gif) no-repeat bottom right; }
+#nav ul.odd { background: #08c url(<%$RT::WebImagesURL%>/css/ctr.gif) no-repeat top right; }
+#nav ul.odd div { background: transparent url(<%$RT::WebImagesURL%>/css/cbr.gif) no-repeat bottom right; }
+
+#nav ul div {
+ display: block;
+ padding: 0.2em 1em 0.4em 0;
+}
+
+#nav ul { padding: 0; }
+
+<%init>
+ $r->content_type('text/css');
+</%init>
Added: rt/branches/3.5-TESTING/html/NoAuth/css/nav.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/nav.css Fri Jul 1 21:12:45 2005
@@ -0,0 +1,132 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+#nav {
+ margin-top: 0.5em;
+}
+
+#nav #system-menu {
+ font-size: 1.1em;
+ min-width: 40em;
+}
+
+#nav ul {
+ font-weight: bold;
+ font-size: 1em;
+ color: #eee;
+ list-style: none;
+ margin: 0;
+ padding: 0.2em 2em 0.4em 0;
+ float: right;
+ position: relative;
+}
+
+#nav li ul {
+ position: absolute;
+ right: 0;
+ top: 2.21em;
+ font-size: 1em;
+}
+
+/* Hide from IE */
+html>body #nav li ul {
+ left: 2em;
+}
+
+#nav :link,
+#nav :visited
+{
+ color: #ececec;
+ text-decoration: none;
+}
+
+#nav :link.selected,
+#nav :visited.selected,
+#nav :link:hover,
+#nav :visited:hover
+{
+ color: #fc6; /*#ff6;*/
+}
+
+#nav :link.selected,
+#nav :visited.selected
+{
+ text-decoration: underline;
+}
+
+html>body #nav :link.selected,
+html>body #nav :visited.selected
+{
+ padding-bottom: 0.8em;
+ background: transparent url(<%$RT::WebImagesURL%>/css/dark-arrow.png) no-repeat bottom center;
+}
+
+html>body #nav .odd > div > li > :link.selected,
+html>body #nav .odd > div > li > :visited.selected
+{
+ padding-bottom: 0.8em;
+ background: transparent url(<%$RT::WebImagesURL%>/css/light-arrow.png) no-repeat bottom center;
+}
+
+#nav li {
+ display: inline;
+ margin-bottom: 1em;
+ padding: 0.2em 0 0.4em 0;
+}
+
+#nav li.first { padding-left: 1em; }
+
+#nav div { display: inline; }
+#nav ul div { display: block; }
+
+#nav ul { background: #069 url(<%$RT::WebImagesURL%>/css/ct.gif) no-repeat top left; }
+#nav ul .first { background: transparent url(<%$RT::WebImagesURL%>/css/cb.gif) no-repeat bottom left; }
+#nav ul.odd { background: #08c url(<%$RT::WebImagesURL%>/css/ct-light.gif) no-repeat top left; }
+#nav ul.odd .first { background: transparent url(<%$RT::WebImagesURL%>/css/cb-light.gif) no-repeat bottom left; }
+
+<%init>
+ $r->content_type('text/css');
+</%init>
More information about the Rt-commit
mailing list