Fix text area without readonly to copy from iOS

This commit is contained in:
Gustavo Maximiliano Cortez 2014-10-16 15:56:52 -03:00
commit 6c0ff1aafc
5 changed files with 4 additions and 35 deletions

View file

@ -123,14 +123,11 @@
<div class="show-for-large-up">
<textarea readonly rows="5">{{backupPlainText}}</textarea>
<span translate class="size-12">Copy to clipboard</span> <span class="btn-copy" clip-copy="backupPlainText"> </span>
<div translate class="m10v size-12 text-gray text-right">Copy this text as it is in a safe place (notepad or email)</div>
</div>
<div class="hide-for-large-up m10b">
<div class="ellipsis backup-plain-text">{{backupPlainText}}</div>
<button class="button secondary m0"
ng-click="sendEmail(backupPlainText)" translate>Send by Email</button>
<div translate class="m10v size-12">Warning: Chrome for iOS remove some symbols from backup, please use only Safari on iOS</div>
<textarea rows="10">{{backupPlainText}}</textarea>
</div>
<div translate class="m10v size-12 text-gray text-right">Copy this text as it is in a safe place (notepad or email)</div>
</div>
<button class="button primary right m0"
ng-show="hideViewBackup"