Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-05 17:07:45 +0300
committerJoas Schilling <coding@schilljs.com>2017-10-11 15:39:53 +0300
commit86ec1dd446f8907e08c6c1d1380685b7b901a7fd (patch)
treee13616a98eec26653032c4dacc9294c5ec7a09c4 /templates
parentd3926b1b91a28356132e3ec1de04703f49bf17de (diff)
Don't use popup to ask for the password but the "blue screen"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/authenticate.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/authenticate.php b/templates/authenticate.php
new file mode 100644
index 000000000..334b3f5b7
--- /dev/null
+++ b/templates/authenticate.php
@@ -0,0 +1,25 @@
+<?php
+ /** @var $_ array */
+ /** @var $l \OCP\IL10N */
+ style('spreed', 'authenticate');
+ script('spreed', 'authenticate');
+?>
+<form method="post">
+ <fieldset class="warning">
+ <?php if (!isset($_['wrongpw'])){ ?>
+ <div class="warning-info"><?php p($l->t('This call is password-protected')); ?></div>
+ <?php } else { ?>
+ <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
+ <?php } ?>
+ <p>
+ <label for="password" class="infield"><?php p($l->t('Password')); ?></label>
+ <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
+ <input type="password" name="password" id="password"
+ placeholder="<?php p($l->t('Password')); ?>" value=""
+ autocomplete="off" autocapitalize="off" autocorrect="off"
+ autofocus />
+ <input type="submit" id="password-submit"
+ class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
+ </p>
+ </fieldset>
+</form>