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