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
class TagsController < ApplicationController
layout "base_tags"
before_filter :require_admin,:only => :show
include ProjectsHelper
include IssuesHelper

View File

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

View File

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