From fafac3b4128a0993b0de1c6e8ca3062bf1ccc14e Mon Sep 17 00:00:00 2001 From: Roald de Vries Date: Thu, 8 Dec 2016 16:59:09 +0100 Subject: Revert "[#801] Merge branch 'signup'" This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5. --- web-ui/app/templates/compose/attachment_item.hbs | 4 ++ .../templates/compose/attachment_upload_item.hbs | 5 ++ web-ui/app/templates/compose/attachments_list.hbs | 14 ++++ web-ui/app/templates/compose/compose_box.hbs | 32 +++++++++ web-ui/app/templates/compose/feedback_box.hbs | 18 +++++ web-ui/app/templates/compose/fixed_recipient.hbs | 8 +++ web-ui/app/templates/compose/inline_box.hbs | 20 ++++++ .../app/templates/compose/no_mails_available.hbs | 7 ++ .../app/templates/compose/no_message_selected.hbs | 3 + web-ui/app/templates/compose/recipient_input.hbs | 1 + web-ui/app/templates/compose/recipients.hbs | 33 +++++++++ web-ui/app/templates/compose/reply_section.hbs | 6 ++ .../templates/compose/upload_attachment_failed.hbs | 6 ++ web-ui/app/templates/feedback/feedback_trigger.hbs | 8 +++ web-ui/app/templates/mail_actions/actions_box.hbs | 7 ++ .../app/templates/mail_actions/compose_trigger.hbs | 3 + .../templates/mail_actions/pagination_trigger.hbs | 3 + .../app/templates/mail_actions/refresh_trigger.hbs | 3 + .../templates/mail_actions/trash_actions_box.hbs | 5 ++ web-ui/app/templates/mails/draft.hbs | 41 +++++++++++ web-ui/app/templates/mails/full_view.hbs | 83 ++++++++++++++++++++++ web-ui/app/templates/mails/mail_actions.hbs | 6 ++ web-ui/app/templates/mails/sent.hbs | 36 ++++++++++ web-ui/app/templates/mails/single.hbs | 28 ++++++++ web-ui/app/templates/mails/trash.hbs | 32 +++++++++ web-ui/app/templates/page/logout.hbs | 9 +++ web-ui/app/templates/page/logout_shortcut.hbs | 6 ++ web-ui/app/templates/page/user_settings_box.hbs | 10 +++ web-ui/app/templates/page/user_settings_icon.hbs | 8 +++ web-ui/app/templates/page/version.hbs | 2 + web-ui/app/templates/search/search_trigger.hbs | 3 + web-ui/app/templates/tags/shortcut.hbs | 9 +++ web-ui/app/templates/tags/tag.hbs | 3 + web-ui/app/templates/tags/tag_inner.hbs | 4 ++ web-ui/app/templates/tags/tag_list.hbs | 6 ++ web-ui/app/templates/user_alerts/message.hbs | 1 + 36 files changed, 473 insertions(+) create mode 100644 web-ui/app/templates/compose/attachment_item.hbs create mode 100644 web-ui/app/templates/compose/attachment_upload_item.hbs create mode 100644 web-ui/app/templates/compose/attachments_list.hbs create mode 100644 web-ui/app/templates/compose/compose_box.hbs create mode 100644 web-ui/app/templates/compose/feedback_box.hbs create mode 100644 web-ui/app/templates/compose/fixed_recipient.hbs create mode 100644 web-ui/app/templates/compose/inline_box.hbs create mode 100644 web-ui/app/templates/compose/no_mails_available.hbs create mode 100644 web-ui/app/templates/compose/no_message_selected.hbs create mode 100644 web-ui/app/templates/compose/recipient_input.hbs create mode 100644 web-ui/app/templates/compose/recipients.hbs create mode 100644 web-ui/app/templates/compose/reply_section.hbs create mode 100644 web-ui/app/templates/compose/upload_attachment_failed.hbs create mode 100644 web-ui/app/templates/feedback/feedback_trigger.hbs create mode 100644 web-ui/app/templates/mail_actions/actions_box.hbs create mode 100644 web-ui/app/templates/mail_actions/compose_trigger.hbs create mode 100644 web-ui/app/templates/mail_actions/pagination_trigger.hbs create mode 100644 web-ui/app/templates/mail_actions/refresh_trigger.hbs create mode 100644 web-ui/app/templates/mail_actions/trash_actions_box.hbs create mode 100644 web-ui/app/templates/mails/draft.hbs create mode 100644 web-ui/app/templates/mails/full_view.hbs create mode 100644 web-ui/app/templates/mails/mail_actions.hbs create mode 100644 web-ui/app/templates/mails/sent.hbs create mode 100644 web-ui/app/templates/mails/single.hbs create mode 100644 web-ui/app/templates/mails/trash.hbs create mode 100644 web-ui/app/templates/page/logout.hbs create mode 100644 web-ui/app/templates/page/logout_shortcut.hbs create mode 100644 web-ui/app/templates/page/user_settings_box.hbs create mode 100644 web-ui/app/templates/page/user_settings_icon.hbs create mode 100644 web-ui/app/templates/page/version.hbs create mode 100644 web-ui/app/templates/search/search_trigger.hbs create mode 100644 web-ui/app/templates/tags/shortcut.hbs create mode 100644 web-ui/app/templates/tags/tag.hbs create mode 100644 web-ui/app/templates/tags/tag_inner.hbs create mode 100644 web-ui/app/templates/tags/tag_list.hbs create mode 100644 web-ui/app/templates/user_alerts/message.hbs (limited to 'web-ui/app/templates') diff --git a/web-ui/app/templates/compose/attachment_item.hbs b/web-ui/app/templates/compose/attachment_item.hbs new file mode 100644 index 00000000..7a64f6f5 --- /dev/null +++ b/web-ui/app/templates/compose/attachment_item.hbs @@ -0,0 +1,4 @@ +
  • + {{ this.name }} ({{ formatSize this.size}}) + {{#if removable}}{{/if}} +
  • diff --git a/web-ui/app/templates/compose/attachment_upload_item.hbs b/web-ui/app/templates/compose/attachment_upload_item.hbs new file mode 100644 index 00000000..eb6c4ba6 --- /dev/null +++ b/web-ui/app/templates/compose/attachment_upload_item.hbs @@ -0,0 +1,5 @@ +
  • +
    + {{ this.name }} ({{ formatSize this.size}}) + +
  • diff --git a/web-ui/app/templates/compose/attachments_list.hbs b/web-ui/app/templates/compose/attachments_list.hbs new file mode 100644 index 00000000..6f34df9e --- /dev/null +++ b/web-ui/app/templates/compose/attachments_list.hbs @@ -0,0 +1,14 @@ +
    + + + +
    +
      + {{#each attachments }} + {{> attachment_item this }} + {{/each }} +
    +
      +
      + +
      diff --git a/web-ui/app/templates/compose/compose_box.hbs b/web-ui/app/templates/compose/compose_box.hbs new file mode 100644 index 00000000..fcfbeaaf --- /dev/null +++ b/web-ui/app/templates/compose/compose_box.hbs @@ -0,0 +1,32 @@ + + +
      + + {{> recipients }} + + +
      + + +
      +
      + + +
      + + {{> attachments_list }} + +
      + +
      + +
      +
      + +
      diff --git a/web-ui/app/templates/compose/feedback_box.hbs b/web-ui/app/templates/compose/feedback_box.hbs new file mode 100644 index 00000000..346a6192 --- /dev/null +++ b/web-ui/app/templates/compose/feedback_box.hbs @@ -0,0 +1,18 @@ + + +
      +
      + Feedback +
      + +
      + + +
      + +
      + +
      +
      diff --git a/web-ui/app/templates/compose/fixed_recipient.hbs b/web-ui/app/templates/compose/fixed_recipient.hbs new file mode 100644 index 00000000..8b01717c --- /dev/null +++ b/web-ui/app/templates/compose/fixed_recipient.hbs @@ -0,0 +1,8 @@ +
      + +
      + {{ address }} +
      +
      + +
      diff --git a/web-ui/app/templates/compose/inline_box.hbs b/web-ui/app/templates/compose/inline_box.hbs new file mode 100644 index 00000000..c9c114ec --- /dev/null +++ b/web-ui/app/templates/compose/inline_box.hbs @@ -0,0 +1,20 @@ +
      +

      {{subject}}

      + +
      + + +
      + {{t 'to'}}: {{formatRecipients recipients}} + + +{{> recipients }} + +{{> attachments_list }} + +
      + +
      + +
      +
      diff --git a/web-ui/app/templates/compose/no_mails_available.hbs b/web-ui/app/templates/compose/no_mails_available.hbs new file mode 100644 index 00000000..c61152a4 --- /dev/null +++ b/web-ui/app/templates/compose/no_mails_available.hbs @@ -0,0 +1,7 @@ +
      + {{#if forSearch }} + {{t 'no-results-for'}}: '{{ forSearch }}'. + {{else}} + {{t 'no-emails-in'}} '{{t tag}}'. + {{/if}} +
      diff --git a/web-ui/app/templates/compose/no_message_selected.hbs b/web-ui/app/templates/compose/no_message_selected.hbs new file mode 100644 index 00000000..0b9beaf8 --- /dev/null +++ b/web-ui/app/templates/compose/no_message_selected.hbs @@ -0,0 +1,3 @@ +
      +
      {{t 'nothing-selected'}}.
      +
      diff --git a/web-ui/app/templates/compose/recipient_input.hbs b/web-ui/app/templates/compose/recipient_input.hbs new file mode 100644 index 00000000..9416f11f --- /dev/null +++ b/web-ui/app/templates/compose/recipient_input.hbs @@ -0,0 +1 @@ + diff --git a/web-ui/app/templates/compose/recipients.hbs b/web-ui/app/templates/compose/recipients.hbs new file mode 100644 index 00000000..43aced1c --- /dev/null +++ b/web-ui/app/templates/compose/recipients.hbs @@ -0,0 +1,33 @@ + diff --git a/web-ui/app/templates/compose/reply_section.hbs b/web-ui/app/templates/compose/reply_section.hbs new file mode 100644 index 00000000..45203d87 --- /dev/null +++ b/web-ui/app/templates/compose/reply_section.hbs @@ -0,0 +1,6 @@ +
      + + + + +
      diff --git a/web-ui/app/templates/compose/upload_attachment_failed.hbs b/web-ui/app/templates/compose/upload_attachment_failed.hbs new file mode 100644 index 00000000..dbb1437b --- /dev/null +++ b/web-ui/app/templates/compose/upload_attachment_failed.hbs @@ -0,0 +1,6 @@ +
      + + Upload failed. This file exceeds the 1MB limit. + Choose another file + Dismiss +
      diff --git a/web-ui/app/templates/feedback/feedback_trigger.hbs b/web-ui/app/templates/feedback/feedback_trigger.hbs new file mode 100644 index 00000000..7f3f8ef1 --- /dev/null +++ b/web-ui/app/templates/feedback/feedback_trigger.hbs @@ -0,0 +1,8 @@ + diff --git a/web-ui/app/templates/mail_actions/actions_box.hbs b/web-ui/app/templates/mail_actions/actions_box.hbs new file mode 100644 index 00000000..68a8d0bf --- /dev/null +++ b/web-ui/app/templates/mail_actions/actions_box.hbs @@ -0,0 +1,7 @@ +
    • +
    • +
    • +
    • +
    • +
    • +
    • diff --git a/web-ui/app/templates/mail_actions/compose_trigger.hbs b/web-ui/app/templates/mail_actions/compose_trigger.hbs new file mode 100644 index 00000000..06f05fca --- /dev/null +++ b/web-ui/app/templates/mail_actions/compose_trigger.hbs @@ -0,0 +1,3 @@ + diff --git a/web-ui/app/templates/mail_actions/pagination_trigger.hbs b/web-ui/app/templates/mail_actions/pagination_trigger.hbs new file mode 100644 index 00000000..cbd8a089 --- /dev/null +++ b/web-ui/app/templates/mail_actions/pagination_trigger.hbs @@ -0,0 +1,3 @@ + +{{ currentPage }} + diff --git a/web-ui/app/templates/mail_actions/refresh_trigger.hbs b/web-ui/app/templates/mail_actions/refresh_trigger.hbs new file mode 100644 index 00000000..dffc7090 --- /dev/null +++ b/web-ui/app/templates/mail_actions/refresh_trigger.hbs @@ -0,0 +1,3 @@ +
      + +
      diff --git a/web-ui/app/templates/mail_actions/trash_actions_box.hbs b/web-ui/app/templates/mail_actions/trash_actions_box.hbs new file mode 100644 index 00000000..4e0ec332 --- /dev/null +++ b/web-ui/app/templates/mail_actions/trash_actions_box.hbs @@ -0,0 +1,5 @@ +
    • +
    • +
    • +
    • +
    • diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs new file mode 100644 index 00000000..808ce3ff --- /dev/null +++ b/web-ui/app/templates/mails/draft.hbs @@ -0,0 +1,41 @@ +
      + +
      + + +
      +
      + {{t 'to'}}: + {{#if header.to }} + {{ header.to }} + {{else}} + {{t 'no-recipient'}} + {{/if}} +
      + + {{ formatDate header.date }} +
      +
      +
      + + {{#if header.subject }} + {{header.subject}} + {{else}} + {{t 'no-subject'}} + {{/if}} +
      + + {{#if attachments}} +
      + {{/if}} +
      + +
      + + + + diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs new file mode 100644 index 00000000..40bfd4a2 --- /dev/null +++ b/web-ui/app/templates/mails/full_view.hbs @@ -0,0 +1,83 @@ + + +
      +
      + + +
      + {{#if signatureStatus}} + + {{t signatureStatus.label }} + + {{/if}} + {{#if encryptionStatus}} + + {{t encryptionStatus.label }} + + {{/if}} +
      + +
      + + {{#if header.from }} + {{ header.from }} + {{else}} + {{t 'you'}} + {{/if}} + + + {{{formatRecipients header}}} +
      + +
      + {{ formatDate header.date }} +
      + +
      + +
      +

      {{ header.subject }}

      +
      + + + +
        +
      • + +
      • + + {{#each tags }} +
      • {{ this }}
      • + {{/each }} + +
      • + +
      • + +
      • + +
      • +
      +
      + + + + {{#if attachments}} +
      + +
      +

      {{ attachments.length }} attachment(s):

      + +
      + {{/if}} +
      diff --git a/web-ui/app/templates/mails/mail_actions.hbs b/web-ui/app/templates/mails/mail_actions.hbs new file mode 100644 index 00000000..0adfe853 --- /dev/null +++ b/web-ui/app/templates/mails/mail_actions.hbs @@ -0,0 +1,6 @@ + + + diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs new file mode 100644 index 00000000..158b20c8 --- /dev/null +++ b/web-ui/app/templates/mails/sent.hbs @@ -0,0 +1,36 @@ +
      + +
      + +
      +
      + {{t 'to'}}: + {{#if header.to }} + {{ header.to }} + {{else}} + {{t 'no-recipient'}} + {{/if}} +
      + + {{ formatDate header.date }} +
      +
      +
      + {{#if header.subject }} + {{header.subject}} + {{else}} + {{t 'no-subject'}} + {{/if}} +
      + + {{#if attachments}} +
      + {{/if}} +
      + +
      + diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs new file mode 100644 index 00000000..aaede844 --- /dev/null +++ b/web-ui/app/templates/mails/single.hbs @@ -0,0 +1,28 @@ +
      + +
      + +
      +
      + {{#if header.from }} + {{ header.from }} + {{else}} + {{t "you"}} + {{/if}} +
      + + {{ formatDate header.date }} +
      +
      +
      {{ header.subject }}
      + + {{#if attachments}} +
      + {{/if}} +
      + +
      diff --git a/web-ui/app/templates/mails/trash.hbs b/web-ui/app/templates/mails/trash.hbs new file mode 100644 index 00000000..f8947b15 --- /dev/null +++ b/web-ui/app/templates/mails/trash.hbs @@ -0,0 +1,32 @@ +
      + +
      + +
      +
      + {{#if header.from }} + {{ header.from }} + {{else}} + {{t "you"}} + {{/if}} +
      + + {{ formatDate header.date }} +
      +
      +
      + + {{ header.subject }} +
      + + {{#if attachments}} +
      + {{/if}} +
      + +
      + diff --git a/web-ui/app/templates/page/logout.hbs b/web-ui/app/templates/page/logout.hbs new file mode 100644 index 00000000..0cc079bc --- /dev/null +++ b/web-ui/app/templates/page/logout.hbs @@ -0,0 +1,9 @@ + diff --git a/web-ui/app/templates/page/logout_shortcut.hbs b/web-ui/app/templates/page/logout_shortcut.hbs new file mode 100644 index 00000000..043ab0dc --- /dev/null +++ b/web-ui/app/templates/page/logout_shortcut.hbs @@ -0,0 +1,6 @@ +
    • + + +
      {{t 'logout'}}
      +
      +
    • diff --git a/web-ui/app/templates/page/user_settings_box.hbs b/web-ui/app/templates/page/user_settings_box.hbs new file mode 100644 index 00000000..2152b779 --- /dev/null +++ b/web-ui/app/templates/page/user_settings_box.hbs @@ -0,0 +1,10 @@ +
      + + +

      {{t 'user-account'}}

      + +
      +

      {{t 'email-address'}}

      +

      {{ account_email }}

      +

      {{t 'public-key-fingerprint'}}

      +

      {{ formatFingerPrint fingerprint }}

      diff --git a/web-ui/app/templates/page/user_settings_icon.hbs b/web-ui/app/templates/page/user_settings_icon.hbs new file mode 100644 index 00000000..8f2f9215 --- /dev/null +++ b/web-ui/app/templates/page/user_settings_icon.hbs @@ -0,0 +1,8 @@ + diff --git a/web-ui/app/templates/page/version.hbs b/web-ui/app/templates/page/version.hbs new file mode 100644 index 00000000..5f43f78a --- /dev/null +++ b/web-ui/app/templates/page/version.hbs @@ -0,0 +1,2 @@ +{{t 'version'}}: UNKNOWN_VERSION
      + diff --git a/web-ui/app/templates/search/search_trigger.hbs b/web-ui/app/templates/search/search_trigger.hbs new file mode 100644 index 00000000..2261d154 --- /dev/null +++ b/web-ui/app/templates/search/search_trigger.hbs @@ -0,0 +1,3 @@ +
      + +
      diff --git a/web-ui/app/templates/tags/shortcut.hbs b/web-ui/app/templates/tags/shortcut.hbs new file mode 100644 index 00000000..1e82d6a9 --- /dev/null +++ b/web-ui/app/templates/tags/shortcut.hbs @@ -0,0 +1,9 @@ +
    • + + {{#if displayBadge }} + {{ count }} + {{/if}} + +
      {{ tagName }}
      +
      +
    • diff --git a/web-ui/app/templates/tags/tag.hbs b/web-ui/app/templates/tags/tag.hbs new file mode 100644 index 00000000..ca397b9a --- /dev/null +++ b/web-ui/app/templates/tags/tag.hbs @@ -0,0 +1,3 @@ +
    • + {{> tag_inner }} +
    • diff --git a/web-ui/app/templates/tags/tag_inner.hbs b/web-ui/app/templates/tags/tag_inner.hbs new file mode 100644 index 00000000..2e0958cb --- /dev/null +++ b/web-ui/app/templates/tags/tag_inner.hbs @@ -0,0 +1,4 @@ +{{ tagName }} +{{#if displayBadge }} +{{ count }} +{{/if}} diff --git a/web-ui/app/templates/tags/tag_list.hbs b/web-ui/app/templates/tags/tag_list.hbs new file mode 100644 index 00000000..92a73283 --- /dev/null +++ b/web-ui/app/templates/tags/tag_list.hbs @@ -0,0 +1,6 @@ + +
      + + {{t 'tags.tags'}} +
      + diff --git a/web-ui/app/templates/user_alerts/message.hbs b/web-ui/app/templates/user_alerts/message.hbs new file mode 100644 index 00000000..abba1f91 --- /dev/null +++ b/web-ui/app/templates/user_alerts/message.hbs @@ -0,0 +1 @@ +{{ message.content }} -- cgit v1.2.3