[Rt-commit] r13169 - in rt/branches/3.8-TESTING: . share/html/Elements
jesse at bestpractical.com
jesse at bestpractical.com
Wed Jun 11 12:13:17 EDT 2008
Author: jesse
Date: Wed Jun 11 12:13:16 2008
New Revision: 13169
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/share/html/Elements/CollectionList
rt/branches/3.8-TESTING/share/html/Elements/MyRT
rt/branches/3.8-TESTING/share/html/Elements/QuickCreate
rt/branches/3.8-TESTING/share/html/Elements/SelectQueue
rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/portlets.css
Log:
r32642 at 31b: jesse | 2008-06-11 12:13:09 -0400
* Style updates to make the base style much more 'elastic'
Modified: rt/branches/3.8-TESTING/share/html/Elements/CollectionList
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/CollectionList (original)
+++ rt/branches/3.8-TESTING/share/html/Elements/CollectionList Wed Jun 11 12:13:16 2008
@@ -98,7 +98,8 @@
$Class =~ s/:/_/g;
$m->out('<table border="0" cellspacing="0" cellpadding="1"' .
- ' width="100%" class="' .
+ ' width="100%"
+ class="' .
($Collection->isa('RT::Tickets') ? 'ticket-list' : 'collection') . '">');
if ( $ShowHeader ) {
Modified: rt/branches/3.8-TESTING/share/html/Elements/MyRT
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/MyRT (original)
+++ rt/branches/3.8-TESTING/share/html/Elements/MyRT Wed Jun 11 12:13:16 2008
@@ -45,10 +45,10 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<table border="0" width="100%">
+<table class="myrt">
<tr valign="top">
-<td class="boxcontainer" <% $summary? 'width="70%"': '' |n %>>
+<td class="boxcontainer">
% $show_cb->($_) foreach @$body;
</td>
Modified: rt/branches/3.8-TESTING/share/html/Elements/QuickCreate
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/QuickCreate (original)
+++ rt/branches/3.8-TESTING/share/html/Elements/QuickCreate Wed Jun 11 12:13:16 2008
@@ -53,19 +53,19 @@
<tr class="input-row"><td class="label">
<&|/l&>Subject</&>
</td>
- <td class="value"><input size="15" name="Subject" /></td>
+ <td colspan="3" class="value"><input type="text" size="50" name="Subject" /></td>
+ </tr><tr class="input-row">
<td class="label"><&|/l&>Queue</&></td><td class="value"><& /Elements/SelectNewTicketQueue, Name => 'Queue' &>
-</td><td>
+</td>
<td class="label"><&|/l&>Owner</&></td><td class="value">
<select type="select" name="Owner">
<option value="<%$session{'CurrentUser'}->id%>" selected="selected"><%$session{'CurrentUser'}->Name %></option>
<option value="<%$RT::Nobody->id%>"><%loc('Nobody')%></option>
</select>
</td>
-</tr>
-<tr class="input-row">
-<td class="label"><&|/l&>Content</&></td>
-<td colspan="6" class="value"><textarea name="Content"cols="50" rows="3"></textarea></td></tr>
+</tr><tr class="input-row">
+<td class="labeltop"><&|/l&>Content</&></td>
+<td colspan="3" class="value"><textarea name="Content" cols="50" rows="3"></textarea></td></tr>
</table>
<& /Elements/Submit, Label => loc('Create') &>
</form>
Modified: rt/branches/3.8-TESTING/share/html/Elements/SelectQueue
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/SelectQueue (original)
+++ rt/branches/3.8-TESTING/share/html/Elements/SelectQueue Wed Jun 11 12:13:16 2008
@@ -48,10 +48,10 @@
% if ($Lite) {
% my $d = new RT::Queue($session{'CurrentUser'});
% $d->Load($Default);
-<input name="<%$Name%>" size="25" value="<%$d->Name%>" />
+<input name="<%$Name%>" size="25" value="<%$d->Name%>" class="<%$Class%>" />
% }
% else {
-<select name="<%$Name%>" <% ($OnChange) ? 'onchange="'.$OnChange.'"' : '' |n %>>
+<select name="<%$Name%>" <% ($OnChange) ? 'onchange="'.$OnChange.'"' : '' |n %> class="<%$Class%>">
% if ($ShowNullOption) {
<option value="">-</option>
% }
@@ -76,6 +76,7 @@
$Default => 0
$Lite => 0
$OnChange => undef
+$Class => 'select-queue'
</%args>
<%init>
my $cache_key = "SelectQueue---"
Modified: rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/portlets.css
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/portlets.css (original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/portlets.css Wed Jun 11 12:13:16 2008
@@ -45,3 +45,18 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+
+
+table.myrt {
+ width: 100%;
+}
+
+.quick-create .select-queue {
+ width: 12em;
+}
+
+.quick-create input[type="text"], .quick-create textarea {
+ width: 100%;
+
+}
+
More information about the Rt-commit
mailing list