[Rt-commit] r2599 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . html
html/Admin/Elements html/Admin/Global html/Admin/Groups
html/Admin/Users html/Approvals html/Approvals/Elements
html/Elements html/NoAuth html/Search html/Search/Elements
html/SelfService html/SelfService/Elements html/Ticket
html/Ticket/Elements html/User html/Widgets
jesse at bestpractical.com
jesse at bestpractical.com
Sun Apr 10 15:50:43 EDT 2005
Author: jesse
Date: Sun Apr 10 15:50:41 2005
New Revision: 2599
Added:
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/common.css
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/ossf.css (contents, props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBox
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxEnd (contents, props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxStart (contents, props changed)
Removed:
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBox
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxEnd
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/TitleBoxStart
Modified:
rt/branches/PLATANO-EXPERIMENTAL-CSS/ (props changed)
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Elements/EditScrip
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/GroupRights.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/UserRights.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/GroupRights.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/Members.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/UserRights.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Users/Modify.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Display.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/PendingMyApproval
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/ShowDependency
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Error
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Footer
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Header
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ListActions
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Login
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyRequests
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/MyTickets
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/QuickCreate
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Bulk.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/DisplayOptions
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditQuery
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditSearches
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/PickCriteria
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Display.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Elements/MyRequests
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Error.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Prefs.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Create.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Display.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowAttachments
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowHistory
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowRequestor
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowSummary
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Modify.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyAll.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyDates.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyLinks.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyPeople.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/User/Prefs.html
rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html
Log:
r12352 at hualien: jesse | 2005-04-10 15:48:42 -0400
* Updates from Gugod
r15592 at kybristedi: gugod | 2005-03-31 18:20:07 +0800
make local branch again
r15850 at kybristedi: gugod | 2005-04-02 15:26:27 +0800
* indentation of some mess body :/
* Tweak on the div.title and div.mainbody
r15851 at kybristedi: gugod | 2005-04-02 16:10:59 +0800
Make platano "HOME" screen has the same layout as 3.4R
r15856 at kybristedi: gugod | 2005-04-02 17:39:59 +0800
remove <font> tag
r15857 at kybristedi: gugod | 2005-04-02 17:40:48 +0800
TitleBox now use <div> instead of <table>
r15858 at kybristedi: gugod | 2005-04-02 18:28:09 +0800
* wrap a div#all right inside <body> to avoid margin problem on IE
* use div.right-column and div.left-column to split columns.
r16237 at kybristedi: gugod | 2005-04-08 12:27:57 +0800
setup login form semantic
r16238 at kybristedi: gugod | 2005-04-08 12:39:25 +0800
So, semantics.
r16239 at kybristedi: gugod | 2005-04-08 12:41:51 +0800
tweak css to match semantic of "HOME" page
r16240 at kybristedi: gugod | 2005-04-08 12:45:55 +0800
put ossf new style into css linkn
r16298 at kybristedi: gugod | 2005-04-10 09:37:10 +0800
Move TitleBox to Widgets/
r16299 at kybristedi: gugod | 2005-04-10 09:53:44 +0800
/Elements/TitleBox -> /Widgets/TitleBox
r16300 at kybristedi: gugod | 2005-04-10 09:55:50 +0800
/Elements/TitleBox -> /Widgets/TitleBox
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Elements/EditScrip
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Elements/EditScrip (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Elements/EditScrip Sun Apr 10 15:50:41 2005
@@ -49,7 +49,7 @@
<FORM METHOD=POST ACTION="Scrip.html">
<input type="hidden" name="id" value="<%$id%>">
<input type="hidden" name="Queue" value="<%$Queue%>">
-<& /Elements/TitleBoxStart, title => loc('Scrip Fields') &>
+<& /Widgets/TitleBoxStart, title => loc('Scrip Fields') &>
<TABLE>
<TR>
<TD ALIGN=RIGHT>
@@ -91,11 +91,11 @@
</TD>
</TR>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
<br>
-<& /Elements/TitleBoxStart, title => loc('User Defined conditions and actions') &>
+<& /Widgets/TitleBoxStart, title => loc('User Defined conditions and actions') &>
<table>
<TR>
<TD colspan=2>
@@ -127,7 +127,7 @@
</TD>
</TR>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/GroupRights.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/GroupRights.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/GroupRights.html Sun Apr 10 15:50:41 2005
@@ -51,7 +51,7 @@
<FORM METHOD=POST ACTION="GroupRights.html">
-<& /Elements/TitleBoxStart, title => loc('Modify global group rights.')&>
+<& /Widgets/TitleBoxStart, title => loc('Modify global group rights.')&>
<h1><&|/l&>System groups</&></h1>
<TABLE>
@@ -102,7 +102,7 @@
% }
</TABLE>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &>
</FORM>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/UserRights.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/UserRights.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Global/UserRights.html Sun Apr 10 15:50:41 2005
@@ -51,7 +51,7 @@
<FORM METHOD=POST ACTION="UserRights.html">
-<& /Elements/TitleBoxStart, title => loc('Modify global user rights.') &>
+<& /Widgets/TitleBoxStart, title => loc('Modify global user rights.') &>
<TABLE>
@@ -71,7 +71,7 @@
% }
</TABLE>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Modify User Rights'), Reset => 1 &>
</FORM>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/GroupRights.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/GroupRights.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/GroupRights.html Sun Apr 10 15:50:41 2005
@@ -53,7 +53,7 @@
<FORM METHOD=POST ACTION="GroupRights.html">
<INPUT TYPE=HIDDEN NAME=id VALUE="<% $GroupObj->id %>">
-<& /Elements/TitleBoxStart, title => loc('Modify group rights for group [_1]', $GroupObj->Name) &>
+<& /Widgets/TitleBoxStart, title => loc('Modify group rights for group [_1]', $GroupObj->Name) &>
<h1><&|/l&>System groups</&></h1>
<TABLE>
@@ -90,7 +90,7 @@
% }
</TABLE>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &>
</FORM>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/Members.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/Members.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/Members.html Sun Apr 10 15:50:41 2005
@@ -50,7 +50,7 @@
<& /Elements/ListActions, actions => \@results &>
-<& /Elements/TitleBoxStart, title => loc('Editing membership for group [_1]', $Group->Name) &>
+<& /Widgets/TitleBoxStart, title => loc('Editing membership for group [_1]', $Group->Name) &>
<FORM ACTION="<%$RT::WebPath%>/Admin/Groups/Members.html" METHOD=POST>
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Group->Id%>">
@@ -98,7 +98,7 @@
</TD>
</TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Modify Members'), Reset => 1 &>
</form>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/UserRights.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/UserRights.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Groups/UserRights.html Sun Apr 10 15:50:41 2005
@@ -53,7 +53,7 @@
<FORM METHOD=POST ACTION="UserRights.html">
<INPUT TYPE=HIDDEN NAME=id VALUE="<% $GroupObj->id %>">
-<& /Elements/TitleBoxStart, title => loc('Modify user rights for group [_1]', $GroupObj->Name) &>
+<& /Widgets/TitleBoxStart, title => loc('Modify user rights for group [_1]', $GroupObj->Name) &>
<TABLE>
@@ -72,7 +72,7 @@
% }
</TABLE>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Modify User Rights'), Reset => 1 &>
</FORM>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Users/Modify.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Users/Modify.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Admin/Users/Modify.html Sun Apr 10 15:50:41 2005
@@ -62,7 +62,7 @@
<TR>
<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Identity') &>
+<& /Widgets/TitleBoxStart, title => loc('Identity') &>
<TABLE>
<TR><TD ALIGN="RIGHT">
@@ -101,9 +101,9 @@
<textarea name="FreeformContactInfo" cols=20 rows=5><%$UserObj->FreeformContactInfo%></TEXTAREA>
</TD></TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<br>
-<& /Elements/TitleBoxStart, title => loc('Access control') &>
+<& /Widgets/TitleBoxStart, title => loc('Access control') &>
<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>>
<&|/l&>Let this user access RT</&><BR>
@@ -131,11 +131,11 @@
</TR>
</TABLE>
% }
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</TD>
<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Location') &>
+<& /Widgets/TitleBoxStart, title => loc('Location') &>
<TABLE>
<TR><TD ALIGN="RIGHT">
<&|/l&>Organization</&>:
@@ -175,9 +175,9 @@
<input name="Country" value="<%$UserObj->Country%>">
</TD></TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<br>
-<& /Elements/TitleBoxStart, title => loc('Phone numbers') &>
+<& /Widgets/TitleBoxStart, title => loc('Phone numbers') &>
<TABLE>
<TR><TD ALIGN="RIGHT">
<&|/l&>Residence</&>:
@@ -198,14 +198,14 @@
<&|/l&>Pager</&>:
</TD><TD>
<input name="PagerPhone" value="<%$UserObj->PagerPhone%>" size=13><br>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</TD>
<TR>
</TR>
</TABLE>
<BR>
-<& /Elements/TitleBoxStart, title => loc('Custom Fields') &>
+<& /Widgets/TitleBoxStart, title => loc('Custom Fields') &>
<TABLE>
% my $CFs = $UserObj->CustomFields;
% while (my $CF = $CFs->Next) {
@@ -218,17 +218,17 @@
<TR>
</TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<TR>
<TD colspan="2">
-<& /Elements/TitleBoxStart, title => loc('Comments about this user') &>
+<& /Widgets/TitleBoxStart, title => loc('Comments about this user') &>
<TEXTAREA class="comments" name="Comments" COLS=80 ROWS=5 WRAP=VIRTUAL><%$UserObj->Comments%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
%if ($UserObj->Privileged) {
<BR>
-<& /Elements/TitleBoxStart, title => loc('Signature') &>
+<& /Widgets/TitleBoxStart, title => loc('Signature') &>
<TEXTAREA class="signature" COLS=80 ROWS=5 name="Signature" WRAP=HARD><%$UserObj->Signature%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
</TD>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Display.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Display.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Display.html Sun Apr 10 15:50:41 2005
@@ -50,13 +50,13 @@
Title => $title &>
<form method=post action="<%$RT::WebPath%>/Approvals/index.html">
-<& /Elements/TitleBoxStart, title => $title &>
+<& /Widgets/TitleBoxStart, title => $title &>
<& /Ticket/Elements/ShowHistory , Ticket => $Ticket, Collapsed => 0, ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0 &>
<hr>
<table width=100%>
<& Elements/Approve, ticket => $Ticket, ShowApproving => 0 &>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit&>
</form>
<& Elements/ShowDependency, Ticket => $Ticket &>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/PendingMyApproval
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/PendingMyApproval (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/PendingMyApproval Sun Apr 10 15:50:41 2005
@@ -57,7 +57,7 @@
% }
</table>
-<& /Elements/TitleBoxStart, title => loc("Search for approvals") &>
+<& /Widgets/TitleBoxStart, title => loc("Search for approvals") &>
<input type=checkbox value="1" name="ShowPending"
<%((!$ARGS{'ShowRejected'} && !$ARGS{'ShowResolved'}) ||
$ARGS{'ShowPending'})
@@ -69,7 +69,7 @@
<&|/l,"<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>"&>Only show approvals for requests created before [_1]</&><br>
<&|/l, "<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>"&>Only show approvals for requests created after [_1]</&>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%init>
my $tickets = RT::Tickets->new( $session{'CurrentUser'} );
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/ShowDependency
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/ShowDependency (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Approvals/Elements/ShowDependency Sun Apr 10 15:50:41 2005
@@ -60,22 +60,22 @@
my $dep = $m->scomp('ShowDependency', Ticket => $link->BaseObj, _seen => $_seen);
if ($type eq 'approval') {
- $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("Approval #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/Widgets/TitleBoxStart', title => loc("Approval #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowCustomFields', Ticket => $link->BaseObj);
} elsif ($type eq 'ticket') {
- $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("Ticket #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/Widgets/TitleBoxStart', title => loc("Ticket #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowSummary', Ticket => $link->BaseObj);
} else {
- $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("#[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/Widgets/TitleBoxStart', title => loc("#[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
}
$text .= $m->scomp('/Ticket/Elements/ShowHistory' , Ticket => $link->BaseObj, Collapsed => ($type ne 'ticket'), ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0);
- $head .= $m->scomp('/Elements/TitleBoxEnd');
- $text .= $m->scomp('/Elements/TitleBoxEnd');
+ $head .= $m->scomp('/Widgets/TitleBoxEnd');
+ $text .= $m->scomp('/Widgets/TitleBoxEnd');
$text .= $dep;
$text .= '</a>';
$show{$link->BaseObj->Id} = {
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Error
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Error (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Error Sun Apr 10 15:50:41 2005
@@ -46,13 +46,13 @@
<& /Elements/Callback, %ARGS, error => $error &>
<& /Elements/Header, Code => $Code, Why => $Why &>
<& /Elements/Tabs &>
-<& /Elements/TitleBoxStart, class=> "error", title => $Title &>
+<& /Widgets/TitleBoxStart, class=> "error", title => $Title &>
<%$Why%>
<br>
<font size=-1>
<%$Details%>
</font>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</body>
</HTML>
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 Sun Apr 10 15:50:41 2005
@@ -74,7 +74,8 @@
</TR>
</TABLE>
% }
-</BODY>
+</div>
+</body>
</HTML>
% $m->abort();
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 Sun Apr 10 15:50:41 2005
@@ -52,7 +52,8 @@
% }
<link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png">
-<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
+<link rel="stylesheet" title="RT Classic" href="<%$RT::WebPath%>/NoAuth/ossf.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;
@@ -67,7 +68,7 @@
</script>
<& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
</HEAD>
-<BODY BGCOLOR="<%$BgColor%>"
+<body
% if ($Focus) {
ONLOAD="
var tmp = (document.getElementsByName('<% $Focus %>'));
@@ -75,6 +76,7 @@
"
% }
>
+<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>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ListActions
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ListActions (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ListActions Sun Apr 10 15:50:41 2005
@@ -44,7 +44,7 @@
%#
%# END BPS TAGGED BLOCK }}}
% if ($actions[0] ) {
-<& /Elements/TitleBoxStart, title => loc('Results') &>
+<& /Widgets/TitleBoxStart, title => loc('Results') &>
<UL>
% foreach my $action (@actions) {
% next unless ($action);
@@ -54,7 +54,7 @@
<LI><%$action%></LI>
% }
</UL>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
% }
<%init>
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 Sun Apr 10 15:50:41 2005
@@ -56,31 +56,38 @@
<& /Elements/Callback, %ARGS, _CallbackName => 'Header' &>
<& /Elements/Header, Title => loc('Login'), Focus => 'user' &>
-<DIV class="dialog">
+<div class="dialog">
% if ($Error) {
-<& /Elements/TitleBoxStart, title => loc('Error') &>
+<& /Widgets/TitleBoxStart, title => loc('Error') &>
<% $Error %>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
-<BR>
-<& /Elements/TitleBoxStart, width=> "40%", titleright => loc("RT [_1]", $RT::VERSION), title => loc('Login') ,
+
+<div id="loginform">
+<& /Widgets/TitleBoxStart,titleright => loc("RT [_1]", $RT::VERSION), title => loc('Login') ,
contentbg=>"#cccccc" &>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<FORM id="login" name="login" METHOD=POST ACTION="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>" >
-<TABLE BORDER=0 WIDTH=100%>
-<TR ALIGN=RIGHT>
-<TD ALIGN=RIGHT><&|/l&>Username</&>:</TD><TD ALIGN=LEFT><input name=user value="<%$user%>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Password</&>:</TD><TD ALIGN=LEFT><input type=password name=pass></TD></TR>
-<TR><TD colspan=2 align=right>
-<input type=submit Value="<&|/l&>Login</&>">
-</TD></TR>
-</TABLE>
+<form id="login" name="login" method="post" action="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>">
+
+<div class="input-row">
+ <span class="label"><&|/l&>Username</&>:</span>
+ <span class="input"><input name="user" value="<%$user%>" /></span>
+</div>
+
+<div class="input-row">
+ <span class="label"><&|/l&>Password</&>:</span>
+ <span class="input"><input type="password" name="pass" /></span>
+</div>
+
+<div class="button-row">
+ <span class="input"><input type="submit" Value="<&|/l&>Login</&>"></span>
+</div>
%# Give callbacks a chance to add more control elements
<& /Elements/Callback, %ARGS &>
-<&/Elements/TitleBoxEnd&>
+<&/Widgets/TitleBoxEnd&>
% # From mason 1.0.1 forward, this doesn't work. in fact, it breaks things.
% # But on Mason 1.15 it's fixed again, so we still use it.
% # The code below iterates through everything in the passed in arguments
@@ -100,9 +107,10 @@
% }
% }
% }
-</FORM>
+</form>
% }
-</DIV>
+</div><!-- #loginform -->
+</div><!-- .dialog -->
<& /Elements/Footer, Menu => 0 &>
<%ARGS>
$user => ""
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 Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&|/Elements/TitleBox,
+<&|/Widgets/TitleBox,
title => loc("[_1] newest unowned tickets", $rows),
class => 'my-requests',
title_href => "Search/Results.html".$QueryString &>
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 Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&|/Elements/TitleBox,
+<&|/Widgets/TitleBox,
class => 'my-tickets',
title => loc('[_1] highest priority tickets I own', $rows),
title_href => "Search/Results.html".$QueryString &>
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 Sun Apr 10 15:50:41 2005
@@ -43,28 +43,27 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Quick ticket creation') &>
+<div class="quick-create">
+<& /Widgets/TitleBoxStart, title => loc('Quick ticket creation') &>
<form method="post" action="<%$RT::WebPath%>/index.html">
<input type="hidden" name="QuickCreate" value="1">
<table>
-<tr>
-<td>
-<font size="-2"><&|/l&>Subject</&>:<br><input size="15" name="Subject"></font>
-</td>
-<td>
-<font size="-2"><&|/l&>Queue</&>:<br><& /Elements/SelectQueue, Name => 'Queue', ShowNullOption => 0 &></font>
-</td>
-<td>
-<font size="-2"><&|/l&>Owner</&>:<br>
+<tr><td>
+<&|/l&>Subject</&>:<br><input size="15" name="Subject"/>
+</td><td>
+<&|/l&>Queue</&>:<br><& /Elements/SelectQueue, Name => 'Queue', ShowNullOption => 0 &>
+</td><td>
+<&|/l&>Owner</&>:<br/>
<select type="select" name="Owner">
<option value="<%$session{'CurrentUser'}->id%>" SELECTED><%$session{'CurrentUser'}->Name %></option>
<option value="<%$RT::Nobody->id%>"><%loc('Nobody')%></option>
</select>
-</font>
</td>
</tr>
%#<tr><td colspan="3"><font size="-2"><textarea cols="50" rows="3"></textarea></font></td></tr>
</table>
<div align="right"><input type="submit" value="<%loc('Create')%>"></div>
</form>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
+</div>
+
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 Sun Apr 10 15:50:41 2005
@@ -44,11 +44,11 @@
%#
%# END BPS TAGGED BLOCK }}}
<div class="ticket-overview">
-<& /Elements/TitleBoxStart, title => loc("Quick search"), bodyclass => "", class=> 'ticket-overview' &>
+<& /Widgets/TitleBoxStart, title => loc("Quick search"), bodyclass => "", class=> 'ticket-overview' &>
<TABLE>
<tr>
- <th class="collection-as-table" align=left><&|/l&>Queue</&></th>
+ <th class="collection-as-table" align=left><&|/l&>Queue</&></th>
<th class="collection-as-table" align=right><&|/l&>New</&></th>
<th class="collection-as-table" align=right><&|/l&>Open</&></th>
</tr>
@@ -79,7 +79,7 @@
</TR>
% }
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</div>
<%INIT>
my $Queues = RT::Queues->new($session{'CurrentUser'});
Added: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/common.css
==============================================================================
--- (empty file)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/common.css Sun Apr 10 15:50:41 2005
@@ -0,0 +1,48 @@
+
+div.nowrap
+{
+ white-space: nowrap;
+ }
+
+
+/* BEGIN Login Form */
+div#loginform
+{
+ width: 100%;
+ }
+
+div#loginform div.input-row
+{
+ text-align: center;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ width: auto;
+ }
+
+div#loginform div.input-row span.label
+{
+ width: 40%;
+ font-size: 12pt;
+ }
+
+div#loginform div.input-row span.input
+{
+ width: 60%;
+ }
+
+div#loginform div.input-row input
+{
+ width: 60%;
+ }
+
+div#loginform div.button-row
+{
+ padding-right: 8px;
+ text-align: right;
+ }
+
+div#loginform div.button-row input
+{
+ width: auto;
+ }
+/* END Login Form */
Added: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/ossf.css
==============================================================================
--- (empty file)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/ossf.css Sun Apr 10 15:50:41 2005
@@ -0,0 +1,784 @@
+%# 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 "common.css";
+
+div.frontmatter {
+ margin-left: 170px;
+ margin-top: 51px;
+padding:0px;
+}
+
+div.logo {
+top: 0;
+left: 0;
+position: absolute;
+ border-bottom: solid #999999 1px;
+ z-index: 2;
+}
+
+
+div.login-information {
+background: #ffffff;
+float: left;
+position: absolute;
+width: 100%;
+right: 0;
+top: 0;
+height: 50px;
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ vertical-align: top;
+ border-right: 1em;
+ padding-right: .5em;
+ border-bottom: solid #999999 1px;
+ z-index: 1;
+}
+body>div.login-information {position: fixed;}
+div.bpscredits {
+color: #666666;
+right: 1em;
+bottom: 0;
+position: fixed;
+width: 85%;
+background: #ffffff;
+ margin-top: 1em;
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 9px;
+}
+
+span.nav { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ color: #FFFFFF;
+ text-decoration: none;
+ white-space: normal;}
+.nav2 { font-size: 10px;
+ white-space: normal;}
+.currentnav { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 100%;
+ font-weight: bold;
+ color: #FFFF66;
+ text-decoration: none;
+ 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: 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: 110%;
+ font-weight: bold;
+ color: #FFFF66;
+ text-decoration: none;
+ 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: 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: normal;}
+.currentsubnav { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ font-weight: bold;
+ color: #FFFF66;
+ text-decoration: none;
+ white-space: normal;}
+.error { background: #ff0000;
+ background-position: left top;
+ vertical-align: top;
+ text-align: left;
+ }
+.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;
+
+}
+
+
+div.downloadattachment {
+ font-size: 10px;
+ text-align: right;
+
+}
+
+
+td { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ background-position: left top;
+ }
+.black { background: #000000;
+ background-position: left top;
+ }
+
+
+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;
+ 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;
+ color: #0066CC}
+.subheader { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ font-weight: bold;
+ color: #0066CC }
+.value { font-weight: bold; }
+.entry { font-weight: normal; }
+.label { font-weight: normal;
+ text-align: right; }
+.labeltop { font-weight: normal;
+ text-align: right;
+ vertical-align: top }
+.productnav { font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ color: #000000;
+ text-align: center;
+ vertical-align: middle;
+ text-decoration: none}
+
+.currenttab { margin: 0.2em; background: #336699; }
+.othertab { margin: 0.2em; background: #efefef; }
+.oddline { background-color : #ccccee; }
+
+UL.topnav LI :focus { text-decoration: underline; }
+
+div.dialog {
+ margin-left: auto;
+ margin-right: auto;
+ min-width: 200px;
+ width: 30%;
+ margin-top: 10%;
+}
+
+div.mainbody {
+padding-left: 170px;
+padding-right: 10px;
+top: 80px;
+margin: 0px;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+}
+
+td.boxcontainer + td.boxcontainer {
+ margin-left: 1em;
+ padding-left: 1em;
+ border-collapse: collapse;
+}
+
+th.ticketheader { font-size: 80%;
+ color: #336699;
+ background: #cccccc;
+}
+
+/* TitleBox */
+
+div.titlebox {
+ border: 1px solid #cccccc;
+}
+
+div.titlebox div.titlebox-title {
+ background: #666699;
+ padding-left: 0.5em;
+ padding-bottom: 3px;
+ padding-top: 3px;
+ font-size: 14pt;
+ font-family: Arial ,sans serif;
+}
+
+/* END */
+
+table.box td {
+border: 0;
+margin: 0;
+padding: 0px;
+ border-collapse: collapse;
+}
+
+table.box th {
+ background: #666699;
+}
+
+
+table.titlebar {
+color: #ffffff;
+background: #afc7af;
+}
+th.titlebox {
+ text-align: left;
+ vertical-align: middle;
+}
+
+th.titleboxright {
+ vertical-align: middle;
+ text-align: right;
+}
+
+TD.titlebox {
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 1em;
+ padding-bottom: 1em;
+}
+
+
+
+span.message {
+ font-size: 100%;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+}
+
+
+body {
+color: #000;
+background: #FFFFFF;
+padding: 0px;
+margin: 0px;
+}
+
+div#all
+{
+ min-width: 750px;
+ margin: 0px;
+ padding: 0px;
+}
+
+
+TR.oddline {
+ background-color : #ffffff;
+}
+
+TR.evenline {
+ background-color : #ccccee;
+}
+
+H1, H2, H3 {
+ margin-top: 0.2em;
+ color: #336699;
+ font-family: "Helvetica", sans-serif;
+
+ clear: both;
+}
+
+
+DIV.endmatter { margin-left: -7% }
+
+
+A { font-weight: bold; color: #000000;
+ }
+
+.currenttab { color: #ffffff;}
+.othertab { color: #336699; }
+
+.inverse { color: #ffffff; }
+
+
+
+A:link IMG, A:visited IMG { border-style: none }
+a:focus {text-decoration: underline }
+A IMG { color: white } /* The only way to hide the border in NS 4.x */
+
+a:link { text-decoration: none}
+a:visited { text-decoration: none}
+a:hover { text-decoration: underline}
+/* a:focus { background: #ccccee } */
+
+.hide {
+ display: none;
+ color: white;
+}
+
+span.date { font-size: 0.8em }
+
+div.title {
+color: #333333;
+padding-left: 5px;
+ font-size: 16pt;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ z-index: 999;
+}
+
+span.productname { font-size: 2em;
+ color: #0066cc;}
+
+
+
+span.titleboxtitle, SPAN.titleboxclose {
+ font-size: 80%;
+ color: #ffffff;
+ vertical-align: middle;
+ text-align: left;
+ }
+
+span.titleboxclose a:hover {
+ color: red;
+}
+
+
+span.titleboxtitle a {
+ color: #ffffff;
+}
+span.titleboxtitle a:after {
+ content: "...";
+}
+
+span.titleboxright {
+ font-size: 0.8em;
+ color: #ffffff;
+ vertical-align: middle;
+ text-align: right;
+ }
+
+span.attribution {
+ font-weight: bold;
+}
+
+span.label { font-size: 0.8em;
+}
+
+DIV.page-stats { font-size: 0.8em;
+ color: #cccccc;
+ text-align: right;
+ }
+
+
+BLOCKQUOTE {
+ font-style: italic;
+}
+div.menu {
+top: 51px;
+left: 0;
+position: absolute;
+background: white;
+width: 160px;
+ font-size: 70%;
+ text-align: left;
+ padding-right: 1%;
+ z-index: 99;
+ padding-left: 5px;
+ padding-right: 5px;
+ padding-top: 1em;
+}
+
+ul.topnav li
+{
+ background: #afc7af;
+ border: 1px solid #669966;
+ margin-top: 3px;
+ margin-bottom: 7px;
+ padding-left: 7px;
+}
+
+ul.topnav li a
+{
+ font-family: Verdana, Sans Serif;
+ font-size: 12pt;
+ width: 100%;
+}
+
+ul.topnav li a[name=focus]
+{
+ color: black;
+}
+
+
+table.ticket-overview {
+width: 100px;
+background: #336699;
+}
+
+
+ul.topnav {
+ list-style: none;
+ margin-left: 0;
+ margin-right: 0.25em;
+ padding-left: 0.25em;
+ padding-bottom: 0;
+ padding-top:0;
+ margin-top: 0;
+ 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;
+}
+
+span.topaction {
+ text-align: right;
+ float: right;
+ padding-left: 1em;
+}
+
+
+
+TH.collection-as-table { text-align: center;
+ font-size: 0.8em;
+ padding-left: .5em;
+ padding-right: .5em;
+ color: #333333;
+ background-color: #cccccc;
+ white-space: nowrap;
+ }
+
+TD.collection-as-table { text-align: left;
+ padding-left: .5em;
+ padding-right: .5em;
+ }
+
+textarea.signature {
+ width: 100%;
+}
+textarea.comments {
+ width: 100%;
+}
+
+textarea.messagebox {
+ width: 100%;
+}
+
+/* Home */
+
+div.quick-create, div.my-requests, div.my-tickets {
+ margin-bottom: 1em;
+}
+
+div.content {
+ margin-right: 220px;
+ width: auto;
+}
+
+div.widget {
+ width: 200px;
+ overflow: hidden;
+ float: right;
+}
+div.ticket-overview {
+ margin-bottom: 1em;
+}
+div.page-refresh {
+ text-align: right;
+}
+
+/* END */
+
+%# Provide a callback for adding/modifying the style sheet.
+%# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
+%# "latter specified rule wins"
+<& /Elements/Callback &>
+<%flags>
+inherit => undef
+</%flags>
+<%init>
+$r->content_type('text/css');
+#$r->headers_out->{'Expires'} = '+30m';
+</%init>
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 Sun Apr 10 15:50:41 2005
@@ -43,6 +43,9 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+
+ at import "common.css";
+
div.frontmatter {
padding-left: 13%;
width: 87%;
@@ -51,49 +54,44 @@
}
div.logo {
- top: 0;
- left: 0;
- border-bottom: solid #999999 1px;
- position: absolute;
- z-index: 2;
-
-
-
-
+top: 0;
+left: 0;
+position: absolute;
+ border-bottom: solid #999999 1px;
+ 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;
+background: #ffffff;
+float: left;
+position: absolute;
+width: 100%;
+right: 0;
+top: 0;
+height: 50px;
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ vertical-align: top;
+ border-right: 1em;
+ padding-right: .5em;
+ border-bottom: solid #999999 1px;
+ 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;
-
+div.bpscredits {
+color: #666666;
+right: 1em;
+bottom: 0;
+position: fixed;
+width: 85%;
+background: #ffffff;
+ margin-top: 1em;
+ text-align: right;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 9px;
}
SPAN.nav { font-family: Verdana, Arial, Helvetica, sans-serif;
@@ -447,16 +445,12 @@
}
div.mainbody {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- right: 0;
- top: 0;
- margin-left: 13%;
- padding-left: 1em;
- padding-bottom: 0.25em;
- margin-right: 1em;
- margin-bottom: 2em;
- margin-top: 2em;
- position: absolute;
+position: absolute;
+left: 13%;
+top: 80px;
+margin: 0px;
+padding: 1em;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
}
td.boxcontainer + td.boxcontainer {
@@ -477,13 +471,10 @@
padding: 0px;
}
-table.box {
- width: 100%;
+div.titlebox div.titlebox-title{
+ background: #336699;
}
-
-
-
table.titlebar {
width: 100%;
color: #ffffff;
@@ -507,8 +498,6 @@
padding-bottom: 1em;
}
-
-
SPAN.message {
font-size: 100%;
font-family: Verdana, Arial, Helvetica, sans-serif;
@@ -567,25 +556,21 @@
SPAN.date { font-size: 0.8em }
-div.title { font-size: 1em;
- vertical-align: middle;
- color: #ffffff;
- background: #336699;
- font-family: Verdana, Arial, Helvetica, sans-serif;
+div.title {
+color: #ffffff;
+background: #336699;
+position: fixed;
+left: 14%;
+right:0px;
+margin: 0px;
+padding: 5px;
+ font-size: 1em;
+ 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;
-
+ z-index: 999;
}
body>div.title {position: fixed;}
- }
span.productname { font-size: 2em;
color: #0066cc;}
@@ -651,16 +636,8 @@
body>div.menu {position: fixed;}
table.ticket-overview {
- width: 15%;
-}
-div.ticket-overview {
- top: 51px;
- right: 0em;
- float: right;
- position: absolute;
- background: #336699;
- text-align: left;
- padding-right: 1%;
+width: 100px;
+background: #336699;
}
@@ -732,6 +709,26 @@
width: 100%;
}
+/* Home */
+
+div.quick-create, div.my-requests, div.my-tickets {
+ width: 60%;
+ margin-bottom: 1em;
+}
+
+div.widget {
+ width: 35%;
+ float: right;
+}
+div.ticket-overview {
+ margin-bottom: 1em;
+}
+div.page-refresh {
+ text-align: right;
+}
+
+/* END */
+
%# Provide a callback for adding/modifying the style sheet.
%# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
%# "latter specified rule wins"
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Bulk.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Bulk.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Bulk.html Sun Apr 10 15:50:41 2005
@@ -96,7 +96,7 @@
<HR>
-<& /Elements/TitleBoxStart, title => loc('Update selected tickets') &>
+<& /Widgets/TitleBoxStart, title => loc('Update selected tickets') &>
<TABLE>
<TR>
<TD VALIGN=TOP>
@@ -142,8 +142,8 @@
</TD>
</TR>
</table>
-<& /Elements/TitleBoxEnd&>
-<& /Elements/TitleBoxStart, title => loc('Add comments or replies to selected tickets') &>
+<& /Widgets/TitleBoxEnd&>
+<& /Widgets/TitleBoxStart, title => loc('Add comments or replies to selected tickets') &>
<table>
<tr><td align=right><&|/l&>Update Type</&>:</td>
<td><select name="UpdateType">
@@ -167,13 +167,13 @@
</td></tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
-<& /Elements/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
+<& /Widgets/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
<i><&|/l&>Enter tickets or URIs to link tickets to. Separate multiple entries with spaces.</&></i><br>
<& /Ticket/Elements/BulkLinks &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Update All') &>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/DisplayOptions
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/DisplayOptions (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/DisplayOptions Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc("Display Columns") &>
+<& /Widgets/TitleBoxStart, title => loc("Display Columns") &>
<table>
<tr>
<td>
@@ -91,7 +91,7 @@
</td>
</tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%INIT>
my $tickets = new RT::Tickets($session{'CurrentUser'});
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditQuery
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditQuery (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditQuery Sun Apr 10 15:50:41 2005
@@ -44,7 +44,7 @@
%#
%# END BPS TAGGED BLOCK }}}
<& NewListActions, actions => $actions &>
-<& /Elements/TitleBoxStart, title => join(': ', grep defined, loc("Query"), $Description) &>
+<& /Widgets/TitleBoxStart, title => join(': ', grep defined, loc("Query"), $Description) &>
<select size="10" name="clauses" style="width: 100%" multiple>
% $m->out($optionlist);
</select>
@@ -57,7 +57,7 @@
<input type=submit name="DeleteClause" value="<&|/l&>Delete</&>">
%#<input type=submit name="EditQuery" value="Advanced">
</p>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%ARGS>
$Description
$optionlist
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditSearches
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditSearches (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/EditSearches Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Saved searches') &>
+<& /Widgets/TitleBoxStart, title => loc('Saved searches') &>
%# Hide all the save functionality if the user shouldn't see it.
% if ($session{'CurrentUser'}->HasRight( Right => 'CreateSavedSearch',
% Object=> $RT::System )) {
@@ -74,7 +74,7 @@
<&|/l&>Load saved search:</&><br>
<& SelectSearchesForObjects, Name => 'LoadSavedSearch', Objects => \@Objects&>
<input value="<%loc('Load')%>" type="submit">
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%init>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/PickCriteria
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/PickCriteria (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Search/Elements/PickCriteria Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Add Criteria')&>
+<& /Widgets/TitleBoxStart, title => loc('Add Criteria')&>
<table width=100% cellspacing=0 cellpadding=0 border=0>
<tr>
<td>
@@ -71,7 +71,7 @@
<tr><td> </td></tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%ARGS>
$addquery => 0
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Display.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Display.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Display.html Sun Apr 10 15:50:41 2005
@@ -50,19 +50,19 @@
<TABLE WIDTH="100%" class="ticketsummary" >
<TR>
<TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
- <& /Elements/TitleBoxStart, title => loc('The Basics'),
+ <& /Widgets/TitleBoxStart, title => loc('The Basics'),
title_class=> 'inverse',
color => "#993333" &>
<& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
<& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
</TD>
<TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
- <& /Elements/TitleBoxStart, title => loc("Dates"),
+ <& /Widgets/TitleBoxStart, title => loc("Dates"),
title_class=> 'inverse',
color => "#663366" &>
<& /Ticket/Elements/ShowDates, Ticket => $Ticket, UpdatedLink => 0 &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
</TD>
</TR>
</TABLE>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Elements/MyRequests
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Elements/MyRequests (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Elements/MyRequests Sun Apr 10 15:50:41 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => $title &>
+<& /Widgets/TitleBoxStart, title => $title &>
<TABLE BORDER=0 cellspacing=1 cellpadding=1 BGCOLOR="#eeeeee" WIDTH=100%>
<TR>
<TH><&|/l&>Subject</&></TH>
@@ -63,7 +63,7 @@
</TR>
% }
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<%INIT>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Error.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Error.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Error.html Sun Apr 10 15:50:41 2005
@@ -45,13 +45,13 @@
%# END BPS TAGGED BLOCK }}}
<& /SelfService/Elements/Header, Title => loc('Error') &>
<h2 class="title"><%loc('Error')%></h2>
-<& /Elements/TitleBoxStart, title => $Title &>
+<& /Widgets/TitleBoxStart, title => $Title &>
<%$Why%>
<br>
<font size=-1>
<%$Details%>
</font>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</body>
</HTML>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Prefs.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Prefs.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/SelfService/Prefs.html Sun Apr 10 15:50:41 2005
@@ -49,10 +49,10 @@
<form method=post>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<& /Elements/TitleBoxStart, title => loc('Change password') &>
+<& /Widgets/TitleBoxStart, title => loc('Change password') &>
<&|/l&>New password</&>: <input type=password name="NewPass1" size=16>
<&|/l&>Confirm</&>: <input type=password name="NewPass2" size=16>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
% }
<& /Elements/Submit, Label => loc('Save Changes') &>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Create.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Create.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Create.html Sun Apr 10 15:50:41 2005
@@ -54,7 +54,7 @@
[<a class="currenttab"><&|/l&>Show basics</&></a>] [<A HREF="#detail"><&|/l&>Show details</&></a>]
<BR>
-<& /Elements/TitleBoxStart, contentbg => "#cccccc", title => loc("Create a new ticket") &>
+<& /Widgets/TitleBoxStart, contentbg => "#cccccc", title => loc("Create a new ticket") &>
<TABLE border=0 cellpadding=0 cellspacing=0>
<TR><TD class=label><&|/l&>Queue</&>:</TD>
<TD class=value><% $QueueObj->Name %>
@@ -161,7 +161,7 @@
</TD>
</TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc("Create")&>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
@@ -177,7 +177,7 @@
<TR>
<TD WIDTH="50%" VALIGN=TOP>
- <& /Elements/TitleBoxStart, title => loc('The Basics'),
+ <& /Widgets/TitleBoxStart, title => loc('The Basics'),
title_class=> 'inverse',
color => "#993333" &>
<TABLE BORDER=0>
@@ -186,9 +186,9 @@
<TR><TD ALIGN=RIGHT><&|/l&>Time Worked</&>:</TD><TD><&|/l,'<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">'&>[_1] min</&></TD></TR>
<TR><TD ALIGN=RIGHT><&|/l&>Time Left</&>:</TD><TD><&|/l,'<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">'&>[_1] min</&></TD></TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<br>
-<& /Elements/TitleBoxStart, title => loc("Dates"),
+<& /Widgets/TitleBoxStart, title => loc("Dates"),
title_class=> 'inverse',
color => "#663366" &>
@@ -197,12 +197,12 @@
<TR><TD ALIGN=RIGHT><&|/l&>Due</&>:</TD><TD><input size=10 name="Due" value="<%
$ARGS{Due}%>"></TD></TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
</TD>
<TD VALIGN="TOP">
-<& /Elements/TitleBoxStart, title => loc('Links'),
+<& /Widgets/TitleBoxStart, title => loc('Links'),
title_class=> 'inverse',
titleright => '', color=> "#336633" &>
@@ -217,7 +217,7 @@
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
</TD>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Display.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Display.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Display.html Sun Apr 10 15:50:41 2005
@@ -52,10 +52,10 @@
<& /Elements/ListActions, actions => \@Actions &>
-<& /Elements/TitleBoxStart, title => loc('Ticket metadata'), contentbg =>
+<& /Widgets/TitleBoxStart, title => loc('Ticket metadata'), contentbg =>
'#ffffff' &>
<& /Ticket/Elements/ShowSummary, Ticket => $TicketObj, Attachments => $attachments &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
<& /Ticket/Elements/ShowHistory ,
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowAttachments
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowAttachments (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowAttachments Sun Apr 10 15:50:41 2005
@@ -44,7 +44,7 @@
%#
%# END BPS TAGGED BLOCK }}}
% if (keys %documents) {
-<& /Elements/TitleBoxStart, title => loc('Attachments'),
+<& /Widgets/TitleBoxStart, title => loc('Attachments'),
title_class=> 'inverse',
color => "#336699" &>
@@ -77,7 +77,7 @@
</ul>
% }
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
% }
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowHistory (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowHistory Sun Apr 10 15:50:41 2005
@@ -72,7 +72,7 @@
. loc("Full headers") . "</a>]";
}
</%perl>
-<& /Elements/TitleBoxStart, title => $title, titleright => $titleright, bodyclass=> ''&>
+<& /Widgets/TitleBoxStart, title => $title, titleright => $titleright, bodyclass=> ''&>
% }
<TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0>
@@ -125,7 +125,7 @@
</%perl>
</TABLE>
% if ($ShowDisplayModes or $ShowTitle) {
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
<%INIT>
my $Transactions = new RT::Transactions($session{'CurrentUser'});
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowRequestor
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowRequestor (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowRequestor Sun Apr 10 15:50:41 2005
@@ -58,7 +58,7 @@
</%PERL>
% unless ($requestor->Privileged) {
-<& /Elements/TitleBoxStart,
+<& /Widgets/TitleBoxStart,
title => "<a class='inverse' href=\"$RT::WebPath/Admin/Users/Modify.html?id=".$requestor->id."\">".loc("More about [_1]", $name)."</a>" &>
%# Additional information about this user. Empty by default.
@@ -78,7 +78,7 @@
<& /Elements/ShowMemberships, UserObj => $requestor &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
%}
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowSummary
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowSummary (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Elements/ShowSummary Sun Apr 10 15:50:41 2005
@@ -46,46 +46,46 @@
<TABLE WIDTH="100%" class="ticketsummary" >
<TR>
<TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
- <& /Elements/TitleBoxStart, title => loc('The Basics'),
+ <& /Widgets/TitleBoxStart, title => loc('The Basics'),
title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id,
title_class=> 'inverse',
color => "#993333" &>
<& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<br>
% if ($Ticket->QueueObj->TicketCustomFields->First) {
- <& /Elements/TitleBoxStart, title => loc('Custom Fields'),
+ <& /Widgets/TitleBoxStart, title => loc('Custom Fields'),
title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id,
title_class=> 'inverse',
color => "#993333" &>
<& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<br>
% }
- <& /Elements/TitleBoxStart, title => loc('People'),
+ <& /Widgets/TitleBoxStart, title => loc('People'),
title_href =>"$RT::WebPath/Ticket/ModifyPeople.html?id=".$Ticket->Id,
title_class=> 'inverse',
color => "#333399" &>
<& /Ticket/Elements/ShowPeople, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<BR>
</TD>
<TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
- <& /Elements/TitleBoxStart, title => loc("Dates"),
+ <& /Widgets/TitleBoxStart, title => loc("Dates"),
title_href =>"$RT::WebPath/Ticket/ModifyDates.html?id=".$Ticket->Id,
title_class=> 'inverse',
color => "#663366" &>
<& /Ticket/Elements/ShowDates, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<BR>
- <& /Elements/TitleBoxStart, title => loc('Links'),
+ <& /Widgets/TitleBoxStart, title => loc('Links'),
title_href => "$RT::WebPath/Ticket/ModifyLinks.html?id=".$Ticket->Id,
title_class=> 'inverse',
titleright => '', color=> "#336633" &>
<& /Elements/ShowLinks, Ticket => $Ticket &>
- <& /Elements/TitleBoxEnd &>
+ <& /Widgets/TitleBoxEnd &>
<BR>
<& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, Attachments => $Attachments &>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Modify.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Modify.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/Modify.html Sun Apr 10 15:50:41 2005
@@ -52,10 +52,10 @@
<FORM METHOD=POST ACTION="Modify.html" ENCTYPE="multipart/form-data">
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify ticket #[_1]',$TicketObj->Id), color=> "#993333", width => "100%" &>
+<& /Widgets/TitleBoxStart, title => loc('Modify ticket #[_1]',$TicketObj->Id), color=> "#993333", width => "100%" &>
<& Elements/EditBasics, TicketObj => $TicketObj &>
<& Elements/EditCustomFields, TicketObj => $TicketObj &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#993333" &>
</form>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyAll.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyAll.html Sun Apr 10 15:50:41 2005
@@ -55,33 +55,33 @@
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify ticket # [_1]', $Ticket->Id), color=> "#993333", width => "100%" &>
+<& /Widgets/TitleBoxStart, title => loc('Modify ticket # [_1]', $Ticket->Id), color=> "#993333", width => "100%" &>
<& Elements/EditBasics, TicketObj => $Ticket &>
<& Elements/EditCustomFields, TicketObj => $Ticket &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
-<& /Elements/TitleBoxStart, title => loc('Dates'), width => "100%", color => "#663366" &>
+<& /Widgets/TitleBoxStart, title => loc('Dates'), width => "100%", color => "#663366" &>
<& Elements/EditDates, TicketObj => $Ticket &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
-<& /Elements/TitleBoxStart, title => loc('People'),width => "100%", color=> "#333399" &>
+<& /Widgets/TitleBoxStart, title => loc('People'),width => "100%", color=> "#333399" &>
<& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
-<& /Elements/TitleBoxStart, title => loc('Links'), color => "#336633"&>
+<& /Widgets/TitleBoxStart, title => loc('Links'), color => "#336633"&>
<& /Elements/EditLinks, Object => $Ticket, Merge => 1 &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<BR>
-<& /Elements/TitleBoxStart, title => loc('Update ticket') &>
+<& /Widgets/TitleBoxStart, title => loc('Update ticket') &>
<table>
<tr>
<td class="label"><&|/l&>Update Type</&>:</td>
@@ -120,7 +120,7 @@
<td class="entry"><& /Elements/MessageBox, Name=>"UpdateContent", QuoteTransaction=>$ARGS{QuoteTransaction} &></td>
</tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit,
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyDates.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyDates.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyDates.html Sun Apr 10 15:50:41 2005
@@ -53,10 +53,10 @@
<FORM METHOD=POST ACTION="ModifyDates.html">
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify dates for ticket # [_1]', $TicketObj->Id), width => "100%", color => "#663366" &>
+<& /Widgets/TitleBoxStart, title => loc('Modify dates for ticket # [_1]', $TicketObj->Id), width => "100%", color => "#663366" &>
<& Elements/EditDates, TicketObj => $TicketObj &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Save Changes'), color => "#663366" &>
</form>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyLinks.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyLinks.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyLinks.html Sun Apr 10 15:50:41 2005
@@ -54,9 +54,9 @@
<form action="ModifyLinks.html" method="post">
<input type="hidden" name="id" value="<%$Ticket->id%>">
-<& /Elements/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
+<& /Widgets/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
<& /Elements/EditLinks, Object => $Ticket, Merge => 1 &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, color => "#336633", Label => loc('Save Changes') &>
</form>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyPeople.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyPeople.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Ticket/ModifyPeople.html Sun Apr 10 15:50:41 2005
@@ -53,9 +53,9 @@
<FORM METHOD=POST ACTION="ModifyPeople.html">
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify people related to ticket #[_1]', $Ticket->Id), width => "100%", color=> "#333399" &>
+<& /Widgets/TitleBoxStart, title => loc('Modify people related to ticket #[_1]', $Ticket->Id), width => "100%", color=> "#333399" &>
<& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp, GroupString => $GroupString, GroupOp => $GroupOp, GroupField => $GroupField &>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<& /Elements/Submit, Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#333399" &>
</form>
Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/User/Prefs.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/User/Prefs.html (original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/User/Prefs.html Sun Apr 10 15:50:41 2005
@@ -57,7 +57,7 @@
<TR>
<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Identity') &>
+<& /Widgets/TitleBoxStart, title => loc('Identity') &>
<input type=hidden name="Name" value="<%$UserObj->Name%>">
<table callspacing=0 cellpadding=0>
@@ -77,9 +77,9 @@
<td class=value><& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &></td>
</tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
<br>
-<& /Elements/TitleBoxStart, title => loc('Phone numbers') &>
+<& /Widgets/TitleBoxStart, title => loc('Phone numbers') &>
<table callspacing=0 cellpadding=0>
<tr>
<td class=label><&|/l&>Residence</&>:</td>
@@ -98,11 +98,11 @@
<td class=value><input name="PagerPhone" value="<%$UserObj->PagerPhone%>" size=13></td>
</tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</TD>
<TD VALIGN=TOP class="boxcontainer">
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<& /Elements/TitleBoxStart, title => loc('Password') &>
+<& /Widgets/TitleBoxStart, title => loc('Password') &>
<TABLE>
<TR>
<TD class=label>
@@ -120,10 +120,10 @@
</TD>
</TR>
</TABLE>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
-<& /Elements/TitleBoxStart, title => loc('Location') &>
+<& /Widgets/TitleBoxStart, title => loc('Location') &>
<table callspacing=0 cellpadding=0>
<tr>
<td class=label><&|/l&>Organization</&>:</td>
@@ -154,7 +154,7 @@
<td class=value><input name="Country" value="<%$UserObj->Country%>"></td>
</tr>
</table>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
</TD>
</TR>
<TR>
@@ -164,10 +164,10 @@
<TD COLSPAN=2 VALIGN=TOP class="boxcontainer">
%if ($UserObj->Privileged) {
<BR>
-<& /Elements/TitleBoxStart, title => loc('Signature') &>
+<& /Widgets/TitleBoxStart, title => loc('Signature') &>
<TEXTAREA COLS=80 ROWS=5 name="Signature" class="signature" WRAP=HARD>
<%$UserObj->Signature%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
+<& /Widgets/TitleBoxEnd &>
% }
</TD>
Added: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBox
==============================================================================
--- (empty file)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBox Sun Apr 10 15:50:41 2005
@@ -0,0 +1,52 @@
+%# 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 }}}
+<div class="<% $class %>">
+ <& TitleBoxStart, %ARGS&><%$m->content|n%><& TitleBoxEnd&>
+</div>
+<%ARGS>
+$class => undef
+</%ARGS>
+
Added: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxEnd
==============================================================================
--- (empty file)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxEnd Sun Apr 10 15:50:41 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 }}}
+</div></div>
+
+% #Manually flush the content buffer after each titlebox is displayed
+% $m->flush_buffer();
+
+<%ARGS>
+$title => undef
+$content => undef
+</%ARGS>
+
Added: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxStart
==============================================================================
--- (empty file)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/TitleBoxStart Sun Apr 10 15:50:41 2005
@@ -0,0 +1,72 @@
+%# 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 }}}
+<div class="titlebox">
+ <div class="titlebox-title">
+ <span class="titleboxclose"><a href="#" onClick="hideshow('<%$id%>')">X</a></span>
+ <span class="titleboxtitle">
+ <strong><% $title_href && "<a $title_class href=\"$title_href\">"|n%><%$title |n %><% $title_href && "</A>" |n%></strong>
+ </span>
+ </div>
+ <div id="element-<%$id%>">
+
+<%ARGS>
+$width => undef
+$class => undef
+$bodyclass => undef
+$title_href => undef
+$title => undef
+$title_class => ''
+
+$titleright_href => undef
+$titleright => undef
+$contentbg => "#dddddd"
+$color => "#336699"
+</%ARGS>
+<%init>
+my $id = rand(2000);
+
+$title_class = "CLASS=\"$title_class\"" if $title_class;
+</%init>
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 Sun Apr 10 15:50:41 2005
@@ -74,14 +74,24 @@
current_toptab => '',
Title=>loc("RT at a glance") &>
<& /Elements/ListActions, actions => \@results &>
-<& /Elements/MyTickets &>
-<& /Elements/MyRequests &>
-<& /Elements/QuickCreate &>
+
+<div class="widget">
<& /Elements/Quicksearch &>
-<form method=get action="<%$RT::WebPath%>/index.html">
+<div class="page-refresh">
+<form method="get" action="<%$RT::WebPath%>/index.html">
<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_refresh_interval'} &>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
+<input type="submit" value="<&|/l&>Go!</&>" />
</form>
+</div>
+</div>
+
+<div class="content">
+<& /Elements/MyTickets &>
+<& /Elements/MyRequests &>
+<& /Elements/QuickCreate &>
+</div>
+
+
<%init>
my @results;
More information about the Rt-commit
mailing list