2013-10-21 09:02:54 -04:00
|
|
|
<div class="lightbox-body" ng-controller="WriteCtrl">
|
2013-10-18 20:58:53 -04:00
|
|
|
<header>
|
|
|
|
<h2>{{writerTitle}}</h2>
|
2013-11-08 15:55:08 -05:00
|
|
|
<button class="close" ng-click="state.writer.close()" data-action="lightbox-close"></button>
|
2013-10-18 20:58:53 -04:00
|
|
|
</header>
|
|
|
|
<div class="content">
|
2013-09-12 07:36:40 -04:00
|
|
|
|
2013-10-18 20:58:53 -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">
|
2013-10-18 20:58:53 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<span>Cc:</span>
|
2013-11-14 04:24:34 -05:00
|
|
|
<!--<input type="email" ng-model="cc" tabindex="2">-->
|
2013-10-18 20:58:53 -04:00
|
|
|
</p>
|
|
|
|
</div><!--/.address-headers-->
|
2013-09-12 07:36:40 -04:00
|
|
|
|
2013-10-18 20:58:53 -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=""></div>
|
|
|
|
</button>
|
|
|
|
</div><!--/.subject-box-->
|
2013-09-12 07:36:40 -04:00
|
|
|
|
2013-11-27 05:57:15 -05: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
|
|
|
|
2013-11-27 05:57:15 -05:00
|
|
|
<div class="encrypt-preview" ng-class="{'invisible': !ciphertextPreview}">
|
2013-10-18 20:58:53 -04:00
|
|
|
<p>-----BEGIN ENCRYPTED PREVIEW-----<br>{{ciphertextPreview}}<br>-----END ENCRYPTED PREVIEW-----</p>
|
|
|
|
</div><!--/.encrypt-preview-->
|
|
|
|
</div><!--/.body-->
|
2013-09-12 11:22:17 -04:00
|
|
|
|
2013-10-18 20:58:53 -04:00
|
|
|
<div class="send-control">
|
2013-11-04 15:07:32 -05:00
|
|
|
<button ng-click="sendToOutbox()" class="btn" data-icon="{{(toSecure === false) ? '' : (toSecure === true) ? '' : ''}}" ng-disabled="!to" tabindex="5">{{sendBtnText || 'Send'}}</button>
|
2013-10-18 20:58:53 -04:00
|
|
|
</div>
|
|
|
|
</div><!--/.write-view-->
|
|
|
|
|
|
|
|
</div><!--/.content-->
|
|
|
|
</div><!--/.lightbox-body-->
|