-
+
-
-
+
+
@@ -61,8 +55,7 @@
-
+
+
+
+
+
+
@@ -102,13 +99,12 @@
<%= link_to image_tag(avatar_image(@project), :class => 'avatar2'), :class => "avatar" %> | -
-
|
- <%= link_to image_tag(avatar_image(@project), :class => 'avatar') %> | +
+ <%= textilizable @project.name %>
+
+
+ |
+
+
+
-
-
+
<%= render :partial => 'layouts/tag', :locals => {:obj => @project,:object_flag => "2"}%>
<%= @project.members.count %> | <%= @project.issues.count %> | -<%= @project.attachments.count %> | - +<%= @project.attachments.count %> |
<%= link_to('成员 ', project_member_path(@project), :class => 'project_infor_tag') %> | <%= link_to('缺陷 ', project_issues_path(@project), :class => 'project_infor_tag') %> | @@ -71,24 +64,28 @@
-
概述
+ 概述
- 
+
-
+
+
-
<%= textilizable @project.description %>
-
-
+
+
创建时间:<%= @project.created_on %>
-
-
工具
+ 工具

![]() |
-
<%= render_main_menu(@project) %>
@@ -125,9 +121,7 @@
-
-
-
+
<%=render :partial => 'layouts/base_header'%>
-
+
-
-
+
\ No newline at end of file
diff --git a/public/images/avatars/User/1 b/public/images/avatars/User/1
index 0d2f45b63..68a02e4a7 100644
Binary files a/public/images/avatars/User/1 and b/public/images/avatars/User/1 differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 767fb5d05..b58b8c587 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -7,6 +7,8 @@ h2, .wiki h1 {font-size: 20px;}
h3, .wiki h2 {font-size: 16px;}
h4, .wiki h3 {font-size: 13px;}
h4 {border-bottom: 1px dotted #bbb;}
+
+
/*new by huang*/
/**/
.new_creat{
@@ -65,7 +67,7 @@ ul.tool li{list-style-type:none;
.font_title_left{
font-family:微软雅黑;
font-weight:bold;
- padding-left: 8px;
+ padding-left: 12px;
padding-top:3px;
padding-bottom:3px;
font-size:16px;
@@ -102,9 +104,10 @@ ul.tool li{list-style-type:none;
padding-top: 50px;
}
.info_font{
+ padding-left: 8px;
font-family:微软雅黑;
font-weight:bold;
- font-size:18px;
+ font-size:16px;
color:#4d4d4d;
}
.font_lighter{
@@ -118,30 +121,31 @@ ul.tool li{list-style-type:none;
font-family:宋体;
}
.font_lighter_sidebar{
- font-family:微软雅黑;
+ /*font-family:微软雅黑;*/
color:#919294;
font-size:13px;
- padding-left: 8px;
+ padding-left: 12px;
+ padding-right: 8px;
+ line-height: 1.5em;
+}
+.created_on_project{
+ padding-left: 12px;
+ padding-bottom: 5px;
}
.font_description{
- font-size:14px;
- line-height: 22px;
+ font-size:13px;
+ line-height: 1.5em;
}
.font_tool{
font-family:微软雅黑;
- font-size:16px;
+ font-size:14px;
color: 1a1a1a;
-}
-.spaceleft{float:left; width:240px;}
-.spaceright{float:left; width:620px;}
-
-.inf_user_image img.avatar2{
- height:80px;
- width: 80px;
-
+ padding-left: 6px;
}
+.spaceleft{float: left; width: 240px;}
+.spaceright{float:left; width:620px;}
.inf_user_motto{
padding-left:8px;
margin:5px 0px 0px 0px;
@@ -157,20 +161,25 @@ ul.tool li{list-style-type:none;
}*/
.inf_user_image{
padding-left:8px;
- margin:0px 0px 0px 0px;
+ margin:0px;
background-color:#fff;
height: auto;
padding-bottom: 8px;
}
+.inf_user_image img.avatar2{
+ height:80px;
+ width: 80px;
+
+}
.user_fans{
padding-left:0px;
- margin:0px 0px 0px 0px;
+ margin:0px;
height: auto;
background-color:#fff;
}
.inf_user_context{
padding-left:0px;
- margin:0px 0px 0px 0px;
+ margin:0px;
padding-top:1px;
background-color:#fff;
height: auto;
@@ -458,13 +467,6 @@ ul.newprojects2 li{
color: inherit;
text-d
}
-
-
-
-
-
-
-
/***** Layout *****/
#wrapper {background: white;}
@@ -1024,6 +1026,7 @@ html>body .tabular p {overflow:hidden;}
margin-left: -180px;
/* width of labels. Should be smaller than left column to create some right margin */
width: 175px;
+ font-size: 12px;
}
.tabular label.floating{
@@ -1108,7 +1111,7 @@ textarea.text_cf {width:90%;}
#tab-content-members .splitcontentleft, #tab-content-memberships .splitcontentleft, #tab-content-users .splitcontentleft {width: 64%;}
#tab-content-members .splitcontentright, #tab-content-memberships .splitcontentright, #tab-content-users .splitcontentright {width: 34%;}
#tab-content-members fieldset, #tab-content-memberships fieldset, #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
-#tab-content-members fieldset legend, #tab-content-memberships fieldset legend, #tab-content-users fieldset legend {font-weight: bold;}
+#tab-content-members fieldset legend, #tab-content-memberships fieldset legend, #tab-content-users fieldset legend {font-weight: bold; font-size: 12px}
#tab-content-members fieldset label, #tab-content-memberships fieldset label, #tab-content-users fieldset label {display: block;}
#tab-content-members #principals, #tab-content-users #principals {max-height: 400px; overflow: auto;}
@@ -1551,7 +1554,6 @@ a.close-icon:hover {background-image:url('../images/close_hl.png');}
padding-top: 2px;
padding-bottom: 3px;
}
-
.icon-add { background-image: url(../images/add.png); }
.icon-edit { background-image: url(../images/edit.png); }
.icon-copy { background-image: url(../images/copy.png); }
diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css
index 89ea47746..e87a82ae9 100644
--- a/public/themes/redpenny-master/stylesheets/application.css
+++ b/public/themes/redpenny-master/stylesheets/application.css
@@ -443,6 +443,7 @@ ul.projects li.root
width:240px;/*by young*/
height: auto;
background:#edecec; /*主题框架背景yanse*/
+ margin-bottom: 30px;
border-right:1px solid #C6E9F1;
overflow:auto;
/*by young*/
@@ -576,7 +577,7 @@ div.splitcontentleft h2
#sidebar a:hover
{
- background-color:#039;
+ background-color:#c6e9fe; /*add by huang*/
color:#FFF;
text-decoration:none
}
@@ -1298,9 +1299,9 @@ div.nomargin {
div.pagination {
- margin: 18px 0px;
+ margin: 25px 0px;
height: 36px;
- text-align: center;
+ text-align: left;
font-size: 13px;
}
@@ -1329,7 +1330,8 @@ div.pagination li:first-child a {
div.pagination a {
float: left;
padding: 0px 14px;
- line-height: 34px;
+ /*line-height: 34px; add by huang*/
+ line-height: 25px;
text-decoration: none;
border-width: 1px 1px 1px 0px;
border-style: solid;
@@ -1343,7 +1345,8 @@ div.pagination a {
div.pagination span {
float: left;
padding: 0px 14px;
- line-height: 34px;
+ /*line-height: 34px; add by huang*/
+ line-height: 25px;
text-decoration: none;
border-width: 1px 1px 1px 0px;
border-style: solid;
@@ -1357,12 +1360,14 @@ div.pagination span {
}
div.pagination span.current-page {
- color: rgb(153, 153, 153);
+ /*color: rgb(153, 153, 153); add by huang*/
+ color:#e2f4ff;
cursor: default;
}
div.pagination a:hover, div.pagination span.current-page {
- background-color: rgb(245, 245, 245);
+ /*background-color: rgb(245, 245, 245); add by huang*/
+ background-color:#e2f4ff;
}
/*added by young*/
div.pagination_new {
<%= link_to image_tag(url_to_avatar(@user), :class => 'avatar'), :class => "avatar" %> |
|
<%=link_to_user(news.author)if news.respond_to?(:author) %> 分享了 <%= link_to h(news.title), news_path(news) %> | |||
<%= textilizable(news, :description) %> |
+ <%= textilizable(news, :description) %> | ||
<%= news.created_on %> | @@ -60,8 +58,6 @@
<%= pagination_links_full @news_pages %>
diff --git a/app/views/projects/_edit.html.erb b/app/views/projects/_edit.html.erb index 211762903..61e8fb41f 100644 --- a/app/views/projects/_edit.html.erb +++ b/app/views/projects/_edit.html.erb @@ -1,4 +1,7 @@ +
+
\ No newline at end of file
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb
index 03cade5c6..135a56b77 100644
--- a/app/views/projects/_form.html.erb
+++ b/app/views/projects/_form.html.erb
@@ -1,8 +1,5 @@
<%= error_messages_for 'project' %>
-
-<%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %>
<%= labelled_form_for @project do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %> +
-
+
<% if @project.new_record? %>
<%= render :partial=>"avatar/avatar_form",:locals=> {source:@project}%>
<%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %>
<%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %>
@@ -27,7 +24,7 @@<%= custom_field_tag_with_label :project, value %>
<% end %> <%= call_hook(:view_projects_form, :project => @project, :form => f) %> -