You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
847 B
22 lines
847 B
extends @/layout/layout
|
|
|
|
block var
|
|
-title="注册" // 网页标题
|
|
-hideHeader=true
|
|
|
|
block head
|
|
+css("style/views/login.css")
|
|
|
|
block content
|
|
.login
|
|
h1.title.is-1 注册
|
|
form(name="form" action='/register' method='post' onsubmit="return validateForm()")
|
|
input(type='text', name='username', placeholder='用户名', required)
|
|
input(type='password', name='password', placeholder='密码', required)
|
|
input(type='password', name='confrim_pwd', placeholder='确认密码', required)
|
|
+security
|
|
button.btn.btn-primary.btn-block.btn-large(type='submit') 现在注册!
|
|
a(href="/login" style="margin-top: 8px;color: white;font-size: 14px;display: inline-block;float: right") 已有账户,前往登陆
|
|
|
|
block script
|
|
+script("js/page/register.js")
|
|
|