84 lines
2.7 KiB
PHP
84 lines
2.7 KiB
PHP
<!-- Dashboard content -->
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<div class="panel panel-flat">
|
|
<form method="get" action="/points/assignpoints" class="search-block">
|
|
<div class="form-group">
|
|
<label for="from_points">Points</label>
|
|
<div class="search-by-date">
|
|
<input style="width: 60px;" type="search" class="form-control" id="from_points" name="from_points" value='<?= isset($from_points) ? $from_points : '' ?>'>
|
|
|
|
<input style="width: 60px;" type="search" class="form-control" id="to_points" name="to_points" value='<?= isset($to_points) ? $to_points : '' ?>'>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<?= $find_select ?>
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" name="search_text" value='<?= isset($search_text) ? $search_text : '' ?>'>
|
|
</div>
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-primary btn-sm btn-block">Refresh</button>
|
|
</div>
|
|
</form>
|
|
<?= $link ?>
|
|
<div class="table-responsive">
|
|
<?= $points_report ?>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-flat">
|
|
<div class="table-responsive"> </div>
|
|
</div>
|
|
<!-- /support tickets -->
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
<!-- Recent Members -->
|
|
<div class="panel panel-flat" style="background-color: #ccffff; height: 800px;">
|
|
<div id="transp_detail">
|
|
<div class="panel-heading">
|
|
<h6 class="panel-title">.</h6>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /Recent Members -->
|
|
</div>
|
|
</div>
|
|
<!-- /dashboard content -->
|
|
<script type="text/javascript">
|
|
function pointMember(member_id) {
|
|
|
|
$('#transp_detail').html('Processing...');
|
|
$('#acc' + member_id).prop('disabled', true);
|
|
$.ajax({
|
|
url: "/points/viewAssignDetail?proc=PROCESS&member_id=" + member_id
|
|
}).done(function(data) {
|
|
$('#transp_detail').html(data);
|
|
$('#acc' + member_id).prop('disabled', false);
|
|
});
|
|
return false;
|
|
}
|
|
//initMap();
|
|
//
|
|
</script>
|
|
<style>
|
|
.search-block {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.search-by-date {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.search-by-date input {
|
|
width: 95px;
|
|
}
|
|
|
|
.default_date {
|
|
display: inline-block;
|
|
}
|
|
</style>
|