This commit is contained in:
2020-02-27 09:20:09 +07:00
parent 543c04dc40
commit 95f7c5187a
114 changed files with 3 additions and 52201 deletions

View File

@@ -1,88 +0,0 @@
<?php
/* Smarty version 3.1.32, created on 2020-02-01 16:42:09
from 'C:\xampp\htdocs\intops\views\logs\index.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.32',
'unifunc' => 'content_5e3547f1864524_18781299',
'has_nocache_code' => false,
'file_dependency' =>
array (
'20236a3e8180e4db3a06fbb10df331cc13b7b539' =>
array (
0 => 'C:\\xampp\\htdocs\\intops\\views\\logs\\index.tpl',
1 => 1580550113,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5e3547f1864524_18781299 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>
<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'void' ][ 0 ], array( app\assets\LogsAsset::register($_smarty_tpl->tpl_vars['this']->value) ));?>
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12812370875e3547f184cb78_94057328', 'content');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, (dirname($_smarty_tpl->source->filepath)).('/../extends.tpl'));
}
/* {block 'content'} */
class Block_12812370875e3547f184cb78_94057328 extends Smarty_Internal_Block
{
public $subBlocks = array (
'content' =>
array (
0 => 'Block_12812370875e3547f184cb78_94057328',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="row">
<div class="col-md-2">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">Từ</div>
<input type='text' value="<?php echo $_smarty_tpl->tpl_vars['from']->value;?>
" class="form-control" id='from' name='FromTime' readonly="">
</div>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">Đến</div>
<input type='text' value="<?php echo $_smarty_tpl->tpl_vars['to']->value;?>
" class="form-control" id='to' name='ToTime' readonly="">
</div>
</div>
</div>
<div class="col-md-1">
<button class="btn btn-primary btn-block" onclick="search(this);" data-href='<?php echo yii\helpers\Url::to(array('index'));?>
'>
<i class="fa fa-search"></i> Search
</button>
</div>
<div class="col-md-2">
<button class="btn btn-success" onclick="_export(this);" data-href='<?php echo yii\helpers\Url::to(array('export'));?>
'>
<i class="fa fa-download"></i> Xuất báo cáo
</button>
</div>
</div>
<br>
<?php echo yii\grid\GridView::widget(array('dataProvider'=>$_smarty_tpl->tpl_vars['dataProvider']->value,'filterModel'=>$_smarty_tpl->tpl_vars['searchModel']->value,'layout'=>\app\helpers\LogsGrid::getLayout(),'tableOptions'=>array('class'=>'table table-striped table-bordered','style'=>'background:#fff;min-width:700px;'),'columns'=>array(array('class'=>'yii\grid\SerialColumn'),array('attribute'=>'vehicle_id','value'=>'vehicle.plate'),'factory','seal_no',array('attribute'=>"plate_image_in",'format'=>'raw','contentOptions'=>array('class'=>'text-center'),'headerOptions'=>array('style'=>'width:10%'),'value'=>\app\helpers\LogsGrid::plateIn()),array('attribute'=>"time_in",'format'=>'raw','contentOptions'=>array('class'=>'text-center'),'headerOptions'=>array('style'=>'width:18%'),'value'=>\app\helpers\LogsGrid::timeIn()),array('attribute'=>"plate_image_out",'format'=>'raw','contentOptions'=>array('class'=>'text-center'),'headerOptions'=>array('style'=>'width:10%'),'value'=>\app\helpers\LogsGrid::plateOut()),array('attribute'=>"time_out",'format'=>'raw','contentOptions'=>array('class'=>'text-center'),'headerOptions'=>array('style'=>'width:18%'),'value'=>\app\helpers\LogsGrid::timeOut()),'note')));?>
<?php
}
}
/* {/block 'content'} */
}

View File

@@ -1,121 +0,0 @@
<?php
/* Smarty version 3.1.32, created on 2020-02-01 16:42:09
from 'C:\xampp\htdocs\intops\views\extends.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.32',
'unifunc' => 'content_5e3547f197a168_13113435',
'has_nocache_code' => false,
'file_dependency' =>
array (
'82f09dda666f85f4e6bdd96739becd21dab9a07a' =>
array (
0 => 'C:\\xampp\\htdocs\\intops\\views\\extends.tpl',
1 => 1576056501,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5e3547f197a168_13113435 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<div class="body-extend">
<?php
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14548772005e3547f1976ec8_28995603', "content");
?>
</div>
<div id="blocking" class="fade modal" role="dialog" tabindex="-1">
<div class="modal-dialog" style="top: 50%;margin-top: -45px;">
<div class="modal-content" style="background-color: transparent;box-shadow: none;">
<div class="modal-body">
<div id='modelContent' class="text-center">
<i class="fa fa-spinner fa-pulse fa-5x fa-fw" style="color: #fff;"></i>
</div>
</div>
</div>
</div>
</div>
<div id="uploadBlock" class="fade modal" role="dialog" tabindex="-1">
<div class="modal-dialog" style="top: 50%;margin-top: -45px;">
<div class="modal-content" style="background-color: transparent;box-shadow: none;">
<div class="modal-body">
<div class="text-center">
<i class="fa fa-spinner fa-pulse fa-5x fa-fw" style="color: #fff;"></i>
<div class="text-bold" style="color: white;font-size: 20px;" id="upload-percent">0 %</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" id="modalHeader">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel"></h4>
</div>
<div class="modal-body" id="myModalContent">
...
</div>
<div class="modal-footer" id='myModalFooter'>
<button type="button" class="btn btn-default" data-dismiss="modal"><span class="fa fa-remove"></span> Đóng lại</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="myModalFullScreen" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document" style="width: 90%;">
<div class="modal-content">
<div class="modal-header" id="modalFullScreenHeader">
<input type="hidden" name="ReLoadFullScreen" value="false">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalFullScreenLabel"></h4>
</div>
<div class="modal-body" id="myModalFullScreenContent">
...
</div>
</div>
</div>
</div>
<div class="modal fade" id="alertModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" id="alertModalDialog" role="document">
<div class="modal-content">
<div class="modal-header" id="alertModalHeader" style="background-color: #ffcc66;color: green;">
<h4 class="modal-title" id="alertModalLabel" style="color: #fff;">
<span class="fa fa-info-circle"></span> <b>Thông báo</b>
</h4>
</div>
<div class="modal-body c-red" id="alertModalContent" style="font-weight: bold;">
...
</div>
<div class="modal-footer" id="alertModalFooter">
<button type="button" class="btn btn-default" data-dismiss="modal"><span class="fa fa-remove"></span> Đồng ý</button>
</div>
</div>
</div>
</div><?php }
/* {block "content"} */
class Block_14548772005e3547f1976ec8_28995603 extends Smarty_Internal_Block
{
public $subBlocks = array (
'content' =>
array (
0 => 'Block_14548772005e3547f1976ec8_28995603',
),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>
<?php
}
}
/* {/block "content"} */
}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
a:1:{s:13:"5e3547f1719e4";a:9:{s:3:"tag";s:13:"5e3547f1719e4";s:3:"url";s:32:"http://localhost/intops/web/logs";s:4:"ajax";i:0;s:6:"method";s:3:"GET";s:2:"ip";s:3:"::1";s:4:"time";d:1580550129.335;s:10:"statusCode";i:200;s:8:"sqlCount";i:8;s:9:"mailCount";i:0;}}