code.gitea.io/gitea@v1.22.3/templates/user/auth/twofa_scratch.tmpl (about)

     1  {{template "base/head" .}}
     2  <div role="main" aria-label="{{.Title}}" class="page-content user signin">
     3  	<div class="ui middle very relaxed page grid">
     4  		<div class="column">
     5  			<form class="ui form tw-max-w-2xl tw-m-auto" action="{{.Link}}" method="post">
     6  				{{.CsrfTokenHtml}}
     7  				<h3 class="ui top attached header">
     8  					{{ctx.Locale.Tr "twofa_scratch"}}
     9  				</h3>
    10  				<div class="ui attached segment">
    11  					{{template "base/alert" .}}
    12  					<div class="required field">
    13  						<label for="token">{{ctx.Locale.Tr "auth.scratch_code"}}</label>
    14  						<input id="token" name="token" type="text" autocomplete="off" autofocus required>
    15  					</div>
    16  
    17  					<div class="inline field">
    18  						<button class="ui primary button">{{ctx.Locale.Tr "auth.verify"}}</button>
    19  					</div>
    20  				</div>
    21  			</form>
    22  		</div>
    23  	</div>
    24  </div>
    25  {{template "base/footer" .}}