mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Put sign and encrypt options in composer dropdown menu and simplify the two existing buttons with a glyph
This commit is contained in:
parent
a58276ff45
commit
ff68fa15d1
1 changed files with 18 additions and 6 deletions
|
|
@ -54,6 +54,18 @@
|
||||||
<span data-i18n="COMPOSE/BUTTON_MARK_AS_IMPORTANT"></span>
|
<span data-i18n="COMPOSE/BUTTON_MARK_AS_IMPORTANT"></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li data-bind="click: togglePgpSign, visible: canPgpSign">
|
||||||
|
<a>
|
||||||
|
<i class="fontastic" data-bind="text: pgpSign() ? '☑' : '☐'"></i>
|
||||||
|
<span data-icon="✍" data-i18n="OPENPGP/LABEL_SIGN"></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li data-bind="click: togglePgpEncrypt, visible: canPgpEncrypt">
|
||||||
|
<a>
|
||||||
|
<i class="fontastic" data-bind="text: pgpEncrypt() || 'mailvelope' == viewArea() ? '☑' : '☐'"></i>
|
||||||
|
<span data-icon="🔒" data-i18n="OPENPGP/LABEL_ENCRYPT"></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</menu>
|
</menu>
|
||||||
</div>
|
</div>
|
||||||
<a class="minimize-custom" data-bind="click: skipCommand" data-i18n="[title]COMPOSE/BUTTON_MINIMIZE"></a>
|
<a class="minimize-custom" data-bind="click: skipCommand" data-i18n="[title]COMPOSE/BUTTON_MINIMIZE"></a>
|
||||||
|
|
@ -136,14 +148,14 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a class="btn" data-bind="click: togglePgpSign, visible: canPgpSign, css: {'btn-success': pgpSign()}">
|
<a class="btn fontastic" data-bind="click: togglePgpSign, visible: canPgpSign, css: {'btn-success': pgpSign()}" data-i18n="[title]OPENPGP/LABEL_SIGN">
|
||||||
<i class="fontastic" data-bind="text: pgpSign() ? '☑' : '☐'"></i>
|
✍
|
||||||
<span data-i18n="OPENPGP/LABEL_SIGN"></span>
|
|
||||||
</a>
|
</a>
|
||||||
<a class="btn" data-bind="click: togglePgpEncrypt, visible: canPgpEncrypt, css: {'btn-success': pgpEncrypt() || 'mailvelope' == viewArea()}">
|
<a class="btn fontastic" data-bind="click: togglePgpEncrypt, visible: canPgpEncrypt, css: {'btn-success': pgpEncrypt() || 'mailvelope' == viewArea()}" data-i18n="[title]OPENPGP/LABEL_ENCRYPT">
|
||||||
<i class="fontastic" data-bind="text: pgpEncrypt() || 'mailvelope' == viewArea() ? '☑' : '☐'"></i>
|
🔒
|
||||||
<span data-i18n="OPENPGP/LABEL_ENCRYPT"></span>
|
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="btn-group">
|
||||||
<a class="btn fontastic" style="padding-left: 10px; padding-right: 10px;" id="composeUploadButton"
|
<a class="btn fontastic" style="padding-left: 10px; padding-right: 10px;" id="composeUploadButton"
|
||||||
data-bind="visible: addAttachmentEnabled()" data-i18n="[title]COMPOSE/ATTACH_FILES">
|
data-bind="visible: addAttachmentEnabled()" data-i18n="[title]COMPOSE/ATTACH_FILES">
|
||||||
⁺📎
|
⁺📎
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue