salix/modules/client/front/sms/index.html

35 lines
1.2 KiB
HTML
Raw Normal View History

<vn-dialog
vn-id="SMSDialog"
2019-10-30 15:57:14 +00:00
on-response="$ctrl.onResponse($response)">
<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>
</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>
</tpl-buttons>
</vn-dialog>