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

     1  {{template "header.html" . }}
     2  <div id="account_edit_mfa" 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_head"}}</h1></div>
     7  		</div>
     8  		<div class="colstack_item the_form">
     9  			<form action="/user/edit/mfa/disable/submit/?s={{.CurrentUser.Session}}" method="post">
    10  				<div class="formrow real_first_child">
    11  					<div class="formitem formlabel"><a>{{lang "account_mfa_disable_explanation"}}</a></div>
    12  					<div class="formitem"><button class="formbutton">{{lang "account_mfa_disable_button"}}</button></div>
    13  				</div>
    14  			</form>
    15  		</div>
    16  		<div class="colstack_item colstack_head rowhead">
    17  			<div class="rowitem"><h1>{{lang "account_mfa_scratch_head"}}</h1></div>
    18  		</div>
    19  		<div class="colstack_item">{{/** TODO: Don't inline this, figure a way of implementing it properly in the template system **/}}
    20  			<div class="rowitem rowmsg" style="white-space:pre-wrap;">{{lang "account_mfa_scratch_explanation"}}</div>
    21  		</div>
    22  		<div id="panel_mfa_scratches" class="colstack_item rowlist">
    23  			{{range .Something}}<div class="rowitem">{{.}}</div>{{end}}
    24  		</div>
    25  	</main>
    26  </div>
    27  {{template "footer.html" . }}