diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-06-13 16:39:24 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-06-13 16:39:24 +0200 |
commit | b6e102d3da777528435e1355a012b8441f42f77a (patch) | |
tree | 3511e87fbe3fe55f88abf4fda133cc1eef189bbf /core/js | |
parent | 0cbfdf7d8b1a186daa0435b40abc29b3546f46c6 (diff) | |
download | nextcloud-server-b6e102d3da777528435e1355a012b8441f42f77a.tar.gz nextcloud-server-b6e102d3da777528435e1355a012b8441f42f77a.zip |
place password input directly below label
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index f3500cee0a3..369d9675ddf 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -42,17 +42,17 @@ '<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox" {{#if isPasswordSet}}checked="checked"{{/if}} value="1" />' + '<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' + ' {{/if}}' + + '<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' + + ' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' + + ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' + + ' <span class="icon-loading-small hidden"></span>' + + '</div>' + ' {{#if mailPublicNotificationEnabled}}' + '<form id="emailPrivateLink" class="emailPrivateLinkForm">' + ' <input id="email" class="emailField" value="{{email}}" placeholder="{{mailPrivatePlaceholder}}" type="text" />' + ' <input id="emailButton" class="emailButton" type="submit" value="{{mailButtonText}}" />' + '</form>' + ' {{/if}}' + - '<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' + - ' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' + - ' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' + - ' <span class="icon-loading-small hidden"></span>' + - '</div>' + '{{else}}' + // FIXME: this doesn't belong in this view '{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}}' + |