[Rt-commit] r11190 - in rt/branches/3.8-TESTING: . html/Ticket html/Tools html/Widgets/Form

jesse at bestpractical.com jesse at bestpractical.com
Tue Mar 25 23:20:54 EDT 2008


Author: jesse
Date: Tue Mar 25 23:20:54 2008
New Revision: 11190

Added:
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/misc.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/tools.css
Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css
   rt/branches/3.8-TESTING/html/Ticket/Update.html
   rt/branches/3.8-TESTING/html/Tools/MyDay.html
   rt/branches/3.8-TESTING/html/Widgets/Form/Boolean
   rt/branches/3.8-TESTING/html/Widgets/Form/Integer
   rt/branches/3.8-TESTING/html/Widgets/Form/Select
   rt/branches/3.8-TESTING/html/Widgets/Form/String

Log:
 r28596 at 31b:  jesse | 2008-03-25 23:20:20 -0400
 styling of 'myday' ad scrips part of ticket/update
 starting to work on prefs system


Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css	Tue Mar 25 23:20:54 2008
@@ -12,5 +12,6 @@
 @import "ticket-search.css";
 @import "portlets.css";
 @import "ticket.css";
+ at import "tools.css";
 @import "misc.css";
 

Added: rt/branches/3.8-TESTING/html/NoAuth/css/web2/misc.css
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/misc.css	Tue Mar 25 23:20:54 2008
@@ -0,0 +1,46 @@
+
+
+#body.calpopup {
+    margin-left: 2em;
+}
+
+.calendar {
+    text-align: center;
+    margin: 2em 0 0 0;
+}
+
+.calendar td, .calendar th { padding: 0.1em 0.25em 0.1em 0.25em; }
+
+.calendar caption .month {
+    padding: 0 1em 0 1em;
+    font-size: 1.5em;
+}
+
+div.autocomplete {
+    position: absolute;
+    background-color: white;
+    border: 1px solid #888;
+    margin: 0px;
+    padding: 0px;
+}
+div.autocomplete ul {
+    list-style-type: none;
+    margin: 0px;
+    padding: 0px;
+}
+div.autocomplete ul li.selected {
+    background-color: #0088cc;
+    color: #eee;
+}
+div.autocomplete ul li {
+    list-style-type: none;
+    display: block;
+    margin: 0;
+    padding: 2px;
+}
+
+.comment { 
+ padding-left: 0.5em;
+ color: #999;
+
+}

Added: rt/branches/3.8-TESTING/html/NoAuth/css/web2/tools.css
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/tools.css	Tue Mar 25 23:20:54 2008
@@ -0,0 +1,4 @@
+table.myday td { 
+ padding: 1em;
+
+}
\ No newline at end of file

Modified: rt/branches/3.8-TESTING/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Ticket/Update.html	(original)
+++ rt/branches/3.8-TESTING/html/Ticket/Update.html	Tue Mar 25 23:20:54 2008
@@ -150,7 +150,10 @@
 
 <& /Elements/Submit, Label => loc('Update Ticket'), Name => 'SubmitTicket' &>
 % if ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
+<&|/Widgets/TitleBox, title => loc('Scrips and Recipients') &>
 <& /Ticket/Elements/PreviewScrips, TicketObj => $TicketObj, %ARGS &>
+</&>
+
 % }
 </form>
 <%INIT>

Modified: rt/branches/3.8-TESTING/html/Tools/MyDay.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Tools/MyDay.html	(original)
+++ rt/branches/3.8-TESTING/html/Tools/MyDay.html	Tue Mar 25 23:20:54 2008
@@ -50,15 +50,12 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
-<&|/l, $session{'CurrentUser'}->Name&>(displaying new and open tickets for [_1])</&>
+<h2><&|/l, $session{'CurrentUser'}->Name &>New and open tickets for [_1]</&></h2>
 <form method="post" action="MyDay.html">
-<table width="100%" cellpadding="0" cellspacing="0">
+<table width="100%" cellpadding="0" cellspacing="0" class="myday">
 % while ( my $Ticket = $Tickets->Next()) {
-% my $class;
 % $i++;
-% if ($i % 2 ) {
-%  $class = 'class="oddline"';
-% }
+% my $class =  $i % 2  ? 'class="evenline"' : 'class="oddline"';
 <tr <%$class|n%>><td colspan="2"><h2><a
 href="<%RT->Config->Get('WebPath')%>/Ticket/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%>:
 <%$Ticket->Subject%></a></h2></td></tr>
@@ -73,7 +70,7 @@
 
 % }
 </table>
