diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
commit | bba707de36d9bfbdb3001e3e89fac0c072aa14e9 (patch) | |
tree | 2b3ee7fc662baea04cecdf14b8a2758c108f83cc /templates/user/auth/signin.tmpl | |
parent | 78add502d71dca43bb59ab9ad91745c64d0bf74d (diff) | |
download | gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.tar.gz gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.zip |
Finish team list, create new team, join/leave team page
Diffstat (limited to 'templates/user/auth/signin.tmpl')
-rw-r--r-- | templates/user/auth/signin.tmpl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/user/auth/signin.tmpl b/templates/user/auth/signin.tmpl new file mode 100644 index 0000000000..c2f6ef877a --- /dev/null +++ b/templates/user/auth/signin.tmpl @@ -0,0 +1,44 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +<div id="sign-wrapper"> + <form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="/user/login" method="post"> + <div class="panel-header"> + <h2>{{if .IsSocialLogin}}{{.i18n.Tr "social_sign_in" | Str2html}}{{else}}{{.i18n.Tr "sign_in"}}{{end}}</h2> + </div> + <div class="panel-content"> + {{template "ng/base/alert" .}} + <div class="field"> + <label class="req" for="username">{{.i18n.Tr "home.uname_holder"}}</label> + <input class="ipt ipt-large ipt-radius {{if .Err_UserName}}ipt-error{{end}}" id="username" name="uname" type="text" value="{{.uname}}" required/> + </div> + <div class="field"> + <label class="req" for="password">{{.i18n.Tr "password"}}</label> + <input class="ipt ipt-large ipt-radius {{if .Err_Password}}ipt-error{{end}}" id="password" name="password" type="password" required/> + </div> + {{if not .IsSocialLogin}} + <div class="field"> + <span class="form-label"></span> + <input class="ipt-chk" id="remember" name="remember" type="checkbox"/> <strong>{{.i18n.Tr "auth.remember_me"}}</strong> + </div> + {{end}} + <div class="field"> + <span class="form-label"></span> + <button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "sign_in"}}</button> + {{if not .IsSocialLogin}}<a href="/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}} + </div> + {{if not .IsSocialLogin}} + <div class="field"> + <label></label> + <a href="/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a> + </div> + {{if .OauthEnabled}} + <hr/> + <div id="sign-social" class="text-center social-buttons"> + {{template "ng/base/social" .}} + </div> + {{end}} + {{end}} + </div> + </form> +</div> +{{template "ng/base/footer" .}}
\ No newline at end of file |