From 363ccdde4d602e6d2bb4fbe876cfd60c5abf22db Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 5 Dec 2012 17:17:04 +0800 Subject: [PATCH] view update --- app/assets/stylesheets/desktopmain.css | 18 ++++++++++++++++++ app/views/desktop/journal_lists/index.html.erb | 12 ++++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/desktopmain.css b/app/assets/stylesheets/desktopmain.css index 744c8d5b..bd239470 100644 --- a/app/assets/stylesheets/desktopmain.css +++ b/app/assets/stylesheets/desktopmain.css @@ -752,6 +752,24 @@ a:focus { outline: none; } padding-left: 0; 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_frame { diff --git a/app/views/desktop/journal_lists/index.html.erb b/app/views/desktop/journal_lists/index.html.erb index bcfa77b3..44c8ab9f 100644 --- a/app/views/desktop/journal_lists/index.html.erb +++ b/app/views/desktop/journal_lists/index.html.erb @@ -18,15 +18,19 @@
<% @journal_lists.each_with_index do |journal_list,i| %> - <% if ( i % 8 ) == 0 %> + <% if ( i % 5 ) == 0 %>
    <% end %> -
  • +
  • +
    + +
    <% title, level = journal_list %> - <%= title %> -- <%= level.join(",") %> +
    <%= title %>
    +
    <%= level.join(",") %>
  • - <% if ( i % 8 ) == 7 %> + <% if ( i % 5 ) == 4 %>
<% end %>