Permalink
Browse files

View/CSS tweaks

  • Loading branch information...
1 parent 61ecd9f commit 444e0314a702d2cc047f7b0b31504d3a4a1ce967 CountCulture committed Jun 25, 2009
Showing with 14 additions and 7 deletions.
  1. +4 −4 app/views/scrapers/show.html.erb
  2. +10 −3 public/stylesheets/twfy_local.css
View
8 app/views/scrapers/show.html.erb
@@ -20,10 +20,10 @@
<strong>Last scraped</strong> <%= @scraper.last_scraped %><br />
<strong>Last updated</strong> <%= @scraper.updated_at %></p>
<p>
- <%= link_to "edit", edit_scraper_path(@scraper) %>
- <%= link_to "destroy", scraper_path(@scraper), :method => :delete %>
- <%= link_to "perform test scrape", scraper_path(:id => @scraper, :dry_run => true) %>
- <%= link_to "process now", scraper_path(:id => @scraper, :process => true) %>
+ <%= link_to "edit", edit_scraper_path(@scraper), :class => "button" %>
+ <%= link_to "destroy", scraper_path(@scraper), :method => :delete, :class => "button" %>
+ <%= link_to "perform test scrape", scraper_path(:id => @scraper, :dry_run => true), :class => "button" %>
+ <%= link_to "process now", scraper_path(:id => @scraper, :process => true), :class => "button" %>
</p>
</div>
<%- if @results -%>
View
13 public/stylesheets/twfy_local.css
@@ -43,9 +43,6 @@ a.feed {
background: transparent url(../images/feed_icon.gif) no-repeat scroll right center;
margin-right:2px;
padding-right:18px; }
-p.more_info {
- text-align:right;
-}
a.new {
padding-left: 24px;
background: transparent url(../images/new_flash.gif) no-repeat left;}
@@ -73,6 +70,16 @@ a.problem:before {
content: "Problem";
background-color:#a11;
}
+a.button {
+ border:1px solid #ddd;
+}
+p.more_info {
+ text-align:right;
+ font-style: italic;
+}
+.more_info a:after {
+ content: "»"; }
+
/*General template format*/
body {
background-color:#ddd; }

0 comments on commit 444e031

Please sign in to comment.