2014-12-11 17:24:22 +01:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
|
|
|
<!DOCTYPE container>
|
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
xmlns:uix="OGo:uix"><var:string var:value="doctype" const:escapeHTML="NO" />
|
|
|
|
<div id="messageEditor">
|
2015-03-14 01:35:27 +01:00
|
|
|
<md-content class="md-padding bg-sogoPaper-50">
|
2014-12-11 17:24:22 +01:00
|
|
|
<form>
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-10 09:17:10 +01:00
|
|
|
<var:string label:value="From"/>
|
|
|
|
</label>
|
2015-02-23 22:54:06 +01:00
|
|
|
<!--<div class="pseudo-input-field">-->
|
2015-02-20 04:05:53 +01:00
|
|
|
<md-select name="from"
|
2015-02-26 16:58:17 +01:00
|
|
|
ng-model="message.editable.from">
|
|
|
|
<md-option ng-value="identity" ng-repeat="identity in identities">{{identity}}</md-option>
|
2015-02-20 04:05:53 +01:00
|
|
|
</md-select>
|
|
|
|
<!--</div>-->
|
2015-02-12 03:54:06 +01:00
|
|
|
|
2015-02-12 02:59:46 +01:00
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-12 03:54:06 +01:00
|
|
|
<var:string label:value="To"/>
|
2015-02-12 02:59:46 +01:00
|
|
|
</label>
|
2015-04-18 07:19:35 +02:00
|
|
|
<md-chips ng-model="message.editable.to">
|
|
|
|
<md-autocomplete
|
|
|
|
md-selected-item="autocomplete.to.selected"
|
|
|
|
md-search-text="autocomplete.to.searchText"
|
|
|
|
md-items="user in userFilter(autocomplete.to.searchText)"
|
|
|
|
label:placeholder="Add a recipient">
|
|
|
|
<span md-highlight-text="autocomplete.to.searchText">{{user}}</span>
|
|
|
|
</md-autocomplete>
|
|
|
|
</md-chips>
|
2015-02-12 02:59:46 +01:00
|
|
|
</div>
|
2015-04-18 07:19:35 +02:00
|
|
|
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-10 09:17:10 +01:00
|
|
|
<var:string label:value="Cc"/>
|
|
|
|
</label>
|
2015-04-18 07:19:35 +02:00
|
|
|
<md-chips ng-model="message.editable.cc">
|
|
|
|
<md-autocomplete
|
|
|
|
md-selected-item="autocomplete.cc.selected"
|
|
|
|
md-search-text="autocomplete.cc.searchText"
|
|
|
|
md-items="user in userFilter(autocomplete.cc.searchText)"
|
|
|
|
label:placeholder="Add a recipient">
|
|
|
|
<span md-highlight-text="autocomplete.cc.searchText">{{user}}</span>
|
|
|
|
</md-autocomplete>
|
|
|
|
</md-chips>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
|
|
|
<var:string label:value="Bcc"/>
|
|
|
|
</label>
|
|
|
|
<md-chips ng-model="message.editable.bcc">
|
|
|
|
<md-autocomplete
|
|
|
|
md-selected-item="autocomplete.bcc.selected"
|
|
|
|
md-search-text="autocomplete.bcc.searchText"
|
|
|
|
md-items="user in userFilter(autocomplete.bcc.searchText)"
|
|
|
|
label:placeholder="Add a recipient">
|
|
|
|
<span md-highlight-text="autocomplete.bcc.searchText">{{user}}</span>
|
|
|
|
</md-autocomplete>
|
|
|
|
</md-chips>
|
2015-02-12 02:59:46 +01:00
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Subject"/>
|
|
|
|
</label>
|
2015-02-12 03:54:06 +01:00
|
|
|
<input type="text" name="subject" ng-model="message.editable.subject"/>
|
2015-02-10 09:17:10 +01:00
|
|
|
</md-input-container>
|
|
|
|
|
2015-02-23 22:54:06 +01:00
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
2015-02-10 09:17:10 +01:00
|
|
|
<var:string label:value="Attachments"/>
|
|
|
|
</label>
|
2015-02-12 02:59:46 +01:00
|
|
|
<div class="pseudoInput-text">
|
2015-02-10 09:17:10 +01:00
|
|
|
<input type="file"
|
2015-02-26 16:58:17 +01:00
|
|
|
nv-file-select="nv-file-select"
|
|
|
|
uploader="uploader"/>
|
2015-02-12 02:59:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2014-12-16 21:47:34 +01:00
|
|
|
<ul>
|
|
|
|
<li ng-repeat="item in message.editable.attachmentAttrs">
|
|
|
|
<span ng-bind="item.filename"><!-- filename --></span>
|
|
|
|
</li>
|
|
|
|
<li ng-repeat="item in uploader.queue">
|
2015-02-12 03:54:06 +01:00
|
|
|
<span ng-bind="item.file.name"><!-- filename --></span>
|
|
|
|
(<span ng-bind="item.file.progress"><!-- progress --></span>)
|
2014-12-16 21:47:34 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-02-12 02:59:46 +01:00
|
|
|
<textarea name="content" var:class="editorClass" ng-model="message.editable.text"/>
|
2014-12-11 17:24:22 +01:00
|
|
|
<div class="buttonsToolbar">
|
2015-02-12 09:55:46 +01:00
|
|
|
<div layout="row" layout-align="end center">
|
2015-03-20 16:16:24 +01:00
|
|
|
<md-button ng-click="cancel()"><var:string label:value="Cancel"/></md-button>
|
|
|
|
<md-button ng-click="message.$save()">
|
2015-02-12 03:54:06 +01:00
|
|
|
<var:string label:value="Save"/>
|
2015-02-12 09:55:46 +01:00
|
|
|
</md-button>
|
2015-02-20 04:05:53 +01:00
|
|
|
<md-button class="fg-sogoBlue-700 md-primary md-hue-3"
|
2015-03-20 16:16:24 +01:00
|
|
|
ng-click="send(message)">
|
2015-02-12 03:54:06 +01:00
|
|
|
<var:string label:value="Send"/>
|
2015-02-12 09:55:46 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
2013-12-18 22:36:49 +01:00
|
|
|
</div>
|
2014-12-11 17:24:22 +01:00
|
|
|
</form>
|
2015-02-12 03:54:06 +01:00
|
|
|
</md-content>
|
2015-02-20 05:41:11 +01:00
|
|
|
</div>
|
|
|
|
</container>
|