From e2869faa0856d332e61d0b089cfd4825b52d428c Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Wed, 26 Aug 2015 15:17:56 +0800
Subject: [PATCH 01/14] =?UTF-8?q?=E6=97=A5=E5=8E=86=E9=80=89=E6=8B=A9?=
=?UTF-8?q?=E5=99=A8=E7=9A=84=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/users/_user_homework_form.html.erb | 6 ++++--
public/stylesheets/new_user.css | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb
index 3a4c3496c..ad6f0fa2f 100644
--- a/app/views/users/_user_homework_form.html.erb
+++ b/app/views/users/_user_homework_form.html.erb
@@ -7,8 +7,10 @@
导入作业
-
- <%= calendar_for('homework_end_time')%>
+
+
+ <%= calendar_for('homework_end_time')%>
+
diff --git a/public/stylesheets/new_user.css b/public/stylesheets/new_user.css
index df47c9e77..d2ee3d7f9 100644
--- a/public/stylesheets/new_user.css
+++ b/public/stylesheets/new_user.css
@@ -852,8 +852,10 @@ img.ui-datepicker-trigger {
width:16px;
height:15px;
float:left;
+ margin: 7px;
}
-
+.calendar_input{border-left:none !important;border-bottom: none!important; border-top: none!important; border-right: 1px solid #d9d9d9;}
+.calendar_div{border: 1px solid #d9d9d9;}
From 65b5b467d440bd99793a9c6726c8575c41e6a8b2 Mon Sep 17 00:00:00 2001
From: lizanle <491823689@qq.com>
Date: Wed, 26 Aug 2015 16:50:26 +0800
Subject: [PATCH 02/14] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=8D=8F=E8=AE=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/controllers/account_controller.rb | 3 +-
app/views/account/lost_password.html.erb | 50 +++++++++++++++++-------
2 files changed, 37 insertions(+), 16 deletions(-)
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb
index bc5c15873..60f12fb38 100644
--- a/app/controllers/account_controller.rb
+++ b/app/controllers/account_controller.rb
@@ -36,8 +36,9 @@ class AccountController < ApplicationController
end
end
+ # 服务协议
def agreement
- render :layout => 'users_base'
+ render :layout => 'static_base'
end
# Log out current user and redirect to welcome page
diff --git a/app/views/account/lost_password.html.erb b/app/views/account/lost_password.html.erb
index 3c6c57f52..46d3b2d7b 100644
--- a/app/views/account/lost_password.html.erb
+++ b/app/views/account/lost_password.html.erb
@@ -1,16 +1,36 @@
-<% @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%>
-
<%=l(:label_password_forget)%>
+<%= stylesheet_link_tag 'new_user'%>
-<%= form_tag(lost_password_path) do %>
-
-
-
- <%= text_field_tag 'mail', nil, :size => 40, :placeholder => '请输入注册邮箱'%>
- <%= submit_tag l(:button_submit) %>
-
-
-<% end %>
+
+
+