From bd43ef5d617827c437b9deb217cdbaea3dac1dc7 Mon Sep 17 00:00:00 2001 From: z9hang Date: Fri, 18 Jul 2014 16:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=AB=99=E4=B8=A4=E8=BE=B9=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E9=A2=9C=E8=89=B2=E8=B0=83=E6=95=B4=E3=80=81=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E5=AF=BC=E8=88=AA=E6=A0=8F=E8=B0=83=E6=95=B4=E3=80=81?= =?UTF-8?q?admin=E8=B4=A6=E6=88=B7=E6=96=B0=E5=BB=BA=E7=94=A8=E6=88=B7bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- app/views/account/login.html.erb | 5 +++ app/views/account/lost_password.html.erb | 5 +++ app/views/account/register.html.erb | 5 +++ app/views/bids/index.html.erb | 5 +++ app/views/bids/new_bid.html.erb | 5 +++ app/views/forums/index.html.erb | 4 ++ app/views/forums/new.html.erb | 5 +++ app/views/layouts/_base_header.html.erb | 38 +++++++++---------- app/views/layouts/base_admin.html.erb | 5 +++ app/views/layouts/base_bids.html.erb | 4 +- app/views/layouts/base_contest.html.erb | 7 +++- app/views/layouts/base_courses.html.erb | 5 ++- app/views/layouts/base_forums.html.erb | 4 ++ app/views/layouts/base_homework.html.erb | 5 ++- app/views/layouts/base_memos.html.erb | 4 ++ app/views/layouts/base_newcontest.html.erb | 5 ++- app/views/layouts/base_projects.html.erb | 2 + app/views/layouts/base_users.html.erb | 5 +++ app/views/memos/new.html.erb | 5 +++ app/views/my/account.html.erb | 5 +++ app/views/projects/new.html.erb | 2 + app/views/users/index.html.erb | 5 +++ app/views/users/new.html.erb | 5 +++ app/views/users/show.html.erb | 4 +- app/views/welcome/contest.html.erb | 4 ++ app/views/welcome/course.html.erb | 4 ++ app/views/welcome/index.html.erb | 2 + .../stylesheets/application.css | 2 +- 29 files changed, 129 insertions(+), 29 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index e81355260..27505ad59 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -507,7 +507,7 @@ class UsersController < ApplicationController @user.password = @user.password_confirmation = nil respond_to do |format| - format.html { render :action => 'new' } + format.html { render :action => 'new',:layout => "base" } format.api { render_validation_errors(@user) } end end diff --git a/app/views/account/login.html.erb b/app/views/account/login.html.erb index dc1e47ed7..20b0c5c04 100644 --- a/app/views/account/login.html.erb +++ b/app/views/account/login.html.erb @@ -1,3 +1,8 @@ +<% @nav_dispaly_home_path_label = 1 + @nav_dispaly_main_course_label = 1 + @nav_dispaly_main_project_label = 1 + @nav_dispaly_main_contest_label = 1 %> +<% @nav_dispaly_forum_label = 1%> <%= call_hook :view_account_login_top %>