mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
Add support for automatic response to SMS stop
This commit is contained in:
parent
6321899e02
commit
6e6c51a9ee
9 changed files with 98 additions and 12 deletions
|
@ -161,6 +161,16 @@
|
|||
'</div>' +
|
||||
'</div>';
|
||||
}
|
||||
else if (field.type == 'textarea')
|
||||
{
|
||||
html += '<div class="form-group">' +
|
||||
'<label>' + field.title + '</label>' +
|
||||
'<p class="italic small help">' + field.description + '</p>' +
|
||||
'<div class="form-group">' +
|
||||
'<textarea name="adapter_data[' + field.name + ']" class="form-control" ' + (field.required ? 'required' : '') + ' >' + (field.default_value ? field.default_value : '') + '</textarea>' +
|
||||
'</div>' +
|
||||
'</div>';
|
||||
}
|
||||
else
|
||||
{
|
||||
html += '<div class="form-group">' +
|
||||
|
|
|
@ -225,6 +225,16 @@
|
|||
'</div>' +
|
||||
'</div>';
|
||||
}
|
||||
else if (field.type == 'textarea')
|
||||
{
|
||||
html += '<div class="form-group">' +
|
||||
'<label>' + field.title + '</label>' +
|
||||
'<p class="italic small help">' + field.description + '</p>' +
|
||||
'<div class="form-group">' +
|
||||
'<textarea name="adapter_data[' + field.name + ']" class="form-control" ' + (field.required ? 'required' : '') + ' >' + (value ? value : '') + '</textarea>' +
|
||||
'</div>' +
|
||||
'</div>';
|
||||
}
|
||||
else
|
||||
{
|
||||
html += '' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue