mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add "move to folder" description
This commit is contained in:
parent
4e87568408
commit
a45e9ba9c8
6 changed files with 45 additions and 6 deletions
|
|
@ -78,8 +78,7 @@
|
||||||
color: #999;
|
color: #999;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 55px;
|
line-height: 55px;
|
||||||
|
text-shadow: 0 1px 0 #fff;
|
||||||
text-shadow: 0 1px 0 #FFF;
|
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,36 @@ html.rl-mobile {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
left: 500px;
|
left: 500px;
|
||||||
|
|
||||||
|
.b-message-view-backdrop {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background: rgba(0, 0, 0, .4);
|
||||||
|
z-index: 10;
|
||||||
|
|
||||||
|
.backdrop-message-wrp {
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
top: calc(~'50% - 50px');
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.backdrop-message {
|
||||||
|
display: inline-block;
|
||||||
|
color: white;
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 30px;
|
||||||
|
background: rgba(0, 0, 0, .6);
|
||||||
|
padding: 15px;
|
||||||
|
border-radius: 5px;
|
||||||
|
text-shadow: 0px 1px 1px #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html.ssm-state-desktop-large {
|
html.ssm-state-desktop-large {
|
||||||
|
|
@ -317,8 +347,6 @@ html.rl-bottom-preview-pane {
|
||||||
top: 356px;
|
top: 356px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
|
|
||||||
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ html.rl-no-preview-pane {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 70px;
|
font-size: 70px;
|
||||||
line-height: 70px;
|
line-height: 70px;
|
||||||
padding-top: 140px;
|
padding-top: 100px;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
|
||||||
.icon-mail {
|
.icon-mail {
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@ import {
|
||||||
$html,
|
$html,
|
||||||
leftPanelDisabled,
|
leftPanelDisabled,
|
||||||
keyScopeReal,
|
keyScopeReal,
|
||||||
useKeyboardShortcuts
|
useKeyboardShortcuts,
|
||||||
|
moveAction
|
||||||
} from 'Common/Globals';
|
} from 'Common/Globals';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
@ -90,6 +91,8 @@ class MessageViewMailBoxUserView extends AbstractViewNext
|
||||||
|
|
||||||
this.pswp = null;
|
this.pswp = null;
|
||||||
|
|
||||||
|
this.moveAction = moveAction;
|
||||||
|
|
||||||
this.allowComposer = !!Settings.capa(Capa.Composer);
|
this.allowComposer = !!Settings.capa(Capa.Composer);
|
||||||
this.allowMessageActions = !!Settings.capa(Capa.MessageActions);
|
this.allowMessageActions = !!Settings.capa(Capa.MessageActions);
|
||||||
this.allowMessageListActions = !!Settings.capa(Capa.MessageListActions);
|
this.allowMessageListActions = !!Settings.capa(Capa.MessageListActions);
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,7 @@ en:
|
||||||
PRINT_LABEL_ATTACHMENTS: "Attachments"
|
PRINT_LABEL_ATTACHMENTS: "Attachments"
|
||||||
MESSAGE_LOADING: "Loading"
|
MESSAGE_LOADING: "Loading"
|
||||||
MESSAGE_VIEW_DESC: "Select message in list to view it here."
|
MESSAGE_VIEW_DESC: "Select message in list to view it here."
|
||||||
|
MESSAGE_VIEW_MOVE_DESC: "Choose folder to move..."
|
||||||
PGP_PASSWORD_INPUT_PLACEHOLDER: "Password"
|
PGP_PASSWORD_INPUT_PLACEHOLDER: "Password"
|
||||||
PGP_SIGNED_MESSAGE_DESC: "OpenPGP signed message (click to verify)"
|
PGP_SIGNED_MESSAGE_DESC: "OpenPGP signed message (click to verify)"
|
||||||
PGP_ENCRYPTED_MESSAGE_DESC: "OpenPGP encrypted message (click to decrypt)"
|
PGP_ENCRYPTED_MESSAGE_DESC: "OpenPGP encrypted message (click to decrypt)"
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="b-content b-message-view-wrapper thm-message-view-background-color">
|
<div class="b-content b-message-view-wrapper thm-message-view-background-color">
|
||||||
<div style="height: 100%">
|
<div style="height: 100%">
|
||||||
|
<div class="b-message-view-backdrop" data-bind="visible: moveAction">
|
||||||
|
<div class="backdrop-message-wrp">
|
||||||
|
<div class="backdrop-message">
|
||||||
|
<i class="icon-folder" style="padding: 0 7px; font-size: 24px; width: 24px; line-height: 24px;"></i>
|
||||||
|
<span class="i18n" style="vertical-align: middle; padding: 0 7px" data-i18n="MESSAGE/MESSAGE_VIEW_MOVE_DESC"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="b-message-view-checked-helper" data-bind="visible: !message() && '' === messageError() && hasCheckedMessages()">
|
<div class="b-message-view-checked-helper" data-bind="visible: !message() && '' === messageError() && hasCheckedMessages()">
|
||||||
<span data-bind="text: printableCheckedMessageCount()"></span>
|
<span data-bind="text: printableCheckedMessageCount()"></span>
|
||||||
<i class="icon-mail"></i>
|
<i class="icon-mail"></i>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue