号码管理
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<form id="add-form" class="form-horizontal split-number-form" role="form" data-toggle="validator" method="POST" action="">
|
||||
{:token()}
|
||||
{include file="split/number/form_body" /}
|
||||
<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>
|
||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,12 @@
|
||||
<form id="edit-form" class="form-horizontal split-number-form" role="form" data-toggle="validator" method="POST" action="">
|
||||
{:token()}
|
||||
<input type="hidden" name="row[id]" value="{$row.id|htmlentities}">
|
||||
{include file="split/number/form_body" /}
|
||||
<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>
|
||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,146 @@
|
||||
<style>
|
||||
.split-number-form .panel {
|
||||
border-color: #e8ecf1;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.split-number-form .panel-heading {
|
||||
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
color: #334155;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
.split-number-form .panel-body {
|
||||
padding: 18px 20px 8px;
|
||||
}
|
||||
.split-number-form .form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.split-number-form .control-label {
|
||||
color: #475569;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
margin-bottom: 6px;
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.split-number-form .control-label .text-danger {
|
||||
margin-left: 2px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.split-number-form .form-control {
|
||||
border-radius: 4px;
|
||||
border-color: #cbd5e1;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
}
|
||||
.split-number-form .st-grid-2 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
margin-bottom: 4px;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.split-number-form .st-grid-2 {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 36px;
|
||||
}
|
||||
}
|
||||
.split-number-form .st-grid-1 {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.split-number-form .st-grid-cell {
|
||||
min-width: 0;
|
||||
}
|
||||
.split-number-form .radio-inline {
|
||||
margin-right: 18px;
|
||||
}
|
||||
.split-number-form > .layer-footer {
|
||||
margin: 12px 0 0;
|
||||
padding: 16px 20px;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
background: #f8fafc;
|
||||
clear: both;
|
||||
}
|
||||
.split-number-form > .layer-footer > .control-label {
|
||||
display: none !important;
|
||||
}
|
||||
.split-number-form > .layer-footer > div[class*="col-"] {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
.split-number-form > .layer-footer .btn {
|
||||
min-width: 100px;
|
||||
margin: 0 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{:__('Section basic')}</div>
|
||||
<div class="panel-body">
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-number_type" class="control-label">{:__('Number_type')}<span class="text-danger">*</span></label>
|
||||
<select id="c-number_type" name="row[number_type]" class="form-control selectpicker" data-rule="required" data-none-selected-text="请选择" title="请选择">
|
||||
{foreach name="numberTypeList" item="vo" key="key"}
|
||||
<option value="{$key|htmlentities}" {if isset($row) && $row.number_type==$key}selected{elseif !isset($row) && $key=='whatsapp'/}selected{/if}>{$vo|htmlentities}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-split_link_id" class="control-label">{:__('Split_link_id')}<span class="text-danger">*</span></label>
|
||||
<select id="c-split_link_id" name="row[split_link_id]" class="form-control selectpicker" data-live-search="true" data-rule="required" data-none-selected-text="请选择" title="请选择">
|
||||
<option value="">请选择</option>
|
||||
{foreach name="splitLinkList" item="link"}
|
||||
<option value="{$link.id|htmlentities}" {if isset($row) && $row.split_link_id==$link.id}selected{/if}>{$link.label|htmlentities}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1 split-number-type-custom {if !isset($row) || $row.number_type!='custom'}hide{/if}">
|
||||
<div class="form-group">
|
||||
<label for="c-number_type_custom" class="control-label">{:__('Number_type_custom')}<span class="text-danger">*</span></label>
|
||||
<input id="c-number_type_custom" class="form-control" name="row[number_type_custom]" type="text" value="{$row.number_type_custom|default=''|htmlentities}" maxlength="50">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1">
|
||||
<div class="form-group">
|
||||
<label for="c-ticket_name" class="control-label">{:__('Ticket_name')}<span class="text-danger">*</span></label>
|
||||
<input id="c-ticket_name" data-rule="required" class="form-control" name="row[ticket_name]" type="text" value="{$row.ticket_name|default=''|htmlentities}" maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1">
|
||||
<div class="form-group">
|
||||
{if isset($row)}
|
||||
<label for="c-number" class="control-label">{:__('Number')}<span class="text-danger">*</span></label>
|
||||
<input id="c-number" data-rule="required" class="form-control" name="row[number]" type="text" value="{$row.number|default=''|htmlentities}" maxlength="50">
|
||||
{else}
|
||||
<label for="c-numbers" class="control-label">{:__('Numbers')}<span class="text-danger">*</span></label>
|
||||
<textarea id="c-numbers" data-rule="required" class="form-control" name="row[numbers]" rows="8" placeholder="{:__('Numbers placeholder')}"></textarea>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1">
|
||||
<div class="form-group">
|
||||
<label class="control-label">{:__('Status')}<span class="text-danger">*</span></label>
|
||||
<div>
|
||||
{foreach name="statusList" item="vo" key="key"}
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="row[status]" value="{$key|htmlentities}" data-rule="required" {if isset($row) && $row.status==$key}checked{elseif !isset($row) && $key=='normal'/}checked{/if}> {$vo|htmlentities}
|
||||
</label>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
<div class="panel panel-default panel-intro">
|
||||
<div class="panel-heading">
|
||||
{:build_heading(null,FALSE)}
|
||||
<ul class="nav nav-tabs" data-field="status">
|
||||
<li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
|
||||
{foreach name="statusList" item="vo" key="key"}
|
||||
<li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key|htmlentities}" data-toggle="tab">{$vo|htmlentities}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div id="myTabContent" class="tab-content">
|
||||
<div class="tab-pane fade active in" id="one">
|
||||
<div class="widget-body no-padding">
|
||||
<div id="toolbar" class="toolbar">
|
||||
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i></a>
|
||||
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('split.number/add')?'':'hide'}" title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
|
||||
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('split.number/edit')?'':'hide'}" title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
|
||||
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('split.number/del')?'':'hide'}" title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
|
||||
<a href="javascript:;" class="btn btn-warning btn-batch-update-status btn-disabled disabled {:$auth->check('split.number/batchupdate')?'':'hide'}" title="{:__('Batch update btn')}"><i class="fa fa-edit"></i> {:__('Batch update btn')}</a>
|
||||
</div>
|
||||
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
||||
data-operate-edit="{:$auth->check('split.number/edit')}"
|
||||
data-operate-del="{:$auth->check('split.number/del')}"
|
||||
width="100%">
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
<form id="add-form" class="form-horizontal split-ticket-form" role="form" data-toggle="validator" method="POST" action="">
|
||||
{:token()}
|
||||
{include file="split/ticket/form_body" /}
|
||||
<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>
|
||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,12 @@
|
||||
<form id="edit-form" class="form-horizontal split-ticket-form" role="form" data-toggle="validator" method="POST" action="">
|
||||
{:token()}
|
||||
<input type="hidden" name="row[id]" value="{$row.id|htmlentities}">
|
||||
{include file="split/ticket/form_body" /}
|
||||
<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>
|
||||
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,239 @@
|
||||
<style>
|
||||
.split-ticket-form .panel {
|
||||
border-color: #e8ecf1;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.split-ticket-form .panel-heading {
|
||||
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
color: #334155;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
.split-ticket-form .panel-body {
|
||||
padding: 18px 20px 8px;
|
||||
}
|
||||
.split-ticket-form .form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.split-ticket-form .control-label {
|
||||
color: #475569;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
margin-bottom: 6px;
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.split-ticket-form .control-label .text-danger {
|
||||
margin-left: 2px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.split-ticket-form .form-control {
|
||||
border-radius: 4px;
|
||||
border-color: #cbd5e1;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
}
|
||||
.split-ticket-form .form-control:focus {
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
|
||||
}
|
||||
/* 单列整行 */
|
||||
.split-ticket-form .st-grid-1 {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
/* 双列:PC 端 column-gap 控制列间距(不依赖 Bootstrap col padding) */
|
||||
.split-ticket-form .st-grid-2 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
column-gap: 0;
|
||||
row-gap: 0;
|
||||
margin-bottom: 4px;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.split-ticket-form .st-grid-2 {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 36px;
|
||||
}
|
||||
}
|
||||
.split-ticket-form .st-grid-cell {
|
||||
min-width: 0;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.split-ticket-form .st-grid-2 {
|
||||
row-gap: 0;
|
||||
}
|
||||
.split-ticket-form .st-grid-2 .st-grid-cell + .st-grid-cell .form-group {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
/* 底部按钮区(兼容 layer 弹窗 footer 迁移) */
|
||||
.split-ticket-form > .layer-footer {
|
||||
margin: 12px 0 0;
|
||||
padding: 16px 20px;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
background: #f8fafc;
|
||||
clear: both;
|
||||
}
|
||||
.split-ticket-form > .layer-footer > .control-label {
|
||||
display: none !important;
|
||||
}
|
||||
.split-ticket-form > .layer-footer > div[class*="col-"] {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
flex: none;
|
||||
float: none;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
.split-ticket-form > .layer-footer .btn {
|
||||
min-width: 100px;
|
||||
margin: 0 12px;
|
||||
padding: 8px 24px;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.split-ticket-form > .layer-footer .btn-primary {
|
||||
background-color: #3b82f6;
|
||||
border-color: #2563eb;
|
||||
}
|
||||
.split-ticket-form > .layer-footer .btn-primary:hover,
|
||||
.split-ticket-form > .layer-footer .btn-primary:focus {
|
||||
background-color: #2563eb;
|
||||
border-color: #1d4ed8;
|
||||
}
|
||||
.split-ticket-form > .layer-footer .btn-default {
|
||||
background-color: #fff;
|
||||
border-color: #cbd5e1;
|
||||
color: #475569;
|
||||
}
|
||||
.split-ticket-form > .layer-footer .btn-default:hover {
|
||||
background-color: #f1f5f9;
|
||||
border-color: #94a3b8;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{:__('Section basic')}</div>
|
||||
<div class="panel-body">
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-ticket_type" class="control-label">{:__('Ticket_type')}<span class="text-danger">*</span></label>
|
||||
<select id="c-ticket_type" name="row[ticket_type]" class="form-control selectpicker" data-rule="required" data-none-selected-text="请选择" title="请选择">
|
||||
<option value="">请选择</option>
|
||||
{foreach name="ticketTypeList" item="vo" key="key"}
|
||||
<option value="{$key|htmlentities}" {if isset($row) && $row.ticket_type==$key}selected{/if}>{$vo|htmlentities}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-ticket_name" class="control-label">{:__('Ticket_name')}<span class="text-danger">*</span></label>
|
||||
<input id="c-ticket_name" data-rule="required" class="form-control" name="row[ticket_name]" type="text" value="{$row.ticket_name|default=''|htmlentities}" maxlength="100">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1">
|
||||
<div class="form-group">
|
||||
<label for="c-ticket_url" class="control-label">{:__('Ticket_url')}<span class="text-danger">*</span></label>
|
||||
<input id="c-ticket_url" data-rule="required" class="form-control" name="row[ticket_url]" type="text" value="{$row.ticket_url|default=''|htmlentities}" maxlength="1000" placeholder="https://">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1">
|
||||
<div class="form-group">
|
||||
<label for="c-ticket_total" class="control-label">{:__('Ticket_total')}<span class="text-danger">*</span></label>
|
||||
<input id="c-ticket_total" data-rule="required" class="form-control" name="row[ticket_total]" type="number" min="0" step="1" value="{$row.ticket_total|default='0'|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-split_link_id" class="control-label">{:__('Split_link_id')}<span class="text-danger">*</span></label>
|
||||
<select id="c-split_link_id" name="row[split_link_id]" class="form-control selectpicker" data-live-search="true" data-rule="required" data-none-selected-text="请选择" title="请选择">
|
||||
<option value="">请选择</option>
|
||||
{foreach name="splitLinkList" item="link"}
|
||||
<option value="{$link.id|htmlentities}" {if isset($row) && $row.split_link_id==$link.id}selected{/if}>{$link.label|htmlentities}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-number_type" class="control-label">{:__('Number_type')}<span class="text-danger">*</span></label>
|
||||
<select id="c-number_type" name="row[number_type]" class="form-control selectpicker" data-rule="required">
|
||||
{foreach name="numberTypeList" item="vo" key="key"}
|
||||
<option value="{$key|htmlentities}" {if isset($row) && $row.number_type==$key}selected{elseif !isset($row) && $key=='whatsapp'/}selected{/if}>{$vo|htmlentities}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-1 split-number-type-custom {if !isset($row) || $row.number_type!='custom'}hide{/if}">
|
||||
<div class="form-group">
|
||||
<label for="c-number_type_custom" class="control-label">{:__('Number_type_custom')}<span class="text-danger split-required-star">*</span></label>
|
||||
<input id="c-number_type_custom" class="form-control" name="row[number_type_custom]" type="text" value="{$row.number_type_custom|default=''|htmlentities}" maxlength="50">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{:__('Section time rule')}</div>
|
||||
<div class="panel-body">
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-start_time" class="control-label">{:__('Start_time')}<span class="text-danger">*</span></label>
|
||||
<input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{$row.start_time|default=''|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-end_time" class="control-label">{:__('End_time')}<span class="text-danger">*</span></label>
|
||||
<input id="c-end_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{$row.end_time|default=''|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-order_limit" class="control-label">{:__('Order_limit')}<span class="text-danger">*</span></label>
|
||||
<input id="c-order_limit" data-rule="required;integer;range(0~)" class="form-control" name="row[order_limit]" type="number" min="0" step="1" value="{$row.order_limit|default='0'|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-assign_ratio" class="control-label">{:__('Assign_ratio')}<span class="text-danger">*</span></label>
|
||||
<input id="c-assign_ratio" data-rule="required;integer;range(0~)" class="form-control" name="row[assign_ratio]" type="number" min="0" step="1" value="{$row.assign_ratio|default='0'|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{:__('Section account')}</div>
|
||||
<div class="panel-body">
|
||||
<div class="st-grid-2">
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-account" class="control-label">{:__('Account')}</label>
|
||||
<input id="c-account" class="form-control" name="row[account]" type="text" value="{$row.account|default=''|htmlentities}" maxlength="50">
|
||||
</div>
|
||||
</div>
|
||||
<div class="st-grid-cell">
|
||||
<div class="form-group">
|
||||
<label for="c-password" class="control-label">{:__('Password')}</label>
|
||||
<input id="c-password" class="form-control" name="row[password]" type="text" value="{$row.password|default=''|htmlentities}" maxlength="50">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="panel panel-default panel-intro">
|
||||
<div class="panel-heading">
|
||||
{:build_heading(null,FALSE)}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div id="myTabContent" class="tab-content">
|
||||
<div class="tab-pane fade active in" id="one">
|
||||
<div class="widget-body no-padding">
|
||||
<div id="toolbar" class="toolbar">
|
||||
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i></a>
|
||||
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('split.ticket/add')?'':'hide'}" title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
|
||||
<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('split.ticket/edit')?'':'hide'}" title="{:__('Edit')}"><i class="fa fa-pencil"></i> {:__('Edit')}</a>
|
||||
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('split.ticket/del')?'':'hide'}" title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
|
||||
</div>
|
||||
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
||||
data-operate-edit="{:$auth->check('split.ticket/edit')}"
|
||||
data-operate-del="{:$auth->check('split.ticket/del')}"
|
||||
width="100%">
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user