DiverseYouthNightSchool/application/admin/view/school/message_config_item/add.html

129 lines
5.7 KiB
HTML
Raw Normal View History

2024-12-18 18:47:13 +08:00
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Event')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-event" data-rule="required" class="form-control" name="row[event]" type="text" value="{$q_event}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Event_two')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-event_two" data-rule="required" class="form-control" name="row[event_two]" type="text" value="{$q_event}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$q_name}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Wechat_wap')}:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-wechat_wap" data-rule="required" class="form-control selectpicker" name="row[wechat_wap]">
{foreach name="wechatWapList" item="vo"}
<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Message')}:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-message" data-rule="required" class="form-control selectpicker" name="row[message]">
{foreach name="messageList" item="vo"}
<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail')}:</label>
<div class="col-xs-12 col-sm-8">
<select id="c-selfmail" data-rule="required" class="form-control selectpicker" name="row[selfmail]">
{foreach name="selfmailList" item="vo"}
<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Message_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-message_id" class="form-control" name="row[message_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Wechat_wap_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-wechat_wap_id" class="form-control" name="row[wechat_wap_id]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail_title')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-selfmail_title" class="form-control" name="row[selfmail_title]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Selfmail_template_text')}:</label>
<div class="col-xs-12 col-sm-8">
<textarea id="c-selfmail_template_text" class="form-control " rows="5" name="row[selfmail_template_text]" cols="50"></textarea>
2024-12-23 18:21:02 +08:00
<span style="color: red">( 模板字段变量用“ {{}} ” 双花括号包裹即可在模板中显示,如:{{title}} 。实际发送时会被替换成实际数值 )</span>
2024-12-18 18:47:13 +08:00
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Configjson')}:</label>
<div class="col-xs-12 col-sm-8">
<dl class="fieldlist" data-name="row[configjson]">
<dd>
<ins>{:__('Key')}</ins>
<ins>{:__('Value')}</ins>
</dd>
<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
<textarea name="row[configjson]" class="form-control hide" cols="30" rows="5"></textarea>
</dl>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Thirdjson')}:</label>
<div class="col-xs-12 col-sm-8">
<dl class="fieldlist" data-name="row[thirdjson]">
<dd>
<ins>{:__('Key')}</ins>
<ins>{:__('Value')}</ins>
</dd>
<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
<textarea name="row[thirdjson]" class="form-control hide" cols="30" rows="5"></textarea>
</dl>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
</div>
</div>
</form>