You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
5.8 KiB

<style type="text/css"> .font-required{ color: red !important; } </style>
<div class="BO_view">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div id="email_tpl_grid">
<div class="">
<table id="email_template_list" class="table-responsive table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%" height="200">
<thead>
<tr>
<th>#</th>
<th><?=$this->lang->line("email_tpl_name")?></th>
<th><?=$this->lang->line("email_tpl_type")?></th>
<th><?=$this->lang->line("email_tpl_creation_status")?></th>
<th><?=$this->lang->line("email_tpl_status")?></th>
<th><?=$this->lang->line("email_tpl_author")?></th>
<th class="actions"><?=$this->lang->line("actions")?></th>
<th><?=$this->lang->line("email_tpl_date_created")?></th>
<th><?=$this->lang->line("email_subject")?></th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th>#</th>
<th><?=$this->lang->line("email_tpl_name")?></th>
<th><?=$this->lang->line("email_tpl_type")?></th>
<th><?=$this->lang->line("email_tpl_creation_status")?></th>
<th><?=$this->lang->line("email_tpl_status")?></th>
<th><?=$this->lang->line("email_tpl_author")?></th>
<th class="actions"><?=$this->lang->line("actions")?></th>
<th><?=$this->lang->line("email_tpl_date_created")?></th>
<th><?=$this->lang->line("email_subject")?></th>
</tr>
</tfoot>
</table>
</div>
</div>
<!-- Modals -->
<div id="remote_form" style="display:none;">
<form role="form" data-toggle="validator" novalidate="novalidate" action="javascript:;" id="emailTemplateForm">
<!-- Modal content-->
<div class="panel">
<div class="form-group" id="email_tpl_creation_status">
<label for="email_tpl_creation_status" class="control-label"><?=$this->lang->line("use_as_creation_status")?><span class="font-required"> *</span></label>
<div>
<span class="radio-inline">
<label for="default-tpl" class="control-label">
<input id="default-tpl" class="input-group email_tpl_creation_status" type="radio" value="DEFAULT" name="email_tpl_creation_status"> <b>OUI</b>
</label>
</span>
<span class="radio-inline">
<label for="customized-tpl" class="control-label">
<input id="customized-tpl" class="input-group email_tpl_creation_status" type="radio" value="CUSTOMIZED" name="email_tpl_creation_status" checked="checked"> <b>NON</b>
</label>
</span>
</div>
</div>
<div class="form-group">
<label for="email_tpl_name" class="control-label"><?=$this->lang->line("template_name")?><span class="font-required"> *</span></label>
<input type="text" class="form-control title" id="email_tpl_name" name="email_tpl_name" placeholder="<?=$this->lang->line("template_name")?>" required>
</div>
<div class="form-group">
<label for="email_tpl_subject" class="control-label"><?=$this->lang->line("email_subject")?></label>
<input type="text" class="form-control title" id="email_tpl_subject" name="email_tpl_subject" placeholder="<?=$this->lang->line("email_subject")?>" required>
</div>
<div class="form-group"><textarea id="email_tpl_detail"></textarea></div>
<div class="form-group" style="display: none"><div id="preview_tpl_detail"></div></div>
<div class="form-group">
<label for="email_tpl_status" class="control-label"><?=$this->lang->line("event_email_status")?><span class="font-required"> *</span></label>
<select class="form-control" id="email_tpl_status" name="email_tpl_status">
<option value="1" selected><?=$this->lang->line("being_created")?></option>
<option value="2"><?=$this->lang->line("published")?></option>
</select>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>