diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index 9561cc474..2f9fd4642 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -158,10 +158,10 @@

头像设置

+ <%= file_field_tag 'avatar[image]', - :id => nil, - :class => 'uppic_btn', - :style => 'width:70px;',#added by young + :id => "upload_user_image", + :style => 'display:none;',#added by young :size => "1", :multiple => false, :onchange => 'addInputAvatar(this);', diff --git a/public/stylesheets/new_user.css b/public/stylesheets/new_user.css index 5e5c9517b..062006e56 100644 --- a/public/stylesheets/new_user.css +++ b/public/stylesheets/new_user.css @@ -855,7 +855,7 @@ a.box_close{background:url(../images/img_floatbox.png) -22px 0 no-repeat;} .uppicBox{ width:265px; height:265px; background:#f2f2f5; float:left; color:#666; text-align:center;} .showpicBox{width:133px; height:250px; background:#f2f2f5; float:left; margin-left:20px; text-align:center; padding-top:15px; color:#666;} .mr15{ margin-right:15px;} -.uppic_btn{border:none; width:150px; background:none; margin-bottom:5px; color:#666; margin-top:105px;} +.uppic_btn{background: #64bdd9;color: #fff;width: 80px;height: 25px;margin-top: 105px;} /*20150820课程作业 LB*/ .HomeWork {width:708px; background-color:#ffffff; padding:20px; border:1px solid #dddddd;} diff --git a/public/stylesheets/users.css b/public/stylesheets/users.css index 48d73f86a..849aa1c02 100644 --- a/public/stylesheets/users.css +++ b/public/stylesheets/users.css @@ -116,7 +116,6 @@ a:hover.c_lgrey{ color:#3ca5c6;} .uppicBox{ width:265px; height:265px; background:#f2f2f5; float:left; color:#666; text-align:center;} .showpicBox{width:133px; height:250px; background:#f2f2f5; float:left; margin-left:20px; text-align:center; padding-top:15px; color:#666;} .mr15{ margin-right:15px;} -.uppic_btn{border:none; width:150px; background:none; margin-bottom:5px; color:#666; margin-top:105px;} /* 新建作品*/ .mr8{ margin-right:8px;} .mt2{ margin-top:2px;}