summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/full_view.hbs
diff options
context:
space:
mode:
authorZara Gebru <zgebru@thoughtworks.com>2016-12-02 15:25:23 +0100
committerZara Gebru <zgebru@thoughtworks.com>2016-12-02 15:25:23 +0100
commitb14833fbb56bcd5bff0750c16fd9214009b955be (patch)
treea1ec621dd5f76d756ac59b72a763a34a2c189387 /web-ui/app/templates/mails/full_view.hbs
parent688a8b42e8ab7c6d4529b6dda66f40eead07ad02 (diff)
[refactor] move app dir into public dir
Diffstat (limited to 'web-ui/app/templates/mails/full_view.hbs')
-rw-r--r--web-ui/app/templates/mails/full_view.hbs83
1 files changed, 0 insertions, 83 deletions
diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs
deleted file mode 100644
index 40bfd4a2..00000000
--- a/web-ui/app/templates/mails/full_view.hbs
+++ /dev/null
@@ -1,83 +0,0 @@
-<button class="close-mail-button">
- <i class="fa fa-times"></i>
-</button>
-
-<div id="fullView-{{ ident }}" class="mail-read-view {{statuses}}">
- <header class="mail-read-view__header row">
-
- <!-- TODO -->
- <div class="column large-12 no-padding security-status">
- {{#if signatureStatus}}
- <span class="security-status__label {{ signatureStatus.cssClass }}">
- {{t signatureStatus.label }}
- </span>
- {{/if}}
- {{#if encryptionStatus}}
- <span class="security-status__label {{ encryptionStatus.cssClass }}">
- {{t encryptionStatus.label }}
- </span>
- {{/if}}
- </div>
-
- <div class="mail-read-view__header-recipients">
- <span class="mail-read-view__header-recipients--highlight-sender">
- {{#if header.from }}
- {{ header.from }}
- {{else}}
- {{t 'you'}}
- {{/if}}
- </span>
- <i class="fa fa-long-arrow-right"></i>
- {{{formatRecipients header}}}
- </div>
-
- <div class="mail-read-view__header-date">
- {{ formatDate header.date }}
- </div>
-
- <hr>
-
- <div class="mail-read-view__header-subject">
- <h3>{{ header.subject }}</h3>
- </div>
-
- <nav id="mail-actions" class="mail-read-view__header-actions"></nav>
-
- <ul class="mail-read-view__header-tags">
- <li class="mail-read-view__header-tags-label">
- <i class="fa fa-tags"></i>
- </li>
-
- {{#each tags }}
- <li class="mail-read-view__header-tags-tag" data-tag="{{this}}">{{ this }}</li>
- {{/each }}
-
- <li class="mail-read-view__header-tags-name-input">
- <input type="text" id="new-tag-input" placeholder="{{t 'add-tag-placeholder'}}"
- />
- </li>
-
- <li class="mail-read-view__header-tags-new-button">
- <button id="new-tag-button" class="no-style"><i class="fa fa-plus"></i></button>
- </li>
- </ul>
- </header>
-
- <iframe class="mail-read-view__body" id="read-sandbox" sandbox="allow-popups allow-scripts" src="sandbox/sandbox.html" scrolling="no"></iframe>
-
- {{#if attachments}}
- <hr>
-
- <div id="attachmentsArea" class="mail-read-view__attachments">
- <p class="mail-read-view__attachments-header"><i class="fa fa-paperclip"></i> {{ attachments.length }} attachment(s):</p>
- <ul>
- {{#each attachments }}
- <li class="mail-read-view__attachments-item">
- <a class="mail-read-view__attachments-item-label" href="/attachment/{{ this.ident }}?content_type={{ this.content-type }}&encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} ({{ formatSize this.size}})
- <i class="fa fa-arrow-down mail-read-view__attachments-item-download"></i></a>
- </li>
- {{/each }}
- </ul>
- </div>
- {{/if}}
-</div>