tag页面

This commit is contained in:
huangjingquan 2013-08-13 15:52:22 +08:00
parent 0ef943d5f3
commit 23be95649f
4 changed files with 26 additions and 14 deletions

View File

@ -1,15 +1,13 @@
<div id="projects">
<% if projects_results.size > 0 %>
<hr />
<h3>Projects:</h3>
<h3><strong>Projects:</strong></h3>
<% projects_results.each do |prj| %>
<li>
项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %>
<br />
项目描述:<%= prj.description %>;
</li>
<div>
<h3><strong>项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %></strong></h3>
<p class="font_description2"><strong>项目描述:</strong><%= prj.description %>;</p>
</div>
<div class="line_under"></div>
<% end %>
<% end %>

View File

@ -1,13 +1,13 @@
<div class="splitcontentleft">
<div class="tag_left">
<ul>
<li>
Selected Tags
<strong>Selected Tags</strong>
</li>
<div id="selected_tags">
<%= render :partial => "selected_tags",:locals => {:selected_tags => $selected_tags,:show_flag => @obj_flag}%>
</div>
<li>
Related Tags
<strong>Related Tags</strong>
</li>
<div id="related_tags">
<%= render :partial => "related_tags",:locals => {:related_tags => $related_tags,:show_flag => @obj_flag }%>
@ -15,8 +15,8 @@
</ul>
</div>
<div class="splitcontentright">
<h2>Search Results</h2>
<div class="tag_right">
<h3><strong>Search Results</strong></h3>
<div id="filter-menu" align="right">
Tag统计
Issue(<%= @issues_tags_num %>)|

View File

@ -189,7 +189,7 @@ software development and software crowdsourcing.</td></tr>
<!--info-->
<table width="200" border="0">
<tr>
<td colspan="2" class="font_welcome_Cdescription" style=" word-wrap: break-word; word-break: break-all"><%= l(:label_welcome) %> <strong class="font_small_watch"><%=link_to User.current.name, user_path(User.current) %></strong> <%= l(:label_join) %></td>
<td colspan="2" class="font_welcome_Cdescription" style=" word-wrap: break-word; word-break: break-all"><%= l(:label_welcome) %> <strong class="font_small_watch"><%=link_to User.current.lastname<<User.current.firstname, user_path(User.current) %></strong> <%= l(:label_join) %></td>
</tr>
<tr>
<td rowspan="2" align="left"><%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %></td>

View File

@ -11,6 +11,15 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/
/**/
.tag_left{
float: left;
width: 30%;
}
.tag_right{
float: right;
width: 68%;
}
.welcome_logo{
float: left;
padding-left: 5px;
@ -207,6 +216,11 @@ ul.tool li{list-style-type:none;
line-height: 1.5em;
}
.font_description2{
font-size:13px;
line-height: 1.5em;
padding-left: 10px;
}
.font_tool{
font-family:微软雅黑;
font-size:14px;