From c8ca5277a6e2634ccb1deaad94e21b37d2685f8f Mon Sep 17 00:00:00 2001 From: ganyiang Date: Thu, 29 May 2014 21:43:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eosp=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E2=80=9C=E8=81=9A=E7=84=A6=E2=80=9D=E6=A0=87=E7=AD=BE=20?= =?UTF-8?q?=EF=BC=88=E6=BC=94=E7=A4=BA=E7=94=A8=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_show_topics.html.erb | 54 ++++++++++++++++++- public/stylesheets/buglist-div-use.css | 12 ++++- public/stylesheets/buglist.css | 8 +++ 3 files changed, 72 insertions(+), 2 deletions(-) diff --git a/app/views/open_source_projects/_show_topics.html.erb b/app/views/open_source_projects/_show_topics.html.erb index db25b444d..b1f3fbf0a 100644 --- a/app/views/open_source_projects/_show_topics.html.erb +++ b/app/views/open_source_projects/_show_topics.html.erb @@ -22,6 +22,59 @@

项目安全态势

<%= link_to "更多 >>", :controller => "open_source_projects",:action => "showbug", :id => @open_source_project.id %>
+ +<% if @open_source_project.id ==42 then %> + +
+ +Tags + +聚焦: + + + + +
+ +<% elsif @open_source_project.id ==70 then %> + +
+ +Tags + +聚焦: + + + +
+ +<% elsif @open_source_project.id ==17 then %> + +
+ +Tags + +聚焦: + + +
+ +<% elsif @open_source_project.id ==55 then %> + +
+ +Tags + +聚焦: + + +
+ +<%end if %> + + + +
    @@ -174,7 +227,6 @@ line.draw(); }); - //]]> diff --git a/public/stylesheets/buglist-div-use.css b/public/stylesheets/buglist-div-use.css index e84fb88cc..33c9d8f91 100644 --- a/public/stylesheets/buglist-div-use.css +++ b/public/stylesheets/buglist-div-use.css @@ -37,5 +37,15 @@ color: #c61a1a; text-decoration: underline; } - +#tag { + background: url("../images/issue_tag.png") no-repeat scroll right -19px rgba(0, 0, 0, 0); + border-radius: 3px; + color: #3A587D !important; + cursor: pointer; + display: inline-block; + font-size: 13px; + margin: 3px; + padding: 1px 4px 2px; + text-decoration: none; +} diff --git a/public/stylesheets/buglist.css b/public/stylesheets/buglist.css index 8ad8a3a6a..494fc9f46 100644 --- a/public/stylesheets/buglist.css +++ b/public/stylesheets/buglist.css @@ -62,3 +62,11 @@ font-size:18px; div.pages .break,.created a { color:#999; } + +.tag_fouse { + font-family: "Microsoft YaHei"; + font-size: 15px; + font-weight: bold; + padding-bottom: 3px; + padding-top: 3px; +} \ No newline at end of file