[Rt-commit] [svn] r1007 - in RTx-Atom: . html/Atom/0.3 html/Atom/0.3/NoAuth html/Atom/0.3/Search

autrijus at pallas.eruditorum.org autrijus at pallas.eruditorum.org
Sun Jun 6 06:01:28 EDT 2004


Author: autrijus
Date: Sun Jun  6 06:01:27 2004
New Revision: 1007

Modified:
   RTx-Atom/   (props changed)
   RTx-Atom/html/Atom/0.3/NoAuth/feed.css
   RTx-Atom/html/Atom/0.3/Search/index
   RTx-Atom/html/Atom/0.3/index
Log:
 ----------------------------------------------------------------------
 r5415 at not:  autrijus | 2004-06-06T09:59:59.995769Z
 
 * feed and entry css prettification.
 ----------------------------------------------------------------------


Modified: RTx-Atom/html/Atom/0.3/NoAuth/feed.css
==============================================================================
--- RTx-Atom/html/Atom/0.3/NoAuth/feed.css	(original)
+++ RTx-Atom/html/Atom/0.3/NoAuth/feed.css	Sun Jun  6 06:01:27 2004
@@ -2,15 +2,14 @@
   display:block;
   text-align:center;
   font-family:verdana, sans-serif;
-  margin:2%;
 }
 
 info {
-  margin:10px 0px 10px 0px;
-  background:#003366;
+  margin:10px 0px 3px 0px;
+  background:black;
   display:block;
-  padding:3px;
-  font-size:85%;
+  padding:1px;
+  border-bottom: 1px #b0b0b0 solid;
 }
 
 title {
@@ -38,14 +37,11 @@
   padding: 1px 5px 1px 5px;
   font-size: xx-small;
   color: #000000;
+  border: 1px dotted #999999;
 }
 
 a.nav {
-  font-size:80%;
-  padding: 5px;
-  border:solid 1px #dddddd;
-  font-size: 90%;
-  color: #0000ff;
+  background:#aaaaff;
 }
 
 a.html {
@@ -84,7 +80,15 @@
   background:#eeeeee;
 }
 
-id, modified, created, generator, issued, url, head {
+generator {
+  margin:3px 0px 0px 0px;
+  background:#b0b0b0;
+  display:block;
+  padding-bottom: 1px;
+  border-bottom: 1px black solid;
+}
+
+id, modified, created, issued, url, head {
   display:none;
 }
 
@@ -106,12 +110,11 @@
 
 entry {
   text-align:left;
-  border-top:dotted 1px #999999;
   display:block;
   background:#ffffff;
   padding:5px 0px 0px 0px;
   margin:5px 5px 0px 10px;
-  
+  font-family:verdana, sans-serif;
 }
 
 issued, modified, created, name, id {
@@ -130,3 +133,8 @@
   border: 2px ridge #9999ff;
   background:#aaaaff;
 }
+
+dl {
+  padding-bottom: 5px;
+  border-bottom: 2px black ridge;
+}

Modified: RTx-Atom/html/Atom/0.3/Search/index
==============================================================================
--- RTx-Atom/html/Atom/0.3/Search/index	(original)
+++ RTx-Atom/html/Atom/0.3/Search/index	Sun Jun  6 06:01:27 2004
@@ -23,7 +23,7 @@
 % # XXX - The URI below is incorrect; should point to collection URL
   <& $ShowLink, Type => 'text/html', URI => $RT::WebURL, Title => $Type &>
   <modified><% $Now->W3CDTF %></modified>
-  <generator url="http://www.bestpractical.com/rt/" version="<% $RT::VERSION %>">RT</generator>
+  <generator url="http://www.bestpractical.com/rt/" version="<% $RT::VERSION %>"></generator>
 % foreach my $obj (@$List) {
   <entry>
     <& $ShowEntry, %ARGS, Object => $obj, IsChild => 1 &>
@@ -31,10 +31,10 @@
 % }
   <info></info>
 % if ($page > 1) {
-  <& $ShowLink, URI => $prev->as_string, Title => "Previous Page", Relation => 'prev', &>
+  <& $ShowLink, URI => $prev->as_string, Text => loc("Previous Page"), Relation => 'prev', &>
 % }
 % if (($page * $rows) < $TotalFound) {
-  <& $ShowLink, URI => $next->as_string, Title => "Next Page", Relation => 'next', &>
+  <& $ShowLink, URI => $next->as_string, Text => loc("Next Page"), Relation => 'next', &>
 % }
 </feed>
 <%INIT>
@@ -45,12 +45,13 @@
     $List->FromSQL( $query || "Type = 'ticket'" );
 }
 
+my $TotalFound = $List->Count;
+
 $List->RowsPerPage($rows) if $rows > 0;
 $List->GotoPage($page - 1) if $page > 0;
 
 $List = $List->ItemsArrayRef || [];
 
-my $TotalFound = @$List;
 $rows = $TotalFound if $rows <= 0;
 $page = 1 if $page <= 0;
 

Modified: RTx-Atom/html/Atom/0.3/index
==============================================================================
--- RTx-Atom/html/Atom/0.3/index	(original)
+++ RTx-Atom/html/Atom/0.3/index	Sun Jun  6 06:01:27 2004
@@ -9,6 +9,7 @@
   </author>
   <modified><% $Now->W3CDTF %></modified>
   <& $ShowLink, Type => 'text/html', URI => $RT::WebURL, Title => "Homepage" &>
+  <generator url="http://www.bestpractical.com/rt/" version="<% $RT::VERSION %>"></generator>
 % foreach my $class (@{$m->comp('Elements/Introspect', Want => 'TopLevelCollections')}) {
 %    my $type = $class;
 %    $type =~ s/^.*:://;
@@ -23,8 +24,10 @@
     <modified><% $Now->W3CDTF %></modified>
   </entry>
 % }
-  <info></info>
+  <info />
+% if (!$session{AtomClient}) {
   <html:a class="poweredby" href="<% $BaseURI %>/NoAuth/spec.html" title="The RT-Atom Specification"><&|/l&>Powered by RT-Atom</&></html:a>
+% }
 </feed>
 <%ARGS>
 $Path


More information about the Rt-commit mailing list