diff options
Diffstat (limited to 'apps/twofactor_backupcodes/templates')
-rw-r--r-- | apps/twofactor_backupcodes/templates/challenge.php | 8 | ||||
-rw-r--r-- | apps/twofactor_backupcodes/templates/personal.php | 12 |
2 files changed, 20 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/templates/challenge.php b/apps/twofactor_backupcodes/templates/challenge.php new file mode 100644 index 00000000000..e6ec7bb52e6 --- /dev/null +++ b/apps/twofactor_backupcodes/templates/challenge.php @@ -0,0 +1,8 @@ +<?php +style('twofactor_backupcodes', 'style'); +?> + +<form method="POST" class="challenge-form"> + <input type="text" class="challenge" name="challenge" required="required" autofocus autocomplete="off" autocapitalize="off" placeholder="<?php p($l->t('Backup code')) ?>"> + <input type="submit" class="confirm-inline icon-confirm" value=""> +</form> diff --git a/apps/twofactor_backupcodes/templates/personal.php b/apps/twofactor_backupcodes/templates/personal.php new file mode 100644 index 00000000000..23b06e23058 --- /dev/null +++ b/apps/twofactor_backupcodes/templates/personal.php @@ -0,0 +1,12 @@ +<?php + +script('twofactor_backupcodes', 'settingsview'); +script('twofactor_backupcodes', 'settings'); +style('twofactor_backupcodes', 'style'); + +?> + +<div class="section"> + <h2><?php p($l->t('Second-factor backup codes')); ?></h2> + <div id="twofactor-backupcodes-settings"></div> +</div> |