tag框架

This commit is contained in:
huangjingquan 2013-08-13 17:00:33 +08:00
parent f17f76373f
commit 1b7382a0fe
3 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# This controller was added by william # This controller was added by william
class TagsController < ApplicationController class TagsController < ApplicationController
layout "base_tags"
before_filter :require_admin,:only => :show before_filter :require_admin,:only => :show
include ProjectsHelper include ProjectsHelper
include IssuesHelper include IssuesHelper

View File

@ -1,4 +1,5 @@
<div class="tag_left"> <% content_for :sidebar do %>
<div>
<ul> <ul>
<li> <li>
<strong>Selected Tags</strong> <strong>Selected Tags</strong>
@ -14,8 +15,9 @@
</div> </div>
</ul> </ul>
</div> </div>
<% end %>
<div class="tag_right"> <% content_for :content do %>
<div>
<h3><strong>Search Results</strong></h3> <h3><strong>Search Results</strong></h3>
<div id="filter-menu" align="right"> <div id="filter-menu" align="right">
<%= l(:label_tags_numbers) %> <%= l(:label_tags_numbers) %>
@ -28,5 +30,5 @@
:projects_results => @projects_results,:users_results => @users_results ,:show_flag => @obj_flag}%> :projects_results => @projects_results,:users_results => @users_results ,:show_flag => @obj_flag}%>
</div> </div>
</div> </div>
<% end %>

View File

@ -446,7 +446,7 @@ ul.projects li.root
{ {
width:240px;/*by young*/ width:240px;/*by young*/
height: auto; height: auto;
background:#edecec; /*主题框架背景yanse*/ background:#fff; /*主题框架背景yanse*/
margin-bottom: 30px; margin-bottom: 30px;
border-right:1px solid #C6E9F1; border-right:1px solid #C6E9F1;
overflow:auto; overflow:auto;