1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00
mail/src/tpl/write.html

43 lines
1.9 KiB
HTML
Raw Normal View History

2013-10-21 09:02:54 -04:00
<div class="lightbox-body" ng-controller="WriteCtrl">
<header>
<h2>{{writerTitle}}</h2>
2013-11-08 15:55:08 -05:00
<button class="close" ng-click="state.writer.close()" data-action="lightbox-close">&#xe007;</button>
</header>
<div class="content">
2013-09-12 07:36:40 -04:00
<div class="view-write">
<div class="headers">
<p>
<span>To:</span>
2013-11-08 17:31:20 -05:00
<input type="email" ng-model="to" ng-change="verifyTo()" ng-class="{'label': toSecure === true, 'label label-primary': toSecure === false}" tabindex="1" focus-me="state.writer.open && writerTitle !== 'Reply'" auto-size="to" spellcheck="false">
</p>
<p>
<span>Cc:</span>
<!--<input type="email" ng-model="cc" tabindex="2">-->
</p>
</div><!--/.address-headers-->
2013-09-12 07:36:40 -04:00
<div class="subject-box">
<div class="subject-line">
<input ng-model="subject" class="subject" spellcheck="true" tabindex="3" placeholder="Subject" ng-change="updatePreview()">
</div>
<button class="btn-attachment">
<div data-icon="&#xe003;"></div>
</button>
</div><!--/.subject-box-->
2013-09-12 07:36:40 -04:00
<div class="body" focus-child>
2013-12-11 05:42:36 -05:00
<p ng-model="body" contentEditable="true" spellcheck="false" ng-change="updatePreview()" tabindex="4" focus-me="state.writer.open && writerTitle === 'Reply'"></p>
2013-09-12 07:36:40 -04:00
<div class="encrypt-preview" ng-class="{'invisible': !ciphertextPreview}">
<p>-----BEGIN ENCRYPTED PREVIEW-----<br>{{ciphertextPreview}}<br>-----END ENCRYPTED PREVIEW-----</p>
</div><!--/.encrypt-preview-->
</div><!--/.body-->
2013-09-12 11:22:17 -04:00
<div class="send-control">
<button ng-click="sendToOutbox()" class="btn" data-icon="{{(toSecure === false) ? '&#xe001;' : (toSecure === true) ? '&#xe009;' : ''}}" ng-disabled="!to" tabindex="5">{{sendBtnText || 'Send'}}</button>
</div>
</div><!--/.write-view-->
</div><!--/.content-->
</div><!--/.lightbox-body-->