<% end %>
+
diff --git a/config/routes.rb b/config/routes.rb
index d353c60ff..280053f60 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -39,6 +39,17 @@ RedmineApp::Application.routes.draw do
end
+ resources :school do
+ collection do
+
+ end
+
+ member do
+ get 'upload_logo'
+ post 'upload'
+ end
+ end
+
resources :homework_attach do
collection do
get 'get_homework_member_list'
@@ -809,9 +820,6 @@ RedmineApp::Application.routes.draw do
post 'school/search_school/', :to => 'school#search_school'
get 'school/search_school/', :to => 'school#search_school'
- post 'school/upload', :to => 'school#upload'
- get 'school/upload_logo', :to => 'school#upload_logo'
-
######added by nie
match 'tags/show_projects_tags'
########### added by liuping
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d4d309181..3e01d68ff 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -2796,4 +2796,15 @@ div.repos_explain{
.upload_img img{max-width: 100%;}
#activity .upload_img img{max-width: 580px;}
-img,embed{max-width: 100%;}
\ No newline at end of file
+img,embed{max-width: 100%;}
+
+img.school_avatar {
+ background: rgb(245, 245, 245);
+ padding: 4px;
+ border: 1px solid #e5dfc7;
+ float: left;
+ display: block;
+ width: 100px;
+ height: 100px;
+ max-width: none;
+}
\ No newline at end of file