view update

This commit is contained in:
devin 2012-12-05 17:17:04 +08:00 committed by chris
parent 79dc99d431
commit 363ccdde4d
2 changed files with 26 additions and 4 deletions

View File

@ -752,6 +752,24 @@ a:focus { outline: none; }
padding-left: 0; padding-left: 0;
border: none; border: none;
} }
#journal_list .g_col .list_t_item {
padding-left: 30px;
height: 86px;
}
#journal_list .list_item_action {
font-size: 12px;
float: left;
margin-left: -30px;
}
#journal_list .list_item_action i {
color: #999;
font-size: 20px;
display: block;
width: 20px;
height: 20px;
line-height: 20px;
margin: 1px 1px 6px 1px;
}
/* App */ /* App */
.app_frame { .app_frame {

View File

@ -18,15 +18,19 @@
<div class="viewport"> <div class="viewport">
<div class="overview"> <div class="overview">
<% @journal_lists.each_with_index do |journal_list,i| %> <% @journal_lists.each_with_index do |journal_list,i| %>
<% if ( i % 8 ) == 0 %> <% if ( i % 5 ) == 0 %>
<div class="g_col"> <div class="g_col">
<ul> <ul>
<% end %> <% end %>
<li class="s_grid_row"> <li class="list_t_item">
<div class="list_item_action">
<i class="icon-file"></i>
</div>
<% title, level = journal_list %> <% title, level = journal_list %>
<%= title %> -- <%= level.join(",") %> <div class="list_t_title"><%= title %></div>
<div class="list_t_desc"><%= level.join(",") %></div>
</li> </li>
<% if ( i % 8 ) == 7 %> <% if ( i % 5 ) == 4 %>
</ul> </ul>
</div> </div>
<% end %> <% end %>