decred.org/dcrdex@v1.0.3/client/webserver/site/src/html/register.tmpl (about) 1 {{define "register"}} 2 {{template "top" .}} 3 <div id="main" data-handler="register" class="main align-items-center justify-content-center flex-column stylish-overflow"> 4 <div class="position-absolute" id="forms"> 5 6 {{- /* LOGIN FORM */ -}} 7 <form class="d-hide{{if and (not .UserInfo.Authed) .Initialized }} selected{{end}}" id="loginForm"> 8 {{template "loginForm"}} 9 </form> 10 11 {{- /* RESET APP PASSWORD */ -}} 12 <form class="mx-auto my-5 d-hide" id="resetAppPWForm"> 13 {{template "appPassResetForm"}} 14 </form> 15 16 {{- /* Form to set up a wallet. Shown on demand when a user clicks a setupWallet button. */ -}} 17 <form class="d-hide" id="newWalletForm"> 18 {{template "newWalletForm"}} 19 </form> 20 21 {{- /* DEX ADDRESS FORM */ -}} 22 <form class="d-hide{{if and .Initialized .UserInfo.Authed (not .Host)}} selected{{end}}" id="dexAddrForm"> 23 {{template "dexAddrForm" .}} 24 </form> 25 26 {{- /* DISCOVER ACCOUNT FORM */ -}} 27 <form class="d-hide{{if and .Initialized .UserInfo.Authed .Host}} selected{{end}}" id="discoverAcctForm" data-host="{{.Host}}"> 28 {{template "discoverAcctForm" .}} 29 </form> 30 31 {{- /* REG ASSET SELECTOR */ -}} 32 <form class="d-hide" id="regAssetForm"> 33 {{template "regAssetForm"}} 34 </form> 35 36 {{- /* CONFIRM FEE PAYMENT */ -}} 37 <form class="d-hide mw-425" id="confirmRegForm"> 38 {{template "confirmRegistrationForm"}} 39 </form> 40 41 {{- /* SYNC AND BALANCE FORM */ -}} 42 <form class="d-hide" id="walletWait"> 43 {{template "waitingForWalletForm"}} 44 </form> 45 </div> 46 </div> 47 {{template "bottom"}} 48 {{end}}