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>
|
|
|
|
<button class="close" ng-click="closeWriter()" data-action="lightbox-close"></button>
|
|
|
|
</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-04 15:07:32 -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="writerOpen" auto-size="to" spellcheck="false">
|
2013-10-18 20:58:53 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<span>Cc:</span>
|
2013-11-04 15:07:32 -05:00
|
|
|
<input type="email" ng-model="cc" tabindex="2" disabled>
|
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-10-18 20:58:53 -04:00
|
|
|
<div class="body">
|
|
|
|
<p ng-model="body" contentEditable="true" ng-change="updatePreview()" tabindex="4"></p>
|
2013-09-12 07:36:40 -04:00
|
|
|
|
2013-10-18 20:58:53 -04:00
|
|
|
<div class="encrypt-preview">
|
|
|
|
<p>-----BEGIN ENCRYPTED PREVIEW-----<br>{{ciphertextPreview}}<br>-----END ENCRYPTED PREVIEW-----</p>
|
|
|
|
<br>
|
|
|
|
<p>{{signature}}</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-->
|