Remove production.css

This commit is contained in:
Matthew Kaito Juyuan Fu 2011-10-20 17:19:35 +08:00
parent 0e252cf93c
commit d47db8e395
4 changed files with 32 additions and 17 deletions

View File

@ -7,3 +7,15 @@
font-size: large;
background-color: green;
}
.widget_index {
width: 200px;
height: 120px;
border: solid;
}
.widget_latest_post{
width: 200px;
height: 120px;
border: solid;
}

View File

@ -1,4 +1,3 @@
<%= stylesheet_link_tag "production"%>
<div class="production">
<%= yield %>
</div>

View File

@ -1,4 +1,5 @@
<%=stylesheet_link_tag "NewBlog/application"%>
<div class="widget_index">
<table>
<tr>
<th><%= t('blog.title') %></th>
@ -7,8 +8,9 @@
<% @posts.each do |post| %>
<tr>
<td><%= post.title %></td>
<td><%= link_to post.title,panel_blog_post_path(post) %></td>
<td><%= post.body.truncate(14) %></td>
</tr>
<% end %>
</table>
</div>

View File

@ -1,5 +1,7 @@
<%=stylesheet_link_tag "NewBlog/application"%>
<div class="widget_latest_post">
<h2><%= @post.title %> </h2>
<p>
<%= @post.body %>
</p>
</div>