tag页面
This commit is contained in:
parent
0ef943d5f3
commit
23be95649f
|
@ -1,15 +1,13 @@
|
||||||
<div id="projects">
|
<div id="projects">
|
||||||
<% if projects_results.size > 0 %>
|
<% if projects_results.size > 0 %>
|
||||||
<hr />
|
<hr />
|
||||||
<h3>Projects:</h3>
|
<h3><strong>Projects:</strong></h3>
|
||||||
|
|
||||||
<% projects_results.each do |prj| %>
|
<% projects_results.each do |prj| %>
|
||||||
<li>
|
<div>
|
||||||
项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %>
|
<h3><strong>项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %></strong></h3>
|
||||||
<br />
|
<p class="font_description2"><strong>项目描述:</strong><%= prj.description %>;</p>
|
||||||
项目描述:<%= prj.description %>;
|
</div>
|
||||||
|
<div class="line_under"></div>
|
||||||
</li>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<div class="splitcontentleft">
|
<div class="tag_left">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Selected Tags
|
<strong>Selected Tags</strong>
|
||||||
</li>
|
</li>
|
||||||
<div id="selected_tags">
|
<div id="selected_tags">
|
||||||
<%= render :partial => "selected_tags",:locals => {:selected_tags => $selected_tags,:show_flag => @obj_flag}%>
|
<%= render :partial => "selected_tags",:locals => {:selected_tags => $selected_tags,:show_flag => @obj_flag}%>
|
||||||
</div>
|
</div>
|
||||||
<li>
|
<li>
|
||||||
Related Tags
|
<strong>Related Tags</strong>
|
||||||
</li>
|
</li>
|
||||||
<div id="related_tags">
|
<div id="related_tags">
|
||||||
<%= render :partial => "related_tags",:locals => {:related_tags => $related_tags,:show_flag => @obj_flag }%>
|
<%= render :partial => "related_tags",:locals => {:related_tags => $related_tags,:show_flag => @obj_flag }%>
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="splitcontentright">
|
<div class="tag_right">
|
||||||
<h2>Search Results</h2>
|
<h3><strong>Search Results</strong></h3>
|
||||||
<div id="filter-menu" align="right">
|
<div id="filter-menu" align="right">
|
||||||
Tag统计:
|
Tag统计:
|
||||||
Issue(<%= @issues_tags_num %>)|
|
Issue(<%= @issues_tags_num %>)|
|
||||||
|
|
|
@ -189,7 +189,7 @@ software development and software crowdsourcing.</td></tr>
|
||||||
<!--info-->
|
<!--info-->
|
||||||
<table width="200" border="0">
|
<table width="200" border="0">
|
||||||
<tr>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan="2" align="left"><%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %></td>
|
<td rowspan="2" align="left"><%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %></td>
|
||||||
|
|
|
@ -11,6 +11,15 @@ h4 {border-bottom: 1px dotted #bbb;}
|
||||||
|
|
||||||
/*new by huang*/
|
/*new by huang*/
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
|
.tag_left{
|
||||||
|
float: left;
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
.tag_right{
|
||||||
|
float: right;
|
||||||
|
width: 68%;
|
||||||
|
}
|
||||||
.welcome_logo{
|
.welcome_logo{
|
||||||
float: left;
|
float: left;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
@ -207,6 +216,11 @@ ul.tool li{list-style-type:none;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.font_description2{
|
||||||
|
font-size:13px;
|
||||||
|
line-height: 1.5em;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
.font_tool{
|
.font_tool{
|
||||||
font-family:微软雅黑;
|
font-family:微软雅黑;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
|
|
Loading…
Reference in New Issue