Размер файла: 3.38Kb
<form class="ScheduleList" action="<?=cn('ajax_action_multiple')?>">
<div class="row">
<div class="clearfix"></div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card">
<div class="header">
<h2>
<i class="fa fa-bars" aria-hidden="true"></i> <?=l('Schedules')?>
</h2>
</div>
<div class="header">
<div class="form-inline">
<div class="btn-group" role="group">
<div class="btn-group" role="group">
<button type="button" class="btn bg-red waves-effect dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<?=l('Action')?>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a class="btnActionModule" data-action="repeat" data-confirm="<?=l('Are you sure you want to repeat this items?')?>" href="javascript:void(0);"><?=l('Repost')?></a></li>
<li><a class="btnActionModule" data-action="delete" data-confirm="<?=l('Are you sure you want to delete this items?')?>" href="javascript:void(0);"><?=l('Delete')?></a></li>
</ul>
</div>
</div>
<div class="form-group wa right">
<select class="form-control mr5 filter_account" name="account">
<option value=""><?=l('All accounts')?></option>
<?php if(!empty($account)){
foreach ($account as $row) {
?>
<option value="<?=$row->username?>"><?=$row->fullname." (".$row->username.")"?></option>
<?php }}?>
</select>
</div>
</div>
</div>
<div class="body p0">
<table class="table table-bordered table-striped table-hover js-dataTableScheduleAjax dataTable mb0">
<thead>
<tr>
<th style="width: 10px;">
<input type="checkbox" id="md_checkbox_all" class="filled-in chk-col-red checkAll">
<label class="p0 m0" for="md_checkbox_all"> </label>
</th>
<th><?=l('Account')?></th>
<th><?=l('Name')?></th>
<th><?=l('Type')?></th>
<th><?=(segment(2) == 'repost_pages')?l('Page ID'):l('Repeat Post')?></th>
<th><?=l('Time Post')?></th>
<th><?=l('Status')?></th>
<th><?=l('Created')?></th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</form>