From 27ade53af3e39f9e92649836184f3b976f88803d Mon Sep 17 00:00:00 2001 From: ganyiang Date: Wed, 14 May 2014 09:45:11 +0800 Subject: [PATCH 01/16] =?UTF-8?q?=E9=92=88=E5=AF=B9OSP=E7=A4=BE=E5=8C=BA?= =?UTF-8?q?=E7=9A=84=E6=96=B0=E9=9C=80=E6=B1=82=E7=9A=84=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=EF=BC=9A=201.=E5=BC=80=E6=BA=90=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=A4=BE=E5=8C=BA(OSP)index=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0[=E8=BD=AF=E4=BB=B6=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E]=E5=B1=95=E7=A4=BA=202.osp=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E5=A2=9E=E5=8A=A0[=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E6=80=81=E5=8A=BF]=E3=80=81[=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E5=88=9B=E6=96=B0=E8=B6=8B=E5=8A=BF]=20=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ps.此次为不负责任的提交~ --- .../_show_topics.html.erb | 380 +++++++++- app/views/open_source_projects/index.html.erb | 190 ++++- public/javascripts/ichart.1.2.min.js | 9 + public/stylesheets/buglist-div-use.css | 41 + public/stylesheets/buglist-ichart.css | 74 ++ public/stylesheets/buglist.css | 706 ++++++++++++++++++ public/stylesheets/sec-analysis.css | 41 + 7 files changed, 1427 insertions(+), 14 deletions(-) create mode 100644 public/javascripts/ichart.1.2.min.js create mode 100644 public/stylesheets/buglist-div-use.css create mode 100644 public/stylesheets/buglist-ichart.css create mode 100644 public/stylesheets/buglist.css create mode 100644 public/stylesheets/sec-analysis.css diff --git a/app/views/open_source_projects/_show_topics.html.erb b/app/views/open_source_projects/_show_topics.html.erb index 3ede2730e..306e0c8e5 100644 --- a/app/views/open_source_projects/_show_topics.html.erb +++ b/app/views/open_source_projects/_show_topics.html.erb @@ -1,7 +1,358 @@ + -
- 共有 <%= link_to memos.count %> 个贴子 + + + + + +<%= javascript_include_tag "ichart.1.2.min" %> +<%= stylesheet_link_tag "sec-analysis.css" %> +<%= stylesheet_link_tag "buglist-ichart.css" %> +<%= stylesheet_link_tag "buglist.css" %> + +
+
+
+
+

+
+
+ +
+

项目安全态势

More >>
+
+
+ +
+
+
+
+
+ + + + +
+
+
+
+

+
+
+ +
+

技术创新趋势

More >>
+
+
+ +
+
+
+
+ + +
+ +

全球热帖

更多>>
<% if memos.any? %> @@ -20,9 +371,20 @@ <%= link_to (topic.replies_count), open_source_project_relative_memo_path(topic.open_source_project, topic) %> - 回答 + 回帖 + + + + + + + + + +
<%= link_to (topic.viewed_count_crawl+topic.viewed_count_local), open_source_project_relative_memo_path(topic.open_source_project, topic) %>
关注
+ @@ -36,19 +398,17 @@ - + - + - - - +
帖子来源:<%= link_to topic.url, topic.url%> 帖子来源:<%=link_to 'OSChina', topic.url %> + <%= no_use_link(topic, User.current) %>
<%= image_tag( "/images/sidebar/tags.png") %> - <%= render :partial => 'tags/tag_name', :locals => {:obj => topic,:object_flag => "9",:non_list_all => true }%>
diff --git a/app/views/open_source_projects/index.html.erb b/app/views/open_source_projects/index.html.erb index 01848edce..d958165ed 100644 --- a/app/views/open_source_projects/index.html.erb +++ b/app/views/open_source_projects/index.html.erb @@ -1,4 +1,4 @@ -
+
<%= form_tag(:controller => 'open_source_projects', :action => "search", :method => :get) do %> @@ -18,15 +18,16 @@
<% end %>
+ +<%= javascript_include_tag "ichart.1.2.min" %> +<%= stylesheet_link_tag "buglist-div-use.css" %> +<%= stylesheet_link_tag "buglist-ichart.css" %> +<%= stylesheet_link_tag "buglist.css" %> + +
+
+
+
+

安全态势分析

+
+
+ + +
+
+
+ + + + + + <%#======================================================================box before%> -
+