Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing password input for visitors is wrongly styled #5560

Closed
nickvergessen opened this issue Jun 29, 2017 · 1 comment · Fixed by #5562
Closed

Sharing password input for visitors is wrongly styled #5560

nickvergessen opened this issue Jun 29, 2017 · 1 comment · Fixed by #5562
Labels
Milestone

Comments

@nickvergessen
Copy link
Member

2FA style

nextcloud_-_2017-06-29_13 07 13

  1. Has background box ✅
  2. Has white font ✅

Sharing password

nextcloud_-_2017-06-29_13 07 27

  1. Missing the box ❌
  2. Black font not readable on the background ❌

@jancborchardt can you have a look? The template is at

<form method="post">
<fieldset>
<?php if (!isset($_['wrongpw'])): ?>
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
<?php endif; ?>
<?php if (isset($_['wrongpw'])): ?>
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
<?php endif; ?>
<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>

@nickvergessen nickvergessen added this to the Nextcloud 13 milestone Jun 29, 2017
jancborchardt added a commit that referenced this issue Jun 29, 2017
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt
Copy link
Member

Good catch, pull request at #5562 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants