[Rt-commit] [svn] r1637 - in rt/branches/PLATANO-EXPERIMENTAL-CSS:
. html html/Elements html/NoAuth html/Ticket/Elements
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Oct 7 17:02:53 EDT 2004
Author: jesse
Date: Thu Oct 7 17:02:52 2004
New Revision: 1637
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/configure.ac
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CreateTicket
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Footer
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Login
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Menu
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyRequests
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyTickets
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/QuickCreate
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/Tabs
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html
Log:
Start of CSSification of the RT UI
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/configure.ac
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/configure.ac (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/configure.ac Thu Oct 7 17:02:52 2004
@@ -3,7 +3,7 @@
dnl Process this file with autoconf to produce a configure script
dnl
dnl Embed in generated ./configure script the following CVS info:
-AC_REVISION($Revision: 1.1 $)dnl
+AC_REVISION($Revision$)dnl
dnl Setup autoconf
AC_PREREQ(2.53)
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CreateTicket
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CreateTicket (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/CreateTicket Thu Oct 7 17:02:52 2004
@@ -21,6 +21,4 @@
%#
%#
%# END LICENSE BLOCK
-<FORM ACTION="<% $RT::WebPath%>/Ticket/Create.html">
-<&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in"> [_1]</&>
-</FORM>
+<FORM ACTION="<% $RT::WebPath%>/Ticket/Create.html"><&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in"> [_1]</&></FORM>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Footer
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Footer (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Footer Thu Oct 7 17:02:52 2004
@@ -22,10 +22,7 @@
%#
%# END LICENSE BLOCK
% if ($Menu) {
-</td>
-</tr>
-<tr>
-<td>
+</div>
% }
<& /Elements/Callback, %ARGS &>
<div class="bpscredits">
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header Thu Oct 7 17:02:52 2004
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# {{{ BEGIN BPS TAGGED BLOCK
%#
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+%# COPYRIGHT:
%#
-%# (Except where explictly superceded by other copyright notices)
+%# This software is Copyright (c) 1996-2004 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
@@ -14,14 +20,30 @@
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
+%# 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 LICENSE BLOCK
-%#<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+%# }}} END BPS TAGGED BLOCK
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE><%$Title%></TITLE>
@@ -48,6 +70,7 @@
}
}
</script>
+<& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
</HEAD>
<BODY BGCOLOR="<%$BgColor%>"
% if ($Focus) {
@@ -57,27 +80,19 @@
"
% }
>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
- <tr>
- <td colspan=2><a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="" width="230" height="50"></a></td>
- <td> </td>
- <td> </td>
- <td width="50%" align="right">
+<div class="logo"><a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="" width="230" height="50"></a></div>
+<div class="login-information">
% if ($session{'CurrentUser'} && $session{'CurrentUser'}->Id && $LoggedIn) {
-<SPAN STYLE="display: none"><A HREF="#skipnav"><&|/l&>Skip Menu</&></A> |</SPAN>
-<A HREF="<%$RT::WebPath%><% $Prefs %>" ><&|/l&>Preferences</&></A>
+<SPAN STYLE="display: none"><A HREF="#skipnav"><&|/l&>Skip Menu</&></A><br></SPAN>
<& /Elements/Callback, %ARGS &>
+<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
| <A HREF="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL && "?URL=".$URL%>"><&|/l&>Logout</&></a>
% }
-<BR>
-<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
% } else {
<&|/l&>Not logged in.</&>
% }
- </td>
- </tr>
-</table>
+</div>
<%INIT>
$r->headers_out->{'Pragma'} = 'no-cache';
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Login
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Login (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Login Thu Oct 7 17:02:52 2004
@@ -34,7 +34,7 @@
<& /Elements/Callback, %ARGS, _CallbackName => 'Header' &>
<& /Elements/Header, Title => loc('Login'), Focus => 'user' &>
-<DIV ALIGN=CENTER>
+<DIV class="dialog">
% if ($Error) {
<& /Elements/TitleBoxStart, title => loc('Error') &>
<% $Error %>
@@ -81,16 +81,6 @@
</FORM>
% }
</DIV>
-
-<BR>
-<!-- TODO: not yet implemented
-If you've forgotten your username or password, RT can <A
-href="/NoAuth/Reminder.html">send you a reminder</a>.
--->
-<BR>
-<BR>
-<BR>
-<HR>
<& /Elements/Footer, Menu => 0 &>
<%ARGS>
$user => ""
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Menu
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Menu (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Menu Thu Oct 7 17:02:52 2004
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# {{{ BEGIN BPS TAGGED BLOCK
%#
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+%# COPYRIGHT:
%#
-%# (Except where explictly superceded by other copyright notices)
+%# This software is Copyright (c) 1996-2004 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
@@ -14,24 +20,29 @@
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
-%#
+%# 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 LICENSE BLOCK
-%# font size depends on level
-% if ($level ge 3) {
-% $size = $basesize-(6);
-% } elsif ($level gt 0) {
-% $size = $basesize-($level * 2);
-% $padding = 2;
-% }
-% else {
-% $size = $basesize;
-% $padding = 5;
-% }
+%# }}} END BPS TAGGED BLOCK
<ul class="topnav" >
% my $sep=0;
% my $accesskey="1";
@@ -47,34 +58,28 @@
% }
% my $style="";
% if ($sep) {
-% $style="border-top: solid #999 1px; padding-top: .1em; margin-top: .5em;";
+% $style="-minor";
% } elsif ($level == 0 ) {
-% $style="border-bottom: solid white 1px; padding-top: .25em; padding-bottom: .5em;" ;
+% $style="-major";
% }
% if ($toptabs->{$tab}->{'separator'}) {
% $sep=1;
% } else {
% $sep=0;
% }
-<li style="<%$style%>"><A HREF="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>" style="font-size: <%$size%>;" class="<%$class%>"
+<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>
%# Second-level items
-%# if ($current_toptab eq $toptabs->{$tab}->{'path'}) {
-%# commented out by jesse on 4 jan 2003 so that tickets/search and ticket/# can
-%# both have menu items
% if ($toptabs->{$tab}->{'subtabs'}) {
<& /Elements/Menu, level => $level+1,
current_toptab => $toptabs->{$tab}->{'current_subtab'},
toptabs => $toptabs->{$tab}->{'subtabs'} &></li>
% }
-%# }
% }
</ul>
-
<%INIT>
-my ($tab, $subtab, $class, $size, $padding);
-my $basesize=16;
+my ($tab, $subtab, $class);
</%INIT>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyRequests
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyRequests (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyRequests Thu Oct 7 17:02:52 2004
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# {{{ BEGIN BPS TAGGED BLOCK
%#
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
%#
-%# (Except where explictly superceded by other copyright notices)
+%# (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
@@ -14,18 +20,36 @@
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
-%#
+%# 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 LICENSE BLOCK
+%# }}} END BPS TAGGED BLOCK
<&|/Elements/TitleBox,
- title => loc("[_1] newest unowned tickets...", $rows) &>
+ title => loc("[_1] newest unowned tickets", $rows),
+ class => 'my-requests',
+ title_href => "Search/Results.html".$QueryString &>
<& /Elements/TicketList,
Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', QueueName, ExtendedStatus, CreatedRelative, '<A HREF=\"$RT::WebPath/Ticket/Display.html?Action=Take&id=__id__\">".loc('Take')."</a>/TITLE: ' ",
- Query => "Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')",
+ Query => $Query,
OrderBy => 'Created',
Order => 'DESC',
ShowNavigation => 0,
@@ -35,4 +59,12 @@
</&>
<%init>
my $rows = $RT::MyRequestsLength;
+
+my $Query = "Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')";
+
+my $QueryString = '?' . $m->comp('/Elements/QueryString',
+ Query => $Query,
+ Order => 'DESC',
+ OrderBy => 'Priority') if ($Query);
+
</%init>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyTickets
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyTickets (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyTickets Thu Oct 7 17:02:52 2004
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# {{{ BEGIN BPS TAGGED BLOCK
%#
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+%# COPYRIGHT:
%#
-%# (Except where explictly superceded by other copyright notices)
+%# This software is Copyright (c) 1996-2004 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
@@ -14,19 +20,37 @@
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
-%#
-%#
-%# END LICENSE BLOCK
-<&|/Elements/TitleBox, title => loc('[_1] highest priority tickets I own', $rows) &>
+%# 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
+<&|/Elements/TitleBox,
+ class => 'my-tickets',
+ title => loc('[_1] highest priority tickets I own', $rows),
+ title_href => "Search/Results.html".$QueryString &>
<& /Elements/TicketList,
- Title => loc("[_1] highest priority tickets I requested...", $rows),
Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', Priority, QueueName, ExtendedStatus",
- Query => " Owner = '".$session{'CurrentUser'}->Id."' AND ( Status = 'new' OR Status = 'open')",
+ Query => $Query,
OrderBy => 'Priority',
Order => 'DESC',
Rows => $rows,
@@ -35,5 +59,13 @@
</&>
<%init>
my $rows = $RT::MyTicketsLength;
+
+my $Query = " Owner = '".$session{'CurrentUser'}->Id."' AND ( Status = 'new' OR Status = 'open')";
+
+my $QueryString = '?' . $m->comp('/Elements/QueryString',
+ Query => $Query,
+ Order => 'DESC',
+ OrderBy => 'Priority') if ($Query);
+
</%init>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/PageLayout Thu Oct 7 17:02:52 2004
@@ -21,43 +21,28 @@
%#
%#
%# END LICENSE BLOCK
-<table class="darkblue" border=0 cellspacing=0 cellpadding=0 width="100%">
- <th class="titlebox" align="left"><span class="rtname"><%$AppName%></span>
- </th>
- <span class="topactions">
-% foreach my $action (sort keys %{$topactions}) {
- <td class="darkblueright">
- <%$topactions->{"$action"}->{'html'} |n %>
- </td>
+<div class="rtname"><%$AppName%></div>
+<div class="topactions">
+% foreach my $action (reverse sort keys %{$topactions}) {
+<span class="topaction" >
+% $m->out($topactions->{"$action"}->{'html'}." " );
+</span>
% }
- </span>
-</table>
-<table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%">
-%# Vertical menu
-<TR height="100%">
-<TD valign="top" width="140" class="blue">
- <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
-</TD>
-<td valign="top">
-<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
- <td class="blue" valign="top">
- <span class="title"><%$title%></span>
-</td>
-</tr>
-<tr>
-<td class="blueright" valign="top">
- <span class="nav">
+</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='nav' HREF=\"".$RT::WebPath."/".$actions->{$action}->{'path'}."\">".$actions->{$action}->{'title'}."</A>";
+% push @actions, "<A class=\"actions\" HREF=\"".$RT::WebPath."/".$actions->{$action}->{'path'}."\">".$actions->{$action}->{'title'}."</A>";
% }
% }
<% join(" | ", @actions) | n %>
+% }
% if ($subactions) {
% my @actions;
% foreach my $action (sort keys %{$subactions}) {
@@ -65,12 +50,12 @@
% }
<% join(" | ", @actions) | n %>
% }
-% }
- </span>
- </td>
-</tr>
-<TR valign="top">
-<TD valign="top" width="100%" height="100%" class="mainbody" >
+</div>
+</div>
+<div class="menu">
+ <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
+</div>
+<div class="mainbody">
<%INIT>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/QuickCreate
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/QuickCreate (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/QuickCreate Thu Oct 7 17:02:52 2004
@@ -1,4 +1,4 @@
-<& /Elements/TitleBoxStart, title => loc('Quick ticket creation') &>
+<& /Elements/TitleBoxStart, title => loc('Quick ticket creation'), class => 'quick-create' &>
<form method="post" action="<%$RT::WebPath%>/index.html">
<input type="hidden" name="QuickCreate" value="1">
<table>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch Thu Oct 7 17:02:52 2004
@@ -21,13 +21,14 @@
%#
%#
%# END LICENSE BLOCK
-<& /Elements/TitleBoxStart, title => loc("Quick search"), bodyclass => "" &>
+<div class="ticket-overview">
+<& /Elements/TitleBoxStart, title => loc("Quick search"), bodyclass => "", class=> 'ticket-overview' &>
-<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH=100%>
+<TABLE>
<tr>
- <th align=left><&|/l&>Queue</&></th>
- <th align=right><font size=-1><&|/l&>New</&></font></th>
- <th align=right><font size=-1><&|/l&>Open</&></font></th>
+ <th align=left><&|/l&>Queue</&></th>
+ <th align=right><&|/l&>New</&></th>
+ <th align=right><&|/l&>Open</&></th>
</tr>
<%PERL>
@@ -61,7 +62,7 @@
% }
</TABLE>
<& /Elements/TitleBoxEnd &>
-
+</div>
<%INIT>
my $Queues = RT::Queues->new($session{'CurrentUser'});
$Queues->UnLimit();
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/SelectNewTicketQueue Thu Oct 7 17:02:52 2004
@@ -24,14 +24,7 @@
<LABEL ACCESSKEY="9">
<SELECT NAME ="<%$Name%>">
% foreach my $queue (@{$session{'create_in_queues'}}) {
-<OPTION
- VALUE="<%$queue->{'id'}%>"
- <%$Default && ($queue->{'id'} == $Default) && 'SELECTED'%>>
-<%$queue->{'Name'}%>
-% if (($Verbose) and ($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/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart Thu Oct 7 17:02:52 2004
@@ -21,12 +21,11 @@
%#
%#
%# END LICENSE BLOCK
-<TABLE CLASS="box <%$class|n%>"
+<TABLE CLASS="box"
+%# <%$class|n%>"
BGCOLOR="<%$color%>"
- CELLSPACING=0
- BORDER=0
- WIDTH="<%$width%>"
- CELLPADDING="0">
+ <% $width && "WIDTH=\"$width\""%>
+>
<TR>
<TH
@@ -47,7 +46,7 @@
<tr id="element-<%$id%>">
<td bgcolor="<%$contentbg%>" colspan="3" class="<%defined($bodyclass) ? $bodyclass : $class|n%>">
<%ARGS>
-$width => "100%"
+$width => undef
$class => undef
$bodyclass => undef
$title_href => undef
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css Thu Oct 7 17:02:52 2004
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# {{{ BEGIN BPS TAGGED BLOCK
%#
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse at bestpractical.com>
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
%#
-%# (Except where explictly superceded by other copyright notices)
+%# (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
@@ -14,96 +20,347 @@
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
%# General Public License for more details.
%#
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
+%# 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:
%#
-%# END LICENSE BLOCK
+%# (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
+div.frontmatter {
+ padding-left: 13%;
+ width: 87%;
+ margin-top: 51px;
+ white-space: nowrap;
+}
+
+div.logo {
+ top: 0;
+ left: 0;
+ border-bottom: solid #999999 1px;
+ position: absolute;
+ z-index: 2;
+
+
+
+
+}
+body>div.logo {position: fixed;}
+
+
+div.login-information {
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ background: #ffffff;
+ font-size: 12px;
+ float: left;
+ vertical-align: top;
+ border-right: 1em;
+ padding-right: .5em;
+ position: absolute;
+ width: 100%;
+ right: 0;
+ top: 0;
+ border-bottom: solid #999999 1px;
+ height: 50px;
+ z-index: 1;
+}
+body>div.login-information {position: fixed;}
+
+div.bpscredits {margin-top: 1em;
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 9px;
+ color: #666666;
+ right: 1em;
+ bottom: 0;
+ position: fixed;
+ width: 85%;
+ background: #ffffff;
+
+}
+
SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
text-decoration: none;
- white-space: nowrap}
+ white-space: normal;}
.nav2 { font-size: 10px;
- white-space: nowrap}
-.nav { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 13px;
- font-weight: normal;
- color: #FFFFFF;
- text-decoration: none;
- white-space: nowrap}
+ white-space: normal;}
.currentnav { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 13px;
+ font-size: 100%;
font-weight: bold;
color: #FFFF66;
text-decoration: none;
- white-space: nowrap}
-.topnav { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 16px;
+ white-space: normal;
+ }
+ .topnav { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 110%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+
+%# .topnav is the original RT class for the sidebar navigation tabs.
+%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
+%# This modification sets a different class name for each level, allowing
+%# style sheet control over the formats.
+
+a.topnav-0 { font-family: Verdana, sans-serif;
+ font-size: 110%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+a.topnav-1 { font-family: Verdana, sans-serif;
+ font-size: 100%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+a.topnav-2 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+a.topnav-3 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+a.topnav-4 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+a.topnav-5 { font-family: Verdana, sans-serif;
+ font-size: 85%;
font-weight: normal;
color: #FFFFFF;
text-decoration: none;
- white-space: nowrap}
+ white-space: normal;}
+li.topnav-0-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-1-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-2-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-3-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-4-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-5-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.topnav-0-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.topnav-1-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.topnav-2-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.topnav-3-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.topnav-4-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.topnav-5-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+
.currenttopnav { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 16px;
+ font-size: 110%;
font-weight: bold;
color: #FFFF66;
text-decoration: none;
- white-space: nowrap}
-.topactions { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
- color: #FFFFFF;
+ white-space: normal;}
+
+%# .currenttopnav is the original RT class for the sidebar navigation tabs.
+%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
+%# This modification sets a different class name for each level, allowing
+%# style sheet control over the formats
+
+a.currenttopnav-0 { font-family: Verdana, sans-serif;
+ font-size: 110%;
+ font-weight: bold;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+a.currenttopnav-1 { font-family: Verdana, sans-serif;
+ font-size: 100%;
+ font-weight: bold;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+a.currenttopnav-2 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+a.currenttopnav-3 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+a.currenttopnav-4 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+a.currenttopnav-5 { font-family: Verdana, sans-serif;
+ font-size: 85%;
+ font-weight: normal;
+ color: #FFFF66;
text-decoration: none;
- white-space: nowrap}
+ white-space: normal;}
+li.currenttopnav-0-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-1-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-2-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-3-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-4-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-5-minor {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+li.currenttopnav-0-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.currenttopnav-1-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.currenttopnav-2-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.currenttopnav-3-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.currenttopnav-4-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+li.currenttopnav-5-major {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+
+}
.subnav { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
color: #FFFFFF;
text-decoration: none;
- white-space: nowrap}
+ white-space: normal;}
.currentsubnav { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFFF66;
text-decoration: none;
- white-space: nowrap}
-.error { background-color: #ff0000;
- background-position: left top;
- vertical-align: top;
- text-align: left;
- }
-.oldblue { background-color: #0066CC;
- background-position: left top;
- vertical-align: top;
- text-align: left;
- }
-.blue { background-color: #4682B4;
- background-position: left top;
- vertical-align: top;
- text-align: left;
- }
-.blueright { background-color: #4682B4;
- background-position: left top;
- vertical-align: top;
- text-align: right;
- }
-.olddarkblue { background-color: #003399;
- background-position: left top;
- vertical-align: top;
- text-align: left;
- }
-.darkblue { background-color: #000080;
+ white-space: normal;}
+.error { background: #ff0000;
background-position: left top;
vertical-align: top;
text-align: left;
}
-.darkblueright { background-color: #000080;
- background-position: left top;
- vertical-align: top;
+.actions {
+ width: 100%;
+ background: #336699;
+ margin-right: .5em;
+ margin-bottom: 1em;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 85%;
+ color: #FFFFFF;
+ text-decoration: none;
text-align: right;
- }
+}
+
+.overdue {
+ color: red;
+}
div.messagebody {
padding: 2em;
@@ -112,7 +369,7 @@
div.downloadattachment {
- font size: 10px;
+ font-size: 10px;
text-align: right;
}
@@ -122,17 +379,37 @@
font-size: 11px;
background-position: left top;
}
-.black { background-color: #000000;
+.black { background: #000000;
background-position: left top;
}
-span.rtname { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 18px;
- font-weight: normal;
- color: #ffffff}
-span.title { font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 20px;
+
+
+th { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 80%;
+ font-weight: bold;
+ background-position: left top;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ margin-left: 0.5em;
+ margin-right: 0.5em;
+ }
+
+div.rtname { font-family: Verdana, Arial, Helvetica, sans-serif;
+ top: 0;
+ left: 230px;
+ color: #000000;
+ background-color: #ffffff;
+ border-bottom: solid #999999 1px;
+ font-size: 12px;
+ position: absolute;
+ text-align: left;
+ height: 50px;
+ width: 30%;
font-weight: bold;
- color: #ffffff}
+ padding-left: .5em;
+ z-index: 3;
+}
+body>div.rtname {position: fixed;}
.header { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
@@ -154,11 +431,6 @@
text-align: center;
vertical-align: middle;
text-decoration: none}
-.rtblue { background-color: #3399FF;
- margin-top: 0.2em;
- background-position: left top;
- vertical-align: top }
-
.currenttab { margin: 0.2em; background: #336699; }
.othertab { margin: 0.2em; background: #efefef; }
@@ -166,12 +438,25 @@
UL.topnav LI :focus { text-decoration: underline; }
-TD.mainbody {
- padding-top: 0.5em;
+div.dialog {
+ position: absolute;
+ width: 20%;
+ left: 40%;
+ top: 20%;
+
+}
+
+div.mainbody {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ right: 0;
+ top: 0;
+ margin-left: 13%;
padding-left: 1em;
- padding-right: 1em;
- margin-left: 1em;
+ padding-bottom: 0.25em;
margin-right: 1em;
+ margin-bottom: 2em;
+ margin-top: 2em;
+ position: absolute;
}
td.boxcontainer + td.boxcontainer {
@@ -181,37 +466,49 @@
}
th.ticketheader { font-size: 80%;
- font-weight: bold;
color: #336699;
background: #cccccc;
}
+table.box td {
+ border-collapse: collapse;
+ border: 0;
+ margin: 0;
+ padding: 0px;
+}
+
+table.box {
+ width: 100%;
+}
+
+
+
+
+table.titlebar {
+ width: 100%;
+ color: #ffffff;
+ background: #003399;
+
+
+}
th.titlebox {
text-align: left;
- padding-left: 0.5em;
- padding-right: 0.5em;
- margin-left: 0.5em;
- margin-right: 0.5em;
- border-top: solid black 1px;
- border-bottom: solid black 1px;
+ vertical-align: middle;
}
th.titleboxright {
+ vertical-align: middle;
text-align: right;
- padding-left: 0.5em;
- padding-right: 0.5em;
- margin-left: 0.5em;
- margin-right: 0.5em;
- border-top: solid black 1px;
- border-bottom: solid black 1px;
}
TD.titlebox {
padding-left: 1em;
padding-right: 1em;
padding-top: 1em;
- padding-bottom: 1em;
+ padding-bottom: 1em;
}
+
+
SPAN.message {
font-size: 100%;
font-family: Verdana, Arial, Helvetica, sans-serif;
@@ -221,15 +518,6 @@
BODY {
color: #000;
background: #FFFFFF;
- font-family: "Helvetica", sans-serif;
- margin-top: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
- margin-right: 0px;
- border-top: 0px;
- border-bottom: 0px;
- border-left: 0px;
- border-right: 0px;
}
@@ -251,10 +539,6 @@
DIV.endmatter { margin-left: -7% }
-.bpscredits {margin-top: 1em;
- text-align: right;
- color: #666666;
- }
A { font-weight: bold; color: #000000;
@@ -274,7 +558,7 @@
a:link { text-decoration: none}
a:visited { text-decoration: none}
a:hover { text-decoration: underline}
-/* a:focus { background-color: #ccccee } */
+/* a:focus { background: #ccccee } */
.hide {
display: none;
@@ -283,18 +567,46 @@
SPAN.date { font-size: 0.8em }
-span.title { font-size: 1.6em;
+div.title { font-size: 1em;
vertical-align: middle;
- color: #ffffff;}
+ color: #ffffff;
+ background: #336699;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ position: fixed;
+ float: top;
+ left: 13%;
+ width: 87%;
+ padding-left: 1.2em;
+ padding-right: 1em;
+ margin-right:0;
+ z-index: 999;
+
+}
+body>div.title {position: fixed;}
+
+ }
span.productname { font-size: 2em;
color: #0066cc;}
-SPAN.titleboxtitle {
+
+
+
+SPAN.titleboxtitle, SPAN.titleboxclose {
font-size: 80%;
color: #ffffff;
vertical-align: middle;
text-align: left;
}
+
+
+SPAN.titleboxtitle a {
+ color: #ffffff;
+}
+SPAN.titleboxtitle a:after {
+ content: "...";
+}
+
SPAN.titleboxright {
font-size: 0.8em;
color: #ffffff;
@@ -311,7 +623,6 @@
BLOCKQUOTE {
font-style: italic;
- /* color: #990; */
}
ADDRESS {
@@ -320,24 +631,42 @@
font-style: italic
}
-BLOCKQUOTE P { /* Try to avoid space above the attribution */
- margin-bottom: 0;
-}
-BLOCKQUOTE ADDRESS {
- margin: 0;
-}
-.emphasized {
- font-weight: bold
+div.menu {
+ float: top;
+ top: 51px;
+ bottom: 0em;
+ left: 0em;
+ margin: 0;
+ font-size: 70%;
+ float: left;
+ position: absolute;
+ background: #336699;
+ text-align: left;
+ padding-right: 1%;
+ width: 13%;
+ height: 100%;
+ z-index: 99;
}
+/* IE hack */
+body>div.menu {position: fixed;}
-P.map-also { font-style: italic; margin-left: 15%; text-align: right }
-.oddline {
- background-color : #ccccee;
+table.ticket-overview {
+ width: 15%;
}
+div.ticket-overview {
+ top: 51px;
+ right: 0em;
+ float: right;
+ position: absolute;
+ background: #336699;
+ text-align: left;
+ padding-right: 1%;
+}
+
ul.topnav {
list-style: none;
@@ -350,6 +679,38 @@
margin-bottom:0;
}
+.menu-major-separator {
+ border-bottom: solid white 1px;
+ padding-top: .25em;
+ padding-bottom: .5em;
+}
+
+.menu-minor-separator {
+ border-top: solid #999999 1px;
+ padding-top: .1em;
+ margin-top: .5em;
+}
+
+div.topactions {
+ top: 1.25em;
+ right: 0;
+ float: right;
+ position: absolute;
+ white-space: nowrap;
+ vertical-align: center;
+ width: 86%;
+ z-index: 4;
+}
+body>div.topactions {position: fixed;}
+
+span.topaction {
+ text-align: right;
+ float: right;
+ padding-left: 1em;
+}
+
+
+
%# Provide a callback for adding/modifying the style sheet.
%# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
%# "latter specified rule wins"
@@ -359,5 +720,5 @@
</%flags>
<%init>
$r->content_type('text/css');
-$r->headers_out->{'Expires'} = '+30m';
+#$r->headers_out->{'Expires'} = '+30m';
</%init>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/Tabs (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/Tabs Thu Oct 7 17:02:52 2004
@@ -167,9 +167,9 @@
) if ($ARGS{'Query'} or $session{'CurrentSearchHash'}->{'Query'});
$tabs->{"f"} = { path => "Search/Build.html?NewQuery=1",
- title => loc('New Query')};
+ title => loc('New Search')};
$tabs->{"g"} = { path => "Search/Build.html$args",
- title => loc('Query Builder')};
+ title => loc('Edit Search')};
$tabs->{"h"} = { path => "Search/Edit.html$args",
title => loc('Advanced'),
separator => 1 };
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html Thu Oct 7 17:02:52 2004
@@ -1,3 +1,4 @@
+<& /Elements/Header, Title=>loc("RT at a glance"), Refresh => $session{'home_refresh_interval'} &>
<!--
% $m->out('--'.'>');
% if (0) {
@@ -47,30 +48,18 @@
%#
%#
%# END LICENSE BLOCK
-<& /Elements/Header, Title=>loc("RT at a glance"), Refresh => $session{'home_refresh_interval'} &>
<& /Elements/Tabs,
current_toptab => '',
Title=>loc("RT at a glance") &>
<& /Elements/ListActions, actions => \@results &>
-<TABLE BORDER=0 WIDTH=100%>
-<TR VALIGN=TOP>
-<TD WIDTH=70% class="boxcontainer">
<& /Elements/MyTickets &>
-<BR>
<& /Elements/MyRequests &>
-<BR>
<& /Elements/QuickCreate &>
-</TD>
-<TD class="boxcontainer">
<& /Elements/Quicksearch &>
-<BR>
<form method=get action="index.html">
<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_refresh_interval'} &>
<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
</form>
-</TD>
-</TR>
-</TABLE>
<%init>
my @results;
More information about the Rt-commit
mailing list