mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
934 B
24 lines
934 B
|
6 years ago
|
{{ template "header.html" . }}
|
||
|
|
|
||
|
|
<div class="theme-panel">
|
||
|
|
<h2 class="theme-heading">Enter User Code</h2>
|
||
|
|
<form method="post" action="{{ .PostURL }}" method="get">
|
||
|
|
<div class="theme-form-row">
|
||
|
|
{{ if( .UserCode )}}
|
||
|
|
<input tabindex="2" required id="user_code" name="user_code" type="text" class="theme-form-input" autocomplete="off" value="{{.UserCode}}" {{ if .Invalid }} autofocus {{ end }}/>
|
||
|
|
{{ else }}
|
||
|
|
<input tabindex="2" required id="user_code" name="user_code" type="text" class="theme-form-input" placeholder="XXXX-XXXX" autocomplete="off" {{ if .Invalid }} autofocus {{ end }}/>
|
||
|
|
{{ end }}
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{{ if .Invalid }}
|
||
|
|
<div id="login-error" class="dex-error-box">
|
||
|
|
Invalid or Expired User Code
|
||
|
|
</div>
|
||
|
|
{{ end }}
|
||
|
|
<button tabindex="3" id="submit-login" type="submit" class="dex-btn theme-btn--primary">Submit</button>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{{ template "footer.html" . }}
|