[Rt-commit] r11258 - in rt/branches/3.8-TESTING: . html/Search html/Search/Elements
jesse at bestpractical.com
jesse at bestpractical.com
Sat Mar 29 00:18:11 EDT 2008
Author: jesse
Date: Sat Mar 29 00:18:05 2008
New Revision: 11258
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css
rt/branches/3.8-TESTING/html/NoAuth/css/web2/layout.css
rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css
rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css
rt/branches/3.8-TESTING/html/Search/Elements/ResultViews
rt/branches/3.8-TESTING/html/Search/Results.html
Log:
r28767 at 68-246-62-103: jesse | 2008-03-28 13:19:29 -1000
* more style cleanups
Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css (original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css Sat Mar 29 00:18:05 2008
@@ -99,6 +99,9 @@
top: 1em;
}
+.titlebox .titlebox-title .right a {
+ color: #000;
+}
.titlebox .titlebox-content {
padding-top: 0.5em;
Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/layout.css (original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/layout.css Sat Mar 29 00:18:05 2008
@@ -2,6 +2,8 @@
/* body */
body {
+
+
padding:0;
margin:0;
@@ -12,18 +14,20 @@
}
div#body {
+ position: relative;
padding: 1em;
padding-top: 1.5em;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
margin-left: 9.8em;
- margin-top: 4.9em;
+ margin-top: 5.2em;
margin-right: 1em;
margin-bottom: 0em;
min-height: 10%;
background: #fff;
border-top: 2px solid #ccc;
border-left: 2px solid #ccc;
+ z-index:1;
}
@@ -85,7 +89,7 @@
div#footer #bpscredits {
text-align: right;
- background: url(../../images/bplogo.gif) no-repeat top right;
+ background: url(/NoAuth/images/bplogo.gif) no-repeat top right;
padding-top: 4em;
}
@@ -140,7 +144,7 @@
div#header h1 {
position: absolute;
left: 6.8em;
- top: 2em;
+ top: 1.em;
font-size: 1.4em;
margin-top: 0.125em;
padding: 0.25em;
Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css (original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css Sat Mar 29 00:18:05 2008
@@ -88,7 +88,7 @@
background: white;
position: relative;
width:100%;
- z-index: 00;
+ z-index: 10;
}
@@ -121,7 +121,7 @@
div#page-navigation ul#actions-menu {
position: absolute;
right: 1em;
- top: 4.9em;
+ top: 5.2em;
margin-top: 0em;
padding: 0.25em;
padding-left: 0.5em;
Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css (original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css Sat Mar 29 00:18:05 2008
@@ -46,3 +46,43 @@
#comp-Search-Build #formatbuttons {
width: 100%;
}
+
+
+
+.search-result-views {
+ position: absolute;
+ top: 0;
+ right: 0;
+ margin-top: -2px;
+ margin-right: 0em;
+ padding: 0.25em;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ background-color: #ccc;
+ border-left: 1px solid #999;
+ border-bottom: 1px solid #999;
+ -moz-border-radius-bottomleft: 0.5em;
+ -webkit-border-bottom-left-radius: 0.5em;
+}
+
+
+
+.search-result-views li {
+
+ display: inline;
+}
+
+.search-result-views li:after {
+ content: " · ";
+}
+
+.search-result-views li:last-child:after {
+ content: "";
+
+}
+
+
+.refresh {
+
+float: left;
+}
Modified: rt/branches/3.8-TESTING/html/Search/Elements/ResultViews
==============================================================================
--- rt/branches/3.8-TESTING/html/Search/Elements/ResultViews (original)
+++ rt/branches/3.8-TESTING/html/Search/Elements/ResultViews Sat Mar 29 00:18:05 2008
@@ -56,30 +56,27 @@
$ShortQueryString => undef
</%args>
-<a href="<%RT->Config->Get('WebPath')%>/Search/Bulk.html<%$QueryString%>"><&|/l&>Update multiple tickets</&></a><br />
-<a href="<%RT->Config->Get('WebPath')%>/Search/Results.html<%$QueryString%>"><&|/l&>Bookmarkable link</&></a><br />
-<a href="<%RT->Config->Get('WebPath')%>/Search/Results.tsv<%$QueryString%>"><&|/l&>spreadsheet</&></a> |
-<a href="<%$RSSFeedURL%>"><&|/l&>RSS</&></a> |
-<a href="<%RT->Config->Get('WebPath')%>/Tools/Offline.html<%$ShortQueryString%>"><&|/l&>Work offline</&></a><br />
-
-<form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Chart.html"><&|/l&>chart</&>
+<ul class="search-result-views">
+<li><a href="<%RT->Config->Get('WebPath')%>/Search/Results.tsv<%$QueryString%>"><&|/l&>Spreadsheet</&></a></li>
+<li><a href="<%$RSSFeedURL%>"><&|/l&>RSS</&></a></li>
+<li><a href="<% $RT::WebURL %>NoAuth/iCal/<% $ical_path %>"><% loc('iCal') %></a></li>
+<li><a href="<%RT->Config->Get('WebPath')%>/Tools/Offline.html<%$ShortQueryString%>"><&|/l&>Editable text</&></a></li>
+%if ( $session{'CurrentUser'}->HasRight( Right => 'SuperUser', Object => $RT::System ) ) {
+% my $query_string = $m->comp('/Elements/QueryString', Search => 1, Plugin => 'Tickets', 'Tickets:query' => $Query, 'Tickets:limit' => $Rows || '',);
+<li><a href="<% RT->Config->Get('WebPath') %>/Admin/Tools/Shredder/?<% $query_string |n %>"><&|/l&>Delete tickets</&></a></li>
+% }
+</ul>
+<form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Chart.html">
% my %hiddens = (Query => $Query, Format => $Format, Rows => $Rows, OrderBy => $OrderBy, Order => $Order);
% foreach my $key (keys(%hiddens)) {
<input type="hidden" class="hidden" name="<%$key%>" value="<%defined($hiddens{$key})?$hiddens{$key}:''%>" />
% }
-<&|/l, $m->scomp('SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query) &>grouped by [_1]</&>
-<&|/l, $m->scomp('SelectChartType', Name => 'ChartStyle') &>style: [_1]</&>
-<input type="submit" class="button" value="<%loc('Go')%>" />
+<&|/l, $m->scomp('SelectChartType', Name => 'ChartStyle'), $m->scomp('SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query)
+&>[_1] chart by [_2]</&><input type="submit" class="button" value="<%loc('Go')%>" />
</form>
-
-<%PERL>
-if ( $session{'CurrentUser'}->HasRight( Right => 'SuperUser', Object => $RT::System ) ) {
- my $query_string = $m->comp('/Elements/QueryString',
- Search => 1,
- Plugin => 'Tickets',
- 'Tickets:query' => $Query,
- 'Tickets:limit' => $Rows || '',
- );
-</%PERL>
-<a href="<% RT->Config->Get('WebPath') %>/Admin/Tools/Shredder/?<% $query_string |n %>"><&|/l&>Shredder...</&></a>
-% }
+<%init>
+my $ical_path = join '/', map $m->interp->apply_escapes($_, 'u'),
+ $session{'CurrentUser'}->UserObj->Name,
+ substr(Digest::MD5::md5_hex($session{'CurrentUser'}->UserObj->AuthToken . $Query),0,16),
+ $Query;
+</%init>
Modified: rt/branches/3.8-TESTING/html/Search/Results.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Search/Results.html (original)
+++ rt/branches/3.8-TESTING/html/Search/Results.html Sat Mar 29 00:18:05 2008
@@ -67,13 +67,13 @@
&>
% my %hiddens = (Query => $Query, Format => $Format, Rows => $Rows, OrderBy => $OrderBy, Order => $Order, HideResults => $HideResults, Page => $Page );
-<div align="right">
+<div align="right" class="refresh">
<form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Results.html">
% foreach my $key (keys(%hiddens)) {
<input type="hidden" class="hidden" name="<%$key%>" value="<% defined($hiddens{$key})?$hiddens{$key}:'' %>" />
% }
<& /Elements/Refresh, Name => 'TicketsRefreshInterval', Default => $session {'tickets_refresh_interval'} &>
-<input type="submit" class="button" value="<&|/l&>Go!</&>" />
+<input type="submit" class="button" value="<&|/l&>Change</&>" />
</form>
</div>
<div align="right">
@@ -88,8 +88,6 @@
ShortQueryString => $ShortQueryString,
&>
-<a href="<% $RT::WebURL %>NoAuth/iCal/<% $ical_path %>"><% loc('iCal feed') %></a>
-
% $m->callback( QueryString => $QueryString, CallbackName => 'SearchActions' );
</div>
<%INIT>
@@ -162,11 +160,6 @@
$session{'tickets_refresh_interval'} = $ARGS{'TicketsRefreshInterval'};
}
-my $ical_path = join '/', map $m->interp->apply_escapes($_, 'u'),
- $session{'CurrentUser'}->UserObj->Name,
- substr(Digest::MD5::md5_hex($session{'CurrentUser'}->UserObj->AuthToken . $Query),0,16),
- $Query;
-
</%INIT>
<%CLEANUP>
$session{'tickets'}->PrepForSerialization();
More information about the Rt-commit
mailing list