[Rt-commit] r11073 - in rt/branches/3.8-TESTING: html/Elements html/Search html/Widgets

jesse at bestpractical.com jesse at bestpractical.com
Mon Mar 17 01:40:09 EDT 2008


Author: jesse
Date: Mon Mar 17 01:40:08 2008
New Revision: 11073

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/Elements/CreateTicket
   rt/branches/3.8-TESTING/html/Elements/Header
   rt/branches/3.8-TESTING/html/Elements/Login
   rt/branches/3.8-TESTING/html/Elements/PageLayout
   rt/branches/3.8-TESTING/html/Elements/SimpleSearch
   rt/branches/3.8-TESTING/html/Elements/Submit
   rt/branches/3.8-TESTING/html/Search/Build.html
   rt/branches/3.8-TESTING/html/Widgets/TitleBoxStart

Log:
 r28283 at 31b:  jesse | 2008-03-17 01:38:23 -0400
 * more hooks for css styles


Modified: rt/branches/3.8-TESTING/html/Elements/CreateTicket
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/CreateTicket	(original)
+++ rt/branches/3.8-TESTING/html/Elements/CreateTicket	Mon Mar 17 01:40:08 2008
@@ -45,6 +45,6 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<form action="<% RT->Config->Get('WebPath') %>/Ticket/Create.html" name="CreateTicketInQueue">
+<form action="<% RT->Config->Get('WebPath') %>/Ticket/Create.html" name="CreateTicketInQueue" id="CreateTicketInQueue">
 <&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" class="button" value="New ticket in" />&nbsp;[_1]</&>
 </form>

Modified: rt/branches/3.8-TESTING/html/Elements/Header
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/Header	(original)
+++ rt/branches/3.8-TESTING/html/Elements/Header	Mon Mar 17 01:40:08 2008
@@ -58,7 +58,7 @@
 % }
 
 <link rel="shortcut icon" href="<%RT->Config->Get('WebImagesURL')%>/favicon.png" type="image/png" />
-<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/<% RT->Config->Get( 'WebDefaultStylesheet', $session{'CurrentUser'} ) %>/main-squished.css" type="text/css" media="all" />
+<link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/<% RT->Config->Get( 'WebDefaultStylesheet', $session{'CurrentUser'} ) %>/main.css" type="text/css" media="all" />
 <link rel="stylesheet" href="<%RT->Config->Get('WebPath')%>/NoAuth/css/print.css" type="text/css" media="print" />
 
 % if ( $RSSAutoDiscovery ) {

Modified: rt/branches/3.8-TESTING/html/Elements/Login
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/Login	(original)
+++ rt/branches/3.8-TESTING/html/Elements/Login	Mon Mar 17 01:40:08 2008
@@ -76,7 +76,7 @@
 <div id="body" class="login-body">
 
 % if ($Error) {
-<&| "/Widgets/TitleBox", title => loc('Error'), hideable => 0  &>
+<&| "/Widgets/TitleBox", title => loc('Error'), hideable => 0, class => 'error'  &>
 <% $Error %>
 </&>
 % }

Modified: rt/branches/3.8-TESTING/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/PageLayout	(original)
+++ rt/branches/3.8-TESTING/html/Elements/PageLayout	Mon Mar 17 01:40:08 2008
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div id="topactions">
 % foreach my $action (reverse sort keys %{$topactions}) {
-<span class="topaction"><% $topactions->{"$action"}->{'html'} |n %></span>
+<span class="topaction" id="topaction-<%$action%>"><% $topactions->{"$action"}->{'html'} |n %></span>
 % }
 </div>
 

Modified: rt/branches/3.8-TESTING/html/Elements/SimpleSearch
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/SimpleSearch	(original)
+++ rt/branches/3.8-TESTING/html/Elements/SimpleSearch	Mon Mar 17 01:40:08 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<form action="<% RT->Config->Get('WebPath') %>/Search/Simple.html">
+<form action="<% RT->Config->Get('WebPath') %>/Search/Simple.html" id="simple-search">
   <input size="12" name="q" autocomplete="off" accesskey="0" class="field" />
   <input type="submit" class="button" value="<&|/l&>Search</&>" />
 </form>

Modified: rt/branches/3.8-TESTING/html/Elements/Submit
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/Submit	(original)
+++ rt/branches/3.8-TESTING/html/Elements/Submit	Mon Mar 17 01:40:08 2008
@@ -45,7 +45,11 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<div class="submit">
+<div class="submit"
+% if($id) {
+id="<%$id%>"
+% }
+>
   <div class="extra-buttons">
 % if ($CheckAll) {
   <input type="button" value="<%$CheckAllLabel%>" onclick="setCheckbox(this.form, '<% $CheckboxName %>', true);return false;" class="button" />
@@ -84,4 +88,5 @@
 $OnClick => undef
 $Reset => undef
 $ResetLabel => loc('Reset')
+$id => undef
 </%ARGS>

Modified: rt/branches/3.8-TESTING/html/Search/Build.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Search/Build.html	(original)
+++ rt/branches/3.8-TESTING/html/Search/Build.html	Mon Mar 17 01:40:08 2008
@@ -108,7 +108,7 @@
     CurrentFormat    => $CurrentFormat,
 &>
 
-<& /Elements/Submit, Label => loc('Add and Search'), Name => 'DoSearch'&>
+<& /Elements/Submit, Label => loc('Update format and Search'), Name => 'DoSearch', id=>"formatbuttons"&>
 
 </form>
 

Modified: rt/branches/3.8-TESTING/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/TitleBoxStart	Mon Mar 17 01:40:08 2008
@@ -51,7 +51,7 @@
     <span class="widget"><a href="#" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
 % }
     <span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title %><% $title_raw |n %><% $title_href && "</a>" |n%></span>
-    <span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright  %><% $titleright_raw |n%> <% $titleright_href && "</a>" |n%></span>
+    <span class="right<%($titleright_href || $titleright || $titleright_raw) ? '' : '-empty' %>"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright  %><% $titleright_raw |n%> <% $titleright_href && "</a>" |n%></span>
   </div>
   <div class="titlebox-content <% $bodyclass %>" id="<% $tid %>">
 


More information about the Rt-commit mailing list