Merge pull request #4463 from danxuliu/fix-working-icon-placement-on-password-save

Fix working icon placement on password save
pull/4468/head
Roeland Jago Douma 2017-04-24 14:34:56 +07:00 committed by GitHub
commit c5617f4e8a
2 changed files with 5 additions and 4 deletions

@ -14,7 +14,8 @@
}
.shareTabView .shareWithRemoteInfo,
.shareTabView .clipboardButton {
.shareTabView .clipboardButton,
.shareTabView .linkPass .icon-loading-small {
position: absolute;
right: -7px;
top: -4px;
@ -152,7 +153,7 @@
}
.shareTabView .linkPass .icon-loading-small {
margin-top: 9px;
margin-right: 0px;
}
.shareTabView .icon {

@ -60,14 +60,14 @@
'<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}}">' +
'<div id="linkPass" class="oneline linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' +
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' +
' {{#if showPasswordCheckBox}}' +
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' +
' {{else}}' +
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholderInitial}}" />' +
' {{/if}}' +
' <span class="icon-loading-small hidden"></span>' +
' <span class="icon icon-loading-small hidden"></span>' +
'</div>' +
'{{else}}' +
// FIXME: this doesn't belong in this view