github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/account_own_edit_mfa_setup.html (about)

     1  {{template "header.html" . }}
     2  <div id="account_edit_mfa_setup" class="colstack account">
     3  	{{template "account_menu.html" . }}
     4  	<main class="colstack_right">
     5  		<div class="colstack_item colstack_head rowhead">
     6  			<div class="rowitem"><h1>{{lang "account_mfa_setup_head"}}</h1></div>
     7  		</div>
     8  		<div class="colstack_item the_form">
     9  			<form action="/user/edit/mfa/setup/submit/?s={{.CurrentUser.Session}}" method="post">
    10  				<input name="code"value="{{.Something}}"type="hidden">
    11  				<div class="formrow real_first_child">
    12  					<div class="formitem formlabel"><a>{{lang "account_mfa_setup_explanation"}}</a></div>
    13  					<div class="formitem formlabel">{{.Something}}</div>
    14  				</div>
    15  				<div class="formrow">
    16  					<div class="formitem formlabel"><a>{{lang "account_mfa_setup_verify"}}</a></div>
    17  					<div class="formitem"><input name="otp" type="text" autocomplete="off" required></div> {{/** TODO: Make this a password? **/}}
    18  				</div>
    19  				<div class="formrow">
    20  					<div class="formitem"><button name="account-button" class="formbutton form_middle_button">{{lang "account_mfa_setup_button"}}</button></div>
    21  				</div>
    22  			</form>
    23  		</div>
    24  	</main>
    25  </div>
    26  {{template "footer.html" . }}