Created
May 2, 2024 22:37
-
-
Save iems-admin/38bf521f5cd78bed952f9bc83de3008c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page-content-inner " style="padding:0px"> | |
<div class="row"> | |
<div class="col-md-12" style="display:flex;justify-content:space-between;margin-bottom:10px;align-items:center"> | |
<div style="display: flex;align-items:end;"> | |
<h3 style="font-weight: bold;">Production</h3> | |
<i id="campaigns-loading-progress-bar" | |
style="font-size:20px;color:#018ec5;margin-left:10px!important;margin-bottom: 13px !important;" | |
class="fa fa-spinner fa-spin fa-3x fa-fw"></i><span class="sr-only">Loading...</span> | |
<br> | |
</div> | |
<div class="actions" style="display: flex;align-items:center"> | |
<input id="f-campaing-name" class="form-control" type="text" | |
placeholder="Campaign name"> | |
<input id="f-campaing-id" class="form-control" type="text" placeholder="Campaign id"> | |
<select id="f-campaing-isp" class="form-control form-filter input-sm" type="text"> | |
<option value="" selected>All Isps</option> | |
{if(isset($isps) && count($isps)>0)} | |
{foreach $isp in $isps} | |
<option value="{echo $isp['id']}">{echo $isp['name']}</option> | |
{/foreach} | |
{/if} | |
</select> | |
{if(isset($users) && count($users)>1)} | |
<select id="f-campaing-user" style="width:170px!important;margin-right:5px" | |
class="form-control form-filter input-sm" data-actions-box="true" data-live-search="true" | |
type="text"> | |
<option value="" {if ($connectedUser->getId() == 1)} selected {/if} >All Users</option> | |
{if(isset($users) && count($users)>0)} | |
{foreach $user in $users} | |
<option value="{echo $user['id']}" {if($connectedUser->getId() == $user['id'] && $connectedUser->getId() != 1 )} selected {/if} >{echo $user['first_name'] . ' ' . $user['last_name']}</option> | |
{/foreach} | |
{/if} | |
</select> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "mtaDrops") == true )} | |
<div class="defaultrange input-group pull-right" style="margin-right: 5px;" show-default="true"> | |
<input style="width:200px" type="text" name="date-range" id="start_time_date_picker" | |
value="{echo $range}" class="form-control" data-start="" data-end="" readonly> | |
</div> | |
{/if} | |
<div class="btn-group"> | |
<a class="btn btn-outline dark" href="javascript:;" data-toggle="dropdown"> | |
<i class="fa fa-bars"></i> | |
</a> | |
<ul class="dropdown-menu pull-right data-list-tools"> | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "sendProcess") == true )} | |
<li><a href="/production/send-process" | |
{if(IR\App\Helpers\Page::openPageInNewTab())} {/if} data-action="0" data-table-id="audit-logs" ><i class="fa fa-paper-plane"></i> Create Drop</a></li> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "sendProcess") == true )} | |
<li><a data-toggle="modal" data-target="#leaderboard-modal" | |
{if(IR\App\Helpers\Page::openPageInNewTab())} {/if} data-action="0" data-table-id="audit-logs" ><i class="fa fa-chart-bar"></i> Leaderboard</a></li> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Offers", "add") == true )} | |
<li><a href="javascript:;" data-action="1" data-toggle="modal" data-target="#api-import-modal" href="javascript:;" ><i style="margin-right:5px" class="fa fa-add"></i> Import Offer</a></li> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Offers", "add") == true )} | |
<li><a href="{echo $app['base_url']}/production/daily-delivery-notes" ><i style="margin-right:5px" class="fa fa-add"></i> Daily Delivery notes</a></li> | |
{/if} | |
</ul> | |
</div> | |
</div> | |
</div> | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "smtpTests") == true )} | |
<div class="col-md-12"> | |
<div class="row widget-row"> | |
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12"> | |
<div class="dashboard-stat2 "> | |
<div class="display"> | |
<div class="number"> | |
<h3 class="font-blue-chambray"> | |
<span id="today-conversions">-</span> | |
</h3> | |
<span> Conversions</span> | |
</div> | |
<div class="icon"> | |
<i class="font-blue-chambray fa fa-shopping-bag"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12"> | |
<div class="dashboard-stat2 "> | |
<div class="display"> | |
<div class="number"> | |
<h3 class="font-blue-chambray"> | |
<span id="today-revenue">-</span> | |
</h3> | |
<span> Revenue</span> | |
</div> | |
<div class="icon"> | |
<i class="font-blue-chambray fa fa-dollar"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12"> | |
<div class="dashboard-stat2 "> | |
<div class="display"> | |
<div class="number"> | |
<h3 class="font-blue-chambray"> | |
<span id="today-clicks">-</span> | |
</h3> | |
<span> Clicks</span> | |
</div> | |
<div class="icon"> | |
<i class="font-blue-chambray fa fa-mouse-pointer"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12"> | |
<div class="dashboard-stat2 "> | |
<div class="display"> | |
<div class="number"> | |
<h3 class="font-blue-chambray"> | |
<span id="today-delevered">-</span> | |
</h3> | |
<span> Delevered</span> | |
</div> | |
<div class="icon"> | |
<i class="font-blue-chambray fa fa-paper-plane"></i> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
{/if} | |
<div class="col-md-12"> | |
<div class="portlet light portlet-fit portlet-datatable bordered "> | |
<div class="portlet-body"> | |
<div id="send-main-tabs" class="tabbable tabbable-tabdrop"> | |
<ul class="nav nav-tabs"> | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "mtaDrops") == true )} | |
<li class="tab active" data-index="1"> | |
<a class="bold" id="offers-tab-link" href="#offers-tab" data-toggle="tab">Campaigns <div id="drops-table-count" style="margin-left: 5px;padding:4px!important" class="badge">0</div> </a> | |
</li> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "mtaTests") == true )} | |
<li class="tab " data-index="1"> | |
<a class="bold" id="test-tab-link" href="#test-tab" data-toggle="tab">Tests</a> | |
</li> | |
{/if} | |
<!-- {if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "smtpDrops") == true )} | |
<li class="tab " data-index="3"> | |
<a class="bold" id="pinned-tab-link" href="#pinned-tab" data-toggle="tab">Pinned Campaigns <div id="pinned-drops-table-count" style="margin-left: 5px;padding:4px!important" class="badge">0</div></a> | |
</li> | |
{/if} --> | |
</ul> | |
<div class="tab-content"> | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "mtaDrops") == true )} | |
<div class="tab-pane active " id="offers-tab" data-index="1"> | |
<div class="table-container"> | |
<div class="table-actions-wrapper"> | |
<div style="display:flex"> | |
<select style="width:240px" class="form-control" name="action" id="action"> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="publish" title="Publish Drop" | |
value="mta-publish-drops">Publish</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="clone" title="Clone Process">Clone</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="show-details" title="Show Process Details">Show | |
Details</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="pause">Pause | |
</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="resume"> | |
Resume</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="stop">Stop | |
</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="delete"> | |
Delete</option> | |
</select> | |
<button class="btn btn-outline dark" id="execute-process-actions" | |
style="margin-left:5px"> <i class="fa fa-terminal" | |
style="margin-left:3px"></i> execute </button> | |
</div> | |
</div> | |
<table id="campaigns-table" class="table table-striped table-hover table-checkable" | |
fixed-columns="2" right-fixed-columns="0" style="width:100%;" order="desc" | |
cellspacing="0" action="{echo $app['base_url']}/production/get-campaigns" | |
total="13" total-type="int"> | |
<thead> | |
<tr role="row" class="heading"> | |
<th style="width: 0.5%"> | |
<label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"> | |
<input type="checkbox" class="group-checkable" | |
data-set="#drops-processes .checkboxes" /> | |
<span></span> | |
</label> | |
</th> | |
<th style="width:15%!important;">Name</th> | |
<th>Status</th> | |
<th style="width:5%!important;">Mailer</th> | |
<th>Process</th> | |
<th>ISP</th> | |
<th style="width:5%!important;" title="total"><span>total</span> </th> | |
<th style="width:5%!important;" title="delevered"><span>delevered</span> | |
</th> | |
<th style="width:5%!important;color:red!important" title="bounced"> | |
<span>bounced</span> | |
</th> | |
<th style="width:5%!important" title="opens"><span>opens</span></th> | |
<th style="width:5%!important" title="clicks"><span>clicks</span></th> | |
<th style="width:5%!important" title="leads"><span>leads</span></th> | |
<th style="width:5%!important" title="unsubs"> <span>unsubs</span> </th> | |
<th style="width:5%!important" title="optouts"> <span>optouts</span></th> | |
<th style="display: none;"></th> | |
</tr> | |
</thead> | |
<tbody> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "mtaTests") == true )} | |
<div class="tab-pane " id="test-tab" data-index="2"> | |
<div class="table-container"> | |
<div class="table-actions-wrapper"> | |
<button class="btn btn-sm red mta-bounce-logs" data-target="tests-processes" | |
data-type="mt" title="Bounce Logs"><i class="fa fa-cog"></i></button> | |
<button class="btn btn-sm green resend-process" data-target="tests-processes" | |
data-type="mt" title="ReSend Process"><i class="fa fa-recycle"></i></button> | |
<button class="btn btn-sm dark show-process-details" | |
data-target="tests-processes" data-type="mt" title="Show Process Details"><i | |
class="fa fa-desktop"></i></button> | |
<button class="btn btn-sm blue execute-process-actions" | |
data-target="tests-processes" data-type="mt" data-action-type="resume" | |
title="Resume Process"><i class="fa fa-play"></i></button> | |
<button class="btn btn-sm yellow execute-process-actions" | |
data-target="tests-processes" data-type="mt" data-action-type="pause" | |
title="Pause Process"><i class="fa fa-pause"></i></button> | |
<button class="btn btn-sm red execute-process-actions" | |
data-target="tests-processes" data-type="mt" data-action-type="stop" | |
title="Stop Process"><i class="fa fa-stop"></i></button> | |
{if($connectedUser->getMasterAccess() == 'Enabled')} | |
<button class="btn btn-sm red table-group-action-submit" | |
data-table-group-action="delete" title="Delete Process"><i | |
class="fa fa-close"></i></button> | |
{/if} | |
</div> | |
<table | |
class="table table-striped table-bordered table-hover table-checkable data-ajax-list" | |
style="width:123%" id="tests-processes" | |
action="{echo $app['base_url']}/production/get-mta-tests.html" total-type="int" | |
responsive="false"> | |
<thead> | |
<tr role="row" class="heading"> | |
<th style="width: 0.5%"> | |
<label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"> | |
<input type="checkbox" class="group-checkable" | |
data-set="#tests-processes .checkboxes" /> | |
<span></span> | |
</label> | |
</th> | |
<th style="width: 0.5%">Id</th> | |
{echo $columns} | |
<th style="width: 0.5%"> | |
</th> | |
</tr> | |
<tr role="row" class="filter"> | |
<td> | |
<div class="margin-bottom-5" | |
style="text-align: center;padding-top:8px;"> | |
<a class="font-red filter-cancel margin-bottom"><i | |
class="fa fa-eraser" style="font-size:13px"></i></a> | |
</div> | |
</td> | |
<td><input type="text" class="form-control form-filter input-sm" | |
name="id"></td> | |
{echo $filters} | |
<td> | |
<div class="margin-bottom-5" | |
style="text-align: center;padding-top:8px;"> | |
<a class="font-dark filter-submit margin-bottom"><i | |
class="fa fa-filter" style="font-size:13px"></i></a> | |
</div> | |
</td> | |
</tr> | |
</thead> | |
<tbody> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
{/if} | |
{if( IR\App\Helpers\Permissions::checkForAuthorization($connectedUser, "Production", "smtpDrops") == true )} | |
<div class="tab-pane " id="pinned-tab" data-index="3"> | |
<div class="table-container"> | |
<div class="table-actions-wrapper"> | |
<div style="display:flex"> | |
<select style="width:240px" class="form-control" name="action" id="action"> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="publish" title="Publish Drop" | |
value="mta-publish-drops">Publish</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="clone" title="Clone Process">Clone</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="show-details" title="Show Process Details">Show | |
Details</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="pause">Pause | |
</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="resume"> | |
Resume</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="stop">Stop | |
</option> | |
<option data-target="campaigns-table" data-type="md" | |
data-action-type="delete"> | |
Delete</option> | |
</select> | |
<button class="btn blue " id="execute-process-actions" | |
style="margin-left:5px"> <i class="fa fa-terminal" | |
style="margin-left:3px"></i> execute </button> | |
</div> | |
</div> | |
<table id="pinned-campaigns-table" | |
class="table table-striped table-hover table-checkable" fixed-columns="0" | |
right-fixed-columns="0" style="width:100%;" order="desc" cellspacing="0" | |
action="{echo $app['base_url']}/production/get-pinned-campaigns.html" total="9" | |
total-type="int"> | |
<thead> | |
<tr role="row" class="heading"> | |
<th style="width: 0.5%"> | |
<label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"> | |
<input type="checkbox" class="group-checkable" | |
data-set="#drops-processes .checkboxes" /> | |
<span></span> | |
</label> | |
</th> | |
<th style="width:35%!important;">Name</th> | |
<th>Status</th> | |
<th style="width:8%!important;">Servers</th> | |
<th style="width:8%!important;">Lists</th> | |
<th style="width:5%!important;">Mailer</th> | |
<th>Process</th> | |
<th>ISP</th> | |
<th>Sender</th> | |
<th>actions</th> | |
<th style="width:5%!important;" title="total"><span>total</span> </th> | |
<th style="width:5%!important;" title="delevered"><span>delevered</span> | |
</th> | |
<th style="width:5%!important;color:red!important" title="bounced"> | |
<span>bounced</span> | |
</th> | |
<th style="width:5%!important" title="opens"><span>opens</span></th> | |
<th style="width:5%!important" title="clicks"><span>clicks</span></th> | |
<th style="width:5%!important" title="leads"><span>leads</span></th> | |
<th style="width:5%!important" title="unsubs"> <span>unsubs</span> </th> | |
<th style="width:5%!important" title="optouts"> <span>optouts</span> | |
</th> | |
<th style="width:5%!important" title="invalide.opens"> | |
<span>inv.opens</span> | |
</th> | |
<th style="width:5%!important" title="invalide.clicks"> | |
<span>inv.clicks</span> | |
</th> | |
<th style="width:5%!important" title="duplicate.clicks"> | |
<span>dup.clicks</span> | |
</th> | |
<th style="width:5%!important" title="bots"><span>bots</span></th> | |
<th style="width:5%!important" title="Open Rate">OR%</th> | |
<th style="width:5%!important" title="Click throught rate"> CTR%</th> | |
<th style="width:5%!important" title="revenue">Revenue</th> | |
<th style="width:5%!important" title="earn per click">EPC</th> | |
<th style="width:5%!important" title="soft bounce">soft.bounce</th> | |
</tr> | |
</thead> | |
<tbody> | |
</tbody> | |
<tfoot> | |
<tr>{echo $footer}</tr> | |
</tfoot> | |
</table> | |
</div> | |
</div> | |
{/if} | |
</div> | |
</div> | |
</div> | |
</div> | |
{include production/loaderboard.html} | |
{include production/update-delivery-ip-sheet.html} | |
{include production/delivery_sheet.html} | |
{include production/update-delivery-speed-modal.html} | |
{include includes/modals/data_lists.html} | |
{include includes/modals/servers_names.html} | |
{include includes/modals/campaign_stats.html} | |
{include includes/modals/campaig-logs.html} | |
{include production/campaigns-errors-modal.html} | |
{include production/create-campaign-modal.html} | |
{include offers/api-import.html} | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment