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">
|
|
|
|
<form>
|
2015-02-12 02:59:46 +01:00
|
|
|
<div class="PseudoField">
|
|
|
|
<label class="PseudoField-label">
|
2015-02-10 09:17:10 +01:00
|
|
|
<var:string label:value="From"/>
|
|
|
|
</label>
|
|
|
|
<select name="from"
|
|
|
|
data-ng-model="message.editable.from"
|
|
|
|
data-ng-options="identity for identity in identities"><!-- from --></select>
|
2015-02-12 02:59:46 +01:00
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
2015-02-12 02:59:46 +01:00
|
|
|
<div class="PseudoField">
|
|
|
|
<label class="PseudoField-label">
|
|
|
|
<var:string label:value="To"/>
|
|
|
|
</label>
|
|
|
|
<div class="pseudoInput-text">
|
|
|
|
<tags-input type="text" name="to"
|
2015-02-10 09:17:10 +01:00
|
|
|
ng-model="message.editable.to"
|
|
|
|
label:placeholder="Add a recipient">
|
|
|
|
<auto-complete data-source="userFilter($query)"><!-- to --></auto-complete>
|
2015-02-12 02:59:46 +01:00
|
|
|
</tags-input>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="PseudoField">
|
|
|
|
<label class="PseudoField-label">
|
2015-02-10 09:17:10 +01:00
|
|
|
<var:string label:value="Cc"/>
|
|
|
|
</label>
|
2015-02-12 02:59:46 +01:00
|
|
|
<div class="pseudoInput-text">
|
|
|
|
<tags-input type="text" name="cc"
|
2015-02-10 09:17:10 +01:00
|
|
|
ng-model="message.editable.cc"
|
|
|
|
label:placeholder="Add a recipient">
|
|
|
|
<auto-complete data-source="userFilter($query)"><!-- to --></auto-complete>
|
2015-02-12 02:59:46 +01:00
|
|
|
</tags-input>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-10 09:17:10 +01:00
|
|
|
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Subject"/>
|
|
|
|
</label>
|
2015-02-12 02:59:46 +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-12 02:59:46 +01:00
|
|
|
<div class="PseudoField">
|
|
|
|
<label class="PseudoField-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"
|
|
|
|
data-nv-file-select="nv-file-select"
|
|
|
|
data-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">
|
|
|
|
<span ng-bind="item.file.name"><!-- filename --></span> (<span ng-bind="item.file.progress"><!-- progress --></span>)
|
|
|
|
</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">
|
|
|
|
<span>
|
|
|
|
<a class="button tiny radius"
|
|
|
|
data-ng-click="message.$save()"><i class="icon-disk"><!-- send --></i> <var:string label:value="Save"/></a>
|
|
|
|
<a class="button tiny radius"
|
|
|
|
data-ng-click="send(message)"><i class="icon-mail"><!-- send --></i> <var:string label:value="Send"/></a>
|
|
|
|
</span>
|
2013-12-18 22:36:49 +01:00
|
|
|
</div>
|
2014-12-11 17:24:22 +01:00
|
|
|
</form>
|
2011-12-02 08:22:47 +01:00
|
|
|
</div>
|
2014-12-11 17:24:22 +01:00
|
|
|
</container>
|