login-oauth2-device-verify-user-code.ftl 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <#import "template.ftl" as layout>
  2. <@layout.registrationLayout; section>
  3. <#if section = "header">
  4. ${msg("oauth2DeviceVerificationTitle")}
  5. <#elseif section = "form">
  6. <form id="kc-user-verify-device-user-code-form" class="${properties.kcFormClass!}" action="${url.oauth2DeviceVerificationAction}" method="post">
  7. <div class="${properties.kcFormGroupClass!}">
  8. <div class="${properties.kcLabelWrapperClass!}">
  9. <label for="device-user-code" class="${properties.kcLabelClass!}">${msg("verifyOAuth2DeviceUserCode")}</label>
  10. </div>
  11. <div class="${properties.kcInputWrapperClass!}">
  12. <input id="device-user-code" name="device_user_code" autocomplete="off" type="text" class="${properties.kcInputClass!}" autofocus />
  13. </div>
  14. </div>
  15. <div class="${properties.kcFormGroupClass!}">
  16. <div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
  17. <div class="${properties.kcFormOptionsWrapperClass!}">
  18. </div>
  19. </div>
  20. <div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
  21. <div class="${properties.kcFormButtonsWrapperClass!}">
  22. <input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" type="submit" value="${msg("doSubmit")}"/>
  23. </div>
  24. </div>
  25. </div>
  26. </form>
  27. </#if>
  28. </@layout.registrationLayout>