loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at forgejo 70 lines 2.3 kB view raw
1<div class="ui container fluid"> 2 {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} 3 {{template "base/alert" .}} 4 {{end}} 5 <h4 class="ui top attached header center"> 6 {{if .LinkAccountMode}} 7 {{ctx.Locale.Tr "auth.oauth_signin_title"}} 8 {{else}} 9 {{ctx.Locale.Tr "auth.login_userpass"}} 10 {{end}} 11 </h4> 12 <div class="ui attached segment"> 13 {{if .EnableInternalSignIn}} 14 <form class="ui form" action="{{.SignInLink}}" method="post"> 15 {{.CsrfTokenHtml}} 16 <div class="required field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}"> 17 <label for="user_name">{{ctx.Locale.Tr "home.uname_holder"}}</label> 18 <input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> 19 </div> 20 {{if or (not .DisablePassword) .LinkAccountMode}} 21 <div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}"> 22 <label for="password">{{ctx.Locale.Tr "password"}}</label> 23 <input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required> 24 </div> 25 {{end}} 26 {{if not .LinkAccountMode}} 27 <div class="inline field"> 28 <div class="ui checkbox"> 29 <label>{{ctx.Locale.Tr "auth.remember_me"}}</label> 30 <input name="remember" type="checkbox"> 31 </div> 32 </div> 33 {{end}} 34 35 {{template "user/auth/captcha" .}} 36 37 <div class="field"> 38 <button class="ui primary button tw-w-full"> 39 {{if .LinkAccountMode}} 40 {{ctx.Locale.Tr "auth.oauth_signin_submit"}} 41 {{else}} 42 {{ctx.Locale.Tr "sign_in"}} 43 {{end}} 44 </button> 45 </div> 46 </form> 47 {{end}} 48 49 {{template "user/auth/oauth_container" .}} 50 </div> 51</div> 52 53{{if not .DisablePassword}} 54<div class="ui container fluid"> 55 {{template "user/auth/webauthn_error" .}} 56 57 <div class="ui attached segment header top tw-max-w-2xl tw-m-auto tw-flex tw-flex-col tw-items-center"> 58 {{if .ShowRegistrationButton}} 59 <div class="field"> 60 {{ctx.Locale.Tr "auth.hint_register" (printf "%s/user/sign_up" AppSubUrl)}} 61 <br> 62 </div> 63 {{end}} 64 <div class="field"> 65 <a href="{{AppSubUrl}}/user/forgot_password">{{ctx.Locale.Tr "auth.forgot_password"}}</a> 66 </div> 67 </div> 68</div> 69{{end}} 70