From 0fc142d822a9fecaccc5c55ad78283bc2ec00856 Mon Sep 17 00:00:00 2001 From: Linda <2294690300@qq.com> Date: Wed, 4 May 2016 14:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E9=85=8D=E7=BD=AElogo?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_org2.html.erb | 2 +- app/views/layouts/base_sub_domain.html.erb | 368 +++++++++--------- .../_show_sub_document_newstyle.html.erb | 50 +-- public/images/default_blank/icons-add.png | Bin 0 -> 18580 bytes public/stylesheets/org2.css | 3 +- 5 files changed, 212 insertions(+), 211 deletions(-) create mode 100644 public/images/default_blank/icons-add.png diff --git a/app/views/layouts/base_org2.html.erb b/app/views/layouts/base_org2.html.erb index 3bf0188a8..3fe002539 100644 --- a/app/views/layouts/base_org2.html.erb +++ b/app/views/layouts/base_org2.html.erb @@ -90,7 +90,7 @@ <% end %> <% if User.current.admin_of_org?(@organization) %> - + <% end %> diff --git a/app/views/layouts/base_sub_domain.html.erb b/app/views/layouts/base_sub_domain.html.erb index 3ab589111..32396a7c5 100644 --- a/app/views/layouts/base_sub_domain.html.erb +++ b/app/views/layouts/base_sub_domain.html.erb @@ -1,184 +1,184 @@ - - - - - <%= h html_title %> - - - <%= csrf_meta_tag %> - <%= favicon %> - <%= javascript_heads %> - <%= heads_for_theme %> - <%= stylesheet_link_tag 'org2','jquery/jquery-ui-1.9.2' %> - <%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%> - <%= javascript_include_tag 'attachments' %> - <%#= call_hook :view_layouts_base_html_head %> - - <%#= yield :header_tags -%> - - - - - - - - - - - - - - - -
-
-
- <%= render :partial => 'organizations/org_logined_header' %> -
- -
- -
-
    - <% @subfield_content.each do |field| %> - <% if is_default_field?(field) %> - <% case field.name %> - <% when 'activity' %> - - <% when 'course' %> - - <% when 'project' %> - - <% end %> - <% else %> - <% if field.field_type == "Post" && field.hide == 0 %> - - 6666666666666 - - <% elsif field.field_type == "Resource" && field.hide == 0 %> - - <% end %> - <% end %> - <% end %> - <% if User.current.admin_of_org?(@organization) %> - - <% end %> -
-
- - -
-
banner image
-
-
-
-<%# 更新访问数,刷新的时候更新访问次数 %> - <% update_visiti_count @organization %> -<%# over %> - - - - <%= render_flash_messages %> - <%= yield %> - <%= call_hook :view_layouts_base_content %> -
- - -
- - -<%#= call_hook :view_layouts_base_body_bottom %> - - - - - + + + + + <%= h html_title %> + + + <%= csrf_meta_tag %> + <%= favicon %> + <%= javascript_heads %> + <%= heads_for_theme %> + <%= stylesheet_link_tag 'org2','jquery/jquery-ui-1.9.2' %> + <%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%> + <%= javascript_include_tag 'attachments' %> + <%#= call_hook :view_layouts_base_html_head %> + + <%#= yield :header_tags -%> + + + + + + + + + + + + + + + +
+
+
+ <%= render :partial => 'organizations/org_logined_header' %> +
+ +
+ +
+
    + <% @subfield_content.each do |field| %> + <% if is_default_field?(field) %> + <% case field.name %> + <% when 'activity' %> + + <% when 'course' %> + + <% when 'project' %> + + <% end %> + <% else %> + <% if field.field_type == "Post" && field.hide == 0 %> + + 6666666666666 + + <% elsif field.field_type == "Resource" && field.hide == 0 %> + + <% end %> + <% end %> + <% end %> + <% if User.current.admin_of_org?(@organization) %> + + <% end %> +
+
+ + +
+
banner image
+
+
+
+<%# 更新访问数,刷新的时候更新访问次数 %> + <% update_visiti_count @organization %> +<%# over %> + + + + <%= render_flash_messages %> + <%= yield %> + <%= call_hook :view_layouts_base_content %> +
+ + +
+ + +<%#= call_hook :view_layouts_base_body_bottom %> + + + + + diff --git a/app/views/sub_document_comments/_show_sub_document_newstyle.html.erb b/app/views/sub_document_comments/_show_sub_document_newstyle.html.erb index 15d7c81af..ad8f9ba8c 100644 --- a/app/views/sub_document_comments/_show_sub_document_newstyle.html.erb +++ b/app/views/sub_document_comments/_show_sub_document_newstyle.html.erb @@ -1,26 +1,26 @@ -
-
-
-
您的位置:首页 > 数据资源 > 仿真数据
-
-
-

