tag页面
This commit is contained in:
parent
0ef943d5f3
commit
23be95649f
|
@ -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 %>
|
||||
|
|
|
@ -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 %>)|
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue