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.
118 lines
8.2 KiB
118 lines
8.2 KiB
<style type="text/css">.bootstrap-select .status {background: #f0f0f0;clear: both;color: #999;font-size: 10px;font-style: italic;font-weight: 500;line-height: 1;margin-bottom: -5px;padding: 10px 20px; } .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_push">
|
|
<div class="">
|
|
<table id="email_push_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("event_title")?></th>
|
|
<th><?=$this->lang->line("email_push_filters")?></th>
|
|
<th><?=$this->lang->line("email_push_subscribers")?></th>
|
|
<th><?=$this->lang->line("email_push_email_sent")?></th>
|
|
<th><?=$this->lang->line("email_push_email_onqueue")?></th>
|
|
<th class="actions"><?=$this->lang->line("actions")?></th>
|
|
<th><?=$this->lang->line("email_push_date_created")?></th>
|
|
<th><?=$this->lang->line("email_push_author")?></th>
|
|
<th><?=$this->lang->line("email_assigned_status")?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<th>#</th>
|
|
<th><?=$this->lang->line("event_title")?></th>
|
|
<th><?=$this->lang->line("email_push_filters")?></th>
|
|
<th><?=$this->lang->line("email_push_subscribers")?></th>
|
|
<th><?=$this->lang->line("email_push_email_sent")?></th>
|
|
<th><?=$this->lang->line("email_push_email_onqueue")?></th>
|
|
<th class="actions"><?=$this->lang->line("actions")?></th>
|
|
<th><?=$this->lang->line("email_push_date_created")?></th>
|
|
<th><?=$this->lang->line("email_push_author")?></th>
|
|
<th><?=$this->lang->line("email_assigned_status")?></th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Modal for Events -->
|
|
<div id="remote_form" style="display:none;">
|
|
<form role="form" data-toggle="validator" novalidate="novalidate" action="javascript:;" id="emailPushForm">
|
|
<!-- Modal content-->
|
|
<div class="panel">
|
|
|
|
<div class="form-group scrollable-dropdown-menu">
|
|
<label for="event_id" class="control-label"><?=$this->lang->line("choose_event")?>: <span class="font-required">*</span></label>
|
|
<select class="form-control selectpicker event_id" id="event_id" name="event_id[]" data-max-options="1" placeholder="<?=$this->lang->line("event_title")?>" multiple required></select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email_custom_status" class="control-label"><?= $this->lang->line("filter_by"); ?></label>
|
|
<select class="form-control selectpicker email_filter_id" name="email_filter_id[]" id="email_filter_id" multiple>
|
|
<?php
|
|
if(isset($filter) && !empty($filter)) {
|
|
foreach($filter as $row) {
|
|
echo '<option value="'.$row->email_filter_id.'"> '.$row->email_filter.'</option>';
|
|
}
|
|
}
|
|
?>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group custom-filters custom-filters-3" id="filterBySubAge" style="display: none;">
|
|
<label for="subscription_date" class="control-label"><?=$this->lang->line("search_by_seniority")?> <span class="font-required">*</span></label>
|
|
<div class='input-group date' id='subscription_date_drange'>
|
|
<input type='text' disabled class="form-control subscription_date filter-3" id="subscription_date" name="subscription_date" placeholder="<?=$this->lang->line("start_date")?>"/>
|
|
<span class="input-group-addon">
|
|
<span></span> <i class="fa fa-calendar"></i></b>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="filtersByLocalisation" class="form-group custom-filters custom-filters-1" style="display: none;">
|
|
<label for="email_custom_status" class="control-label"><?= $this->lang->line("search_by_location"); ?><span class="font-required"> *</span></label>
|
|
<select disabled class="form-control selectpicker city_location_id filter-1" id="city_location_id" name="city_location_id[]" placeholder="<?= $this->lang->line("search_by_location"); ?>" multiple>
|
|
</select>
|
|
</div>
|
|
|
|
<div id="filterByInterest" style="display: none;" class="form-group custom-filters custom-filters-2">
|
|
<div class="form-group scrollable-dropdown-menu">
|
|
<label for="event_type_id" class="control-label"><?=$this->lang->line("search_by_interest")?> <span class="font-required">*</span></label>
|
|
<select class="form-control selectpicker event_type_id filter-2" id="event_type_id" name="event_type_id[]" placeholder="<?=$this->lang->line("search_by_interest")?>" multiple></select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group" id="email_push_sendto_">
|
|
<label for="email_custom_sendto" class="control-label"><?=$this->lang->line("send_to")?> <span class="font-required">*</span></label>
|
|
<select class="form-control" id="email_custom_sendto" name="email_custom_sendto">
|
|
<option selected disabled value="0"> -- </option>
|
|
<option value="1"><?=$this->lang->line("all_subscribers")?></option>
|
|
<option value="2"><?=$this->lang->line("specific_subscribers")?></option>
|
|
</select>
|
|
</div>
|
|
|
|
<div id="subscriber_list" style="display: none">
|
|
<div class="form-group scrollable-dropdown-menu">
|
|
<label for="search_sub" class="control-label"><!-- <?=$this->lang->line("choose_event")?> --> <?=$this->lang->line("search_subscriber")?> <span class="font-required"> *</span></label>
|
|
<select class="form-control selectpicker subscriber_id" id="subscriber_id" name="subscriber_id[]" placeholder="Search" multiple></select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email_custom_status" class="control-label"><?=$this->lang->line("event_email_status")?>:</label>
|
|
<select class="form-control" id="email_custom_status" name="email_custom_status">
|
|
<option value="0" selected><?=$this->lang->line("being_created")?></option>
|
|
<option value="1"><?=$this->lang->line("published")?></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|