From 12ac353de97454634db40f99dc4213fe151ed19c Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 27 May 2016 17:08:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=97=E6=96=97=E6=96=B0base?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_org_custom.thml.erb | 67 ++++++++++++++++++++++ app/views/organizations/_math_js.html.erb | 11 ++++ 2 files changed, 78 insertions(+) create mode 100644 app/views/layouts/base_org_custom.thml.erb create mode 100644 app/views/organizations/_math_js.html.erb diff --git a/app/views/layouts/base_org_custom.thml.erb b/app/views/layouts/base_org_custom.thml.erb new file mode 100644 index 000000000..a453d1cd7 --- /dev/null +++ b/app/views/layouts/base_org_custom.thml.erb @@ -0,0 +1,67 @@ + + + + + <%= h html_title %> + + + <%= csrf_meta_tag %> + <%= favicon %> + <%= javascript_heads %> + <%= heads_for_theme %> + <%= stylesheet_link_tag 'org2','jquery/jquery-ui-1.9.2' %> + + <%#= call_hook :view_layouts_base_html_head %> + <%= yield :header_tags -%> + + <%=render :partial => "math_js" %> + + + + + +
+
+
+ +
+ +
+ <%= render :partial => "org_field_menu", :locals => {:subfield_content => @subfield_content} %> +
+
+
+<%# 更新访问数,刷新的时候更新访问次数 %> +<% update_visiti_count @organization %> +<%# over %> + +
+ <%= render_flash_messages %> + <%= yield %> + <%= call_hook :view_layouts_base_content %> +
+ + + + +
+<%# 弹框 %> + + +<%= call_hook :view_layouts_base_body_bottom %> +<%# JS提前加载 %> +<%= javascript_include_tag 'cookie','project', 'organization','header','prettify','select_list_move','org'%> +<%= javascript_include_tag 'attachments' %> + + + + + + diff --git a/app/views/organizations/_math_js.html.erb b/app/views/organizations/_math_js.html.erb new file mode 100644 index 000000000..7ac522061 --- /dev/null +++ b/app/views/organizations/_math_js.html.erb @@ -0,0 +1,11 @@ + + + \ No newline at end of file