-<& /Elements/Submit, Label => loc('Record all updates') ,  Reset => loc('Clear')&>
+<& /Elements/Submit, Label => loc('Record all updates') ,  Reset => 1, ResetLabel => loc('Clear')&>
 </form>
 </html>
 <%INIT>

Modified: rt/branches/3.8-TESTING/html/Widgets/Form/Boolean
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/Form/Boolean	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/Form/Boolean	Tue Mar 25 23:20:54 2008
@@ -49,8 +49,8 @@
 see docs/using_forms_widgets.pod
 </%DOC>
 <div id="form-box-<% lc $Name %>">
-<span class="description"><% $Description %></span>:\
-<& SELF:InputOnly, %ARGS &>
+<span class="label description"><% $Description %></span>
+<span class="value"><& SELF:InputOnly, %ARGS &></span>
 </div>
 <%ARGS>
 $Name         => undef,
@@ -63,7 +63,7 @@
 
 $Default        => 0,
 $DefaultValue   => 0,
-$DefaultLabel   => loc( 'Use system default ([_1])', $DefaultValue? loc('Yes'): loc('No') ),
+$DefaultLabel   => loc( 'Use default ([_1])', $DefaultValue? loc('Yes'): loc('No') ),
 
 $CurrentValue => undef,
 </%ARGS>

Modified: rt/branches/3.8-TESTING/html/Widgets/Form/Integer
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/Form/Integer	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/Form/Integer	Tue Mar 25 23:20:54 2008
@@ -49,11 +49,12 @@
 see docs/using_forms_widgets.pod
 </%DOC>
 <div id="form-box-<% lc $Name %>">
-<span class="description"><% $Description %></span>:\
-<& SELF:InputOnly, %ARGS &>
+<span class="label description"><% $Description %></span>
+<span class="value"><& SELF:InputOnly, %ARGS &></span>
 % if ( $Default ) {
 <span class="comment"><% $DefaultLabel %></span>
 % }
+<span class="hints"><% $Hints %></span>
 </div>
 <%INIT>
 </%INIT>
@@ -66,7 +67,7 @@
 
 $Default        => 0,
 $DefaultValue   => 0,
-$DefaultLabel   => loc( 'Leaving this empty will default to the system default of [_1]', $DefaultValue ),
+$DefaultLabel   => loc( 'Default: [_1]', $DefaultValue ),
 </%ARGS>
 
 <%METHOD InputOnly>

Modified: rt/branches/3.8-TESTING/html/Widgets/Form/Select
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/Form/Select	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/Form/Select	Tue Mar 25 23:20:54 2008
@@ -50,9 +50,9 @@
 </%DOC>
 <div id="form-box-<% lc $Name %>">
 % if ( $Description ) {
-<% $Description %>:\
+<span class="label"><% $Description %></span>
 % }
-<& SELF:InputOnly, %ARGS &>
+<span class="value"><& SELF:InputOnly, %ARGS &></span>
 </div>
 <%ARGS>
 $Name

Modified: rt/branches/3.8-TESTING/html/Widgets/Form/String
==============================================================================
--- rt/branches/3.8-TESTING/html/Widgets/Form/String	(original)
+++ rt/branches/3.8-TESTING/html/Widgets/Form/String	Tue Mar 25 23:20:54 2008
@@ -49,11 +49,12 @@
 see docs/using_forms_widgets.pod
 </%DOC>
 <div id="form-box-<% lc $Name %>">
-<span class="description"><% $Description %></span>:\
-<& SELF:InputOnly, %ARGS &>
+<span class="description label"><% $Description %></span>
+<span><& SELF:InputOnly, %ARGS &></span>
 % if ( $Default ) {
 <span class="comment"><% $DefaultLabel %></span>
 % }
+<span class="hints"><% $Hints %></span>
 </div>
 <%ARGS>
 $Name
@@ -64,7 +65,7 @@
 
 $Default        => 0,
 $DefaultValue   => '',
-$DefaultLabel   => loc( 'Leaving this empty will default to the system default of [_1]', $DefaultValue ),
+$DefaultLabel   => loc( 'Default: [_1]', $DefaultValue ),
 </%ARGS>
 
 <%METHOD InputOnly>


More information about the Rt-commit mailing list