Changeset 6567 for lang/ruby/pritter
- Timestamp:
- 02/11/08 20:04:53 (5 years ago)
- Location:
- lang/ruby/pritter
- Files:
-
- 4 modified
-
app/views/timeline/anybody.rhtml (modified) (3 diffs)
-
app/views/timeline/people.rhtml (modified) (4 diffs)
-
app/views/timeline/single.rhtml (modified) (1 diff)
-
public/stylesheets/page.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/pritter/app/views/timeline/anybody.rhtml
r5638 r6567 9 9 </head> 10 10 <body> 11 <h1 style="font-size:3em;color:white;">Pritter</h1>12 < p style="text-align:right;color:white"><%= about_pritter %></p>13 <hr> 11 <h1>Pritter</h1> 12 <div id="about_pritter"><%= about_pritter %></div> 13 14 14 <div id="side"> 15 15 <div class="people">People</div> 16 16 <% @profiles.each do |profile| %> 17 <a href="/<%= profile.id %>"><img alt="#{profile.jid}" height="24"src="/images/profile/<%= profile.id %>.jpg" width="24" /></a>17 <a href="/<%= profile.id %>"><img alt="#{profile.jid}" src="/images/profile/<%= profile.id %>.jpg" width="24" /></a> 18 18 <% end %> 19 19 </div> 20 20 21 21 <div class="content"> 22 <table style="margin:20px;">22 <table> 23 23 <% @tweets.each do |tweet| %> 24 24 <tr> 25 25 <td> 26 26 <a href="/<%= tweet.profile.id %>"> 27 <%= image_tag("/images/profile/#{tweet.profile.id}.jpg", : size=>"48x48") %>27 <%= image_tag("/images/profile/#{tweet.profile.id}.jpg", :width=>"48") %> 28 28 <strong><%= tweet.name %></strong> 29 29 </a> … … 31 31 <td> 32 32 <%= tweet.content %> 33 <%= link_to( timediff_str(tweet.created_on), {:action=>:single,:id=>tweet.id} ) %>33 <%= link_to( timediff_str(tweet.created_on), {:action=>:single,:id=>tweet.id},:class=>'tweet_time' ) %> 34 34 </td> 35 35 </tr> … … 37 37 </table> 38 38 39 <div style="float:right;">39 <div id="newer_older"> 40 40 <%= link_to( "« Newer", { :page => @pages.current.previous}, :class=>'pagination_links' ) if @pages.current.previous %> 41 41 <%= link_to( "Older »", { :page => @pages.current.next}, :class=>'pagination_links' ) if @pages.current.next %> -
lang/ruby/pritter/app/views/timeline/people.rhtml
r5638 r6567 9 9 </head> 10 10 <body> 11 <h1 style="font-size:3em;color:white;">Pritter</h1>12 < p style="text-align:right;color:white"><%= about_pritter %></p>11 <h1>Pritter</h1> 12 <div id="about_pritter"><%= about_pritter %></div> 13 13 <%= link_to( "Back to Public Timeline", {:action=>:anybody}, :style=>'color:white;' ) %> 14 <hr> 14 15 15 <div id="side"> 16 16 <div class="people">About</div> … … 28 28 <br clear="left"/> 29 29 30 <table style="margin:20px;">30 <table> 31 31 <% @tweets.each do |tweet| %> 32 32 <% next if tweet.id == @latest_tweet.id %> … … 34 34 <td> 35 35 <%= tweet.content %> 36 <%= link_to(timediff_str(tweet.created_on),{:action=>:single,:id=>tweet.id} ) %>36 <%= link_to(timediff_str(tweet.created_on),{:action=>:single,:id=>tweet.id},:class=>'tweet_time') %> 37 37 </td> 38 38 </tr> … … 40 40 </table> 41 41 42 <div style="float:right;">42 <div id="newer_older"> 43 43 <%= link_to( "« Newer", { :page => @pages.current.previous}, :class=>'pagination_links' ) if @pages.current.previous %> 44 44 <%= link_to( "Older »", { :page => @pages.current.next}, :class=>'pagination_links' ) if @pages.current.next %> -
lang/ruby/pritter/app/views/timeline/single.rhtml
r5638 r6567 18 18 </div> 19 19 <a href="/<%= @tweet.profile.id %>"> 20 <%= image_tag("/images/profile/#{@tweet.profile.id}.jpg", : size=>"64x64", :style=>"float:left;") %>20 <%= image_tag("/images/profile/#{@tweet.profile.id}.jpg", :width=>"64", :style=>"float:left;") %> 21 21 <p><%= @tweet.profile.jid %></p> 22 22 </a> -
lang/ruby/pritter/public/stylesheets/page.css
r5120 r6567 3 3 padding:15px 0pt; 4 4 width:750px; 5 background:#9 A04085 background:#9ae4e8 6 6 } 7 7 8 a { text-decoration: none; } 9 a:hover { text-decoration: underline; } 8 a 9 { 10 text-decoration: none; 11 color: blue; 12 } 13 14 a:hover 15 { 16 text-decoration: underline; 17 } 10 18 11 19 a img … … 17 25 } 18 26 27 h1 28 { 29 font-size:3em; 30 color:white; 31 } 19 32 20 33 td … … 23 36 } 24 37 38 table 39 { 40 margin:20px; 41 } 42 25 43 #side { 26 background:# FFFnone repeat scroll 0%;27 border: 3px solid black;44 background:#e0ff92 none repeat scroll 0%; 45 border: 1px solid #87bc44; 28 46 float:right; 29 47 line-height:1.2; … … 35 53 36 54 #side div.people { 37 border-bottom:1px solid #8 08080;55 border-bottom:1px solid #87bc44; 38 56 margin-bottom:10px; 39 57 font-size:1em; … … 47 65 padding:15px; 48 66 width:500px; 49 border:3px solid black;50 67 } 51 68 … … 56 73 } 57 74 75 .tweet_time 76 { 77 font-size:0.8em; 78 } 79 80 #about_pritter{ 81 text-align:right; 82 color:white; 83 } 84 85 58 86 #footer{ 59 87 background:#FFF; … … 63 91 text-align:center; 64 92 font-size:0.8em; 65 border:3px solid black;66 93 } 67 94 68 95 #newer_older 96 { 97 float:right; 98 } 69 99 70 100 .latest_tweet {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)