2020-01-15 12:27:14 +00:00
|
|
|
<vn-dialog
|
|
|
|
vn-id="SMSDialog"
|
|
|
|
on-response="$ctrl.onResponse($response)">
|
|
|
|
<tpl-body>
|
|
|
|
<section class="SMSDialog">
|
|
|
|
<h5 class="vn-py-sm" translate>Send SMS</h5>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Destination"
|
2020-02-10 12:22:43 +00:00
|
|
|
ng-model="$ctrl.sms.destination"
|
|
|
|
required="true"
|
|
|
|
rule>
|
2020-01-15 12:27:14 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal >
|
|
|
|
<vn-textarea vn-one
|
|
|
|
vn-id="message"
|
|
|
|
label="Message"
|
|
|
|
ng-model="$ctrl.sms.message"
|
|
|
|
rows="5"
|
|
|
|
maxlength="160"
|
2020-02-10 12:22:43 +00:00
|
|
|
required="true"
|
2020-01-15 12:27:14 +00:00
|
|
|
rule>
|
|
|
|
</vn-textarea>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<span>
|
|
|
|
{{'Characters remaining' | translate}}: {{$ctrl.charactersRemaining()}}
|
|
|
|
</span>
|
|
|
|
</vn-horizontal>
|
|
|
|
</section>
|
|
|
|
</tpl-body>
|
|
|
|
<tpl-buttons>
|
|
|
|
<input type="button" response="cancel" translate-attr="{value: 'Cancel'}"/>
|
|
|
|
<button response="accept" translate>Send</button>
|
|
|
|
</tpl-buttons>
|
|
|
|
</vn-dialog>
|