<% @project = Project.find_by_id(@project.id)%>
<% @course = Course.find_by_extra(@project.identifier)%>
diff --git a/app/views/layouts/base_users.html.erb b/app/views/layouts/base_users.html.erb
index 2443f50cd..361e998e9 100644
--- a/app/views/layouts/base_users.html.erb
+++ b/app/views/layouts/base_users.html.erb
@@ -23,7 +23,7 @@
<%= render :partial => 'layouts/base_header'%>
-
+
创客主页 |
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index e4faf955e..47fa46b5f 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -12,13 +12,48 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/
/**/
.top-content{
- background-color: rgb(226, 244, 255);
+ background-color: rgb(214, 218, 242);
+ height: 45px;
+ width: 940px;
+ line-height: 1em;
+ padding-top: 5px;
+}
+
+/*added by bai*/
+.top-course-content{
+ background-color: rgb(181,227, 251);
height: 45px;
width: 940px;
line-height: 1em;
padding-top: 5px;
}
+.top-user-content{
+ background-color: rgb(195,291, 232);
+ height: 45px;
+ width: 940px;
+ line-height: 1em;
+ padding-top: 5px;
+}
+
+.top-context-content{
+ background-color: rgb(242,241, 192);
+ height: 45px;
+ width: 940px;
+ line-height: 1em;
+ padding-top: 5px;
+}
+.top-bid-content{
+ background-color: rgb(246,176, 133);
+ height: 45px;
+ width: 940px;
+ line-height: 1em;
+ padding-top: 5px;
+}
+
+
+/*end*/
+
.top-content-home{
background-color: rgb(226, 244, 255);
width: 25%;