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.

18 lines
728 B

  1. <div class="narrow">
  2. <?= partial('partials/header') ?>
  3. <h2>Sign in to Teacup</h2>
  4. <p>Go to teacup.p3k.io on your phone or computer and sign in.</p>
  5. <p>Then go to the settings page to get a "device code", and enter that code here.</p>
  6. <form action="/alexa/login" method="post" class="form-inline">
  7. <div class="form-group">
  8. <input type="number" name="code" value="" class="form-control">
  9. </div>
  10. <input type="submit" value="Sign In" class="btn btn-primary">
  11. <input type="hidden" name="redirect_uri" value="<?= $this->redirect_uri ?>">
  12. <input type="hidden" name="client_id" value="<?= $this->client_id ?>">
  13. <input type="hidden" name="state" value="<?= $this->state ?>">
  14. </form>
  15. </div>