|
|
|
@ -4,33 +4,21 @@
|
|
|
|
|
<div class="homepageContent BgBox">
|
|
|
|
|
<h2 class="BgBox_h2">忘记密码</h2>
|
|
|
|
|
<div class="BgBoxCon">
|
|
|
|
|
<%= form_tag(lost_password_path) do %>
|
|
|
|
|
<p class="BgBoxConP mb5">通过注册邮箱链接重设密码</p>
|
|
|
|
|
<input type="text" class="NomalInput mb20 " value="请输入登录邮箱地址" />
|
|
|
|
|
<div class="LoginButton"><a href="javascript:void(0);" class="c_white db">提交</a></div>
|
|
|
|
|
|
|
|
|
|
<!--<input type="text" class="NomalInput mb20 " value="请输入登录邮箱地址" />-->
|
|
|
|
|
<%= text_field_tag 'mail', nil, :size => 40, :placeholder => '请输入注册邮箱',:class=>'NomalInput mb20'%>
|
|
|
|
|
<% if flash[:error] %>
|
|
|
|
|
<div style="color: red" class="mb5" ><%= flash[:error]%></div>
|
|
|
|
|
<% elsif flash[:notice] %>
|
|
|
|
|
<div style="color: green" class="mb5" ><%= flash[:notice]%></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="LoginButton"><a href="javascript:void(0);" class="c_white db" onclick="$(this).parent().parent().submit();">提交</a></div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><!---BgBox end--->
|
|
|
|
|
</div><!---homepageContentContainer end--->
|
|
|
|
|
<script>
|
|
|
|
|
$(".resourcesList").mousedown(function(e) {
|
|
|
|
|
if (3 == e.which) {
|
|
|
|
|
document.oncontextmenu = function() {return false;}
|
|
|
|
|
$("#contextMenu").hide();
|
|
|
|
|
$("#contextMenu").attr("style","display: block; position: fixed; top:"
|
|
|
|
|
+ e.pageY
|
|
|
|
|
+ "px; left:"
|
|
|
|
|
+ e.pageX
|
|
|
|
|
+ "px; width: 80px;");
|
|
|
|
|
$("#contextMenu").show();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
$(".resourcesList").click(function(e) {
|
|
|
|
|
$("#contextMenu").hide();
|
|
|
|
|
document.oncontextmenu = function() {return true;}
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|