最新资讯

-
    - <% documents.each do |document| %> -
  • -
    <%=link_to document.title, org_subfield_sub_domain_sub_document_comment_path(document, :org_subfield_id => @org_subfield, :sub_domain_id => @subdomain), :class => "sn-newslist-titile fl", :target => "_blank" %> - <%= format_date(document.created_at) %>>回复(100)(100) -
    -
  • - <% end %> -
- -
-
    - <%= pagination_links_full @atta_pages, @atta_count, :per_page_links => true, :remote => @is_remote, :flag => true %> -
    -
-
-
-
+
+
+
+
您的位置:首页 > 数据资源 > 仿真数据
+
+
+

最新资讯

+
    + <% documents.each do |document| %> +
  • +
    <%=link_to document.title, org_subfield_sub_domain_sub_document_comment_path(document, :org_subfield_id => @org_subfield, :sub_domain_id => @subdomain), :class => "sn-newslist-titile fl", :target => "_blank" %> + <%= format_date(document.created_at) %>>回复(100)(100) +
    +
  • + <% end %> +
+ +
+
    + <%= pagination_links_full @atta_pages, @atta_count, :per_page_links => true, :remote => @is_remote, :flag => true %> +
    +
+
+
+
\ No newline at end of file diff --git a/public/images/default_blank/icons-add.png b/public/images/default_blank/icons-add.png new file mode 100644 index 0000000000000000000000000000000000000000..059585a0d59d1f712e6c6315a6be8622daf9ca51 GIT binary patch literal 18580 zcmeI4do-~JcUa!yl@qWGEdvE7_?6X^EAt9z9 z1^|GBm8BVu`?`|*ryw$u`z+e97&89CuykVrfcV_;KLH>qMIHdeY$&Ftc6Q!$7MO(6__I+;Qx0YGqbszZ?Lk>UB+wqcT#vq{t7#RO_N09ECP+?94aDSa5g@0OM^ zx*f4s%z2*doD@r^@|_K0mZ^I?(wF6X8Sme_{(zIa-W%oCtgG8Y2KxKIJpNMHozgv8 z!>*MIn=cgE5G*YN(m6&@P2tj9fiSmg zNDINRq8UJ7lxvKX(Pkhl(L|#PfanPVriC~?b(|c5&4z^Kxt)sb;8N&mrK+ElQw<6_NJ?!|Y= z^z1;sRX+Mv^hl5dz=^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vK zx{6EtCYE-Ih&o-ziAyK%pRs5*KtwK(*;ih^?A5LJ21(WA3(K?fW3Mtyk%@~_*V*dC zqnlLvkExb-isrx8-K~Kx3;|vbeb&ahY*F@LKlrBR@8SOVP)C|lE?zK4 zWL4S a1B5LXY{QBaDdV?yTbZvj%Qe}&^Zx)hHPUqe literal 0 HcmV?d00001 diff --git a/public/stylesheets/org2.css b/public/stylesheets/org2.css index ad9169670..4b59713f5 100644 --- a/public/stylesheets/org2.css +++ b/public/stylesheets/org2.css @@ -61,7 +61,8 @@ a.sn-link-select {color:#809df9;} .sn-bg-blue {background-color:#24366e;} .sn-login {width:1200px; height:45px; line-height:45px; margin:0 auto; font-size:14px; color:#24366e; vertical-align:middle; text-align:right;} .sn-login2 {width:1200px; height:54px; line-height:54px; margin:0 auto; font-size:14px; color:#24366e; vertical-align:middle; text-align:right;} -.sn-logo {width:1200px; height:90px; line-height:90px; margin:0 auto; vertical-align:middle;} +.sn-logo {width:1200px; height:90px; line-height:90px; margin:0 auto; vertical-align:middle;position:relative;} +.sn-logo-add{ display:block; top:10px; left:0px; position:absolute; width:20px; height:20px;background:url(../images/default_blank/icons-add.png) -0px -3px no-repeat;} .sn-search-input {width:328px; height:40px; font-size:16px; color:#ccc; padding-left:10px; border:1px solid #ccc; border-right:none; float:right; background-color:#fff; outline:none;} a.sn-search-button {width:53px; height:40px; border:1px solid #ccc; border-left:none; float:right; outline:none; background:url(../images/sn_search_icon.jpg) 0 3px no-repeat;} .sn-nav {width:1200px; height:55px; margin:0 auto; font-size:16px; position:relative; line-height:1;}