init
This commit is contained in:
214
app/admin/view/product_series/add.html
Normal file
214
app/admin/view/product_series/add.html
Normal file
@@ -0,0 +1,214 @@
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<meta charset="utf-8" />
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
新增产品系列
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="<?php echo url('/admin/index/index');?>"><i class="fa fa-dashboard"></i> 首页</a></li>
|
||||
<li><a href="<?php echo url('/admin/product_series/lists');?>"> 系列列表</a></li>
|
||||
<li class="active"> 系列</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<form class="form-horizontal" action="<?php echo url('/admin/product_series/create');?>" method="post">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#navfirst" data-toggle="tab"><i class="fa fa-edit text-green"></i> 基本信息</a></li>
|
||||
<!-- <li><a href="#navsecond" data-toggle="tab">详细内容</a></li> -->
|
||||
|
||||
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="active tab-pane" id="navfirst">
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-sm-2 control-label">系列名称<em style="color:red;">*</em></label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control" name="name" id="name" required>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(系列名称)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="sort" class="col-sm-2 control-label">系列排序<em style="color:red;">*</em></label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control" name="sort" id="sort" value="9999">
|
||||
</div>
|
||||
<div class="col-sm-5 col-sm-offset-3">
|
||||
<span class="help-block">(系列排序)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="isshow" class="col-sm-2 control-label">是否显示</label>
|
||||
<div class="col-sm-5">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="isshow" value="1" checked> 是
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="isshow" value="0"> 否
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(是否显示)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="description" class="col-sm-2 control-label">系列描述</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="description" name="description"></textarea>
|
||||
</div>
|
||||
<div class="col-sm-10 col-sm-offset-2">
|
||||
<span class="help-block">(系列描述)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">系列图片</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
<a href="javascript:void(0);" id="p-category-image" data-toggle="image" data-folder="product" class="img-thumbnail"><img class="img-responsive" src="/uploads/nopic.jpg"/></a>
|
||||
<input type="hidden" name="picture" value="/uploads/nopic.jpg" id="input-image" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="icon" class="col-sm-2 control-label">图标</label>
|
||||
<div class="col-sm-5">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><a tabindex="0" role="button" data-toggle="popover-image" data-image="/uploads/nopic.jpg"><i class="fa fa-fw fa-image"></i></a></span>
|
||||
<input type="text" class="form-control" name="icon" id="caticon" value="">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="button" onclick="webuploader_modal('caticon', '', 'icon', 'image', 'img_call_back');">选择图片</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(图标)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- /.tab-pane -->
|
||||
</div>
|
||||
<!-- /.tab-content -->
|
||||
<div class="nav-footer row">
|
||||
<div class="col-sm-2 col-sm-offset-2">
|
||||
<p><button id="reset-btn" type="button" class="btn btn-warning btn-block">重置</button></p>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<p><button id="submit-btn" type="submit" class="btn btn-danger btn-block">提交</button></p>
|
||||
</div>
|
||||
<!-- /. row -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.nav-tabs-custom -->
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">快捷入口</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
|
||||
<a href="<?php echo url('/admin/product_series/lists');?>" class="btn btn-block btn-primary">产品系列</a>
|
||||
<a href="<?php echo url('/admin/product_series/add');?>" class="btn btn-block btn-primary">添加系列</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- 模态框(Modal) -->
|
||||
<div class="modal fade" id="modal-url" tabindex="0">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h5 class="modal-title blue">外部链接内容</h5>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<iframe id="urliframe" style="width:100%;height:400px;" frameborder="0"></iframe>
|
||||
</div>
|
||||
<div class="modal-footer"></div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
<style>
|
||||
.table thead > tr > td, .table tbody > tr > td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
<!-- /.content-wrapper -->
|
||||
<?php echo editor('#content');?>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#url-btn").click(function(e) {
|
||||
var urlObj = document.getElementById('url-input');
|
||||
var frameSrc = urlObj.value;
|
||||
if (isUrl(frameSrc)) {
|
||||
$("#urliframe").attr("src", frameSrc);
|
||||
$('#modal-url').modal({show: true, backdrop: 'static'});
|
||||
} else {
|
||||
alert('链接内容有误');
|
||||
urlObj.focus();
|
||||
}
|
||||
|
||||
});
|
||||
$("#reset-btn").click(function(e) {
|
||||
if (confirm('确认重置所有表单项吗?')) {
|
||||
this.form.reset();
|
||||
}
|
||||
});
|
||||
$("form.form-horizontal").submit(function(e) {
|
||||
var nameObj = document.getElementById('name');
|
||||
if (isNull(nameObj.value)) {
|
||||
alert('名称必须填写');
|
||||
nameObj.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// var agree = $("input[name='agree']", this).prop('checked');
|
||||
// if (agree) {
|
||||
// alert("Submitted");
|
||||
// e.preventDefault();
|
||||
// } else {
|
||||
// e.preventDefault();
|
||||
// alert("请勾选确认");
|
||||
// }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var image_row = "<?php echo '0';?>";
|
||||
function addImage() {
|
||||
html = '<tr id="image-row' + image_row + '">';
|
||||
html += ' <td class="text-left"><a href="" id="thumb-image' + image_row + '"data-toggle="image" class="img-thumbnail"><img class="img-responsive" src="/uploads/nopic.jpg" alt="" title="" data-placeholder="/uploads/nopic.jpg" /></a><input type="hidden" name="product_image[' + image_row + '][image]" value="" id="input-image' + image_row + '" /></td>';
|
||||
html += ' <td class="text-right"><input type="text" name="product_image[' + image_row + '][sort_order]" value="" placeholder="排序" class="form-control" size="2"/></td>';
|
||||
html += ' <td class="text-left"><button type="button" onclick="$(\'#image-row' + image_row + '\').remove();" data-toggle="tooltip" title="删除" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>';
|
||||
html += '</tr>';
|
||||
$('#images tbody').append(html);
|
||||
image_row++;
|
||||
}
|
||||
</script>
|
||||
218
app/admin/view/product_series/edit.html
Normal file
218
app/admin/view/product_series/edit.html
Normal file
@@ -0,0 +1,218 @@
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
编辑产品系列
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="<?php echo url('/admin/index/index');?>"><i class="fa fa-dashboard"></i> 首页</a></li>
|
||||
<li><a href="<?php echo url('/admin/product_series/lists');?>"> 系列列表</a></li>
|
||||
<li class="active"> 系列</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<form class="form-horizontal" action="<?php echo url('/admin/product_series/update');?>" method="post">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#navfirst" data-toggle="tab"><i class="fa fa-edit text-green"></i> 基本信息</a></li>
|
||||
<!-- <li><a href="#navsecond" data-toggle="tab">详细内容</a></li> -->
|
||||
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
|
||||
<div class="active tab-pane" id="navfirst">
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-sm-2 control-label">系列名称<em style="color:red;">*</em></label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" class="form-control" name="name" id="name" required value="<?php echo $product_series['name'];?>">
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(系列名称)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="sort" class="col-sm-2 control-label">系列排序<em style="color:red;">*</em></label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control" name="sort" id="sort" value="<?php echo $product_series['sort'];?>">
|
||||
</div>
|
||||
<div class="col-sm-5 col-sm-offset-3">
|
||||
<span class="help-block">(系列排序)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="isshow" class="col-sm-2 control-label">是否显示</label>
|
||||
<div class="col-sm-5">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="isshow" value="1" <?php if($product_series['isshow']):?>checked=""<?php endif;?>/> 显示
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="isshow" value="0" <?php if(!$product_series['isshow']):?>checked=""<?php endif;?>/> 隐藏
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(是否显示)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="description" class="col-sm-2 control-label">系列描述</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="description" name="description"><?php echo $product_series['description'];?></textarea>
|
||||
</div>
|
||||
<div class="col-sm-10 col-sm-offset-2">
|
||||
<span class="help-block">(系列描述)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">系列图片</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-left">
|
||||
<a href="javascript:void(0);" id="p-series-image" data-toggle="image" data-folder="product" class="img-thumbnail"><img class="img-responsive" src="<?php echo empty($product_series['picture'])?'/uploads/nopic.jpg':$product_series['picture'];?>" /></a>
|
||||
<input type="hidden" name="picture" value="<?php echo $product_series['picture'];?>" id="input-image" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="col-sm-5">
|
||||
<span class="help-block">(主要图片)</span>
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="image1" class="col-sm-2 control-label">图标</label>
|
||||
<div class="col-sm-5">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><a tabindex="0" role="button" data-toggle="popover-image" data-image="<?php echo $product_series['icon'];?>"><i class="fa fa-fw fa-image"></i></a></span>
|
||||
<input type="text" class="form-control" name="icon" id="caticon" value="<?php echo $product_series['icon'];?>">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="button" onclick="webuploader_modal('caticon', '', 'icon', 'image', 'img_call_back');">选择图片</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<span class="help-block">(导航图标)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /.tab-content -->
|
||||
<div class="nav-footer row">
|
||||
<input type="hidden" name="id" value="<?php echo $product_series['id'];?>">
|
||||
|
||||
<div class="col-sm-2 col-sm-offset-2">
|
||||
<p><button id="reset-btn" type="button" class="btn btn-warning btn-block">重置</button></p>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<p><button id="submit-btn" type="submit" class="btn btn-danger btn-block">提交</button></p>
|
||||
</div>
|
||||
<!-- /. row -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.nav-tabs-custom -->
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title">快捷入口</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<a href="<?php echo url('/admin/product/lists');?>" class="btn btn-block btn-primary">产品列表</a>
|
||||
<a href="<?php echo url('/admin/product_series/lists');?>" class="btn btn-block btn-primary">产品系列</a>
|
||||
<a href="<?php echo url('/admin/product_series/add');?>" class="btn btn-block btn-primary">添加系列</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- 模态框(Modal) -->
|
||||
<div class="modal fade" id="modal-url" tabindex="0">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h5 class="modal-title blue">外部链接内容</h5>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<iframe id="urliframe" style="width:100%;height:400px;" frameborder="0"></iframe>
|
||||
</div>
|
||||
<div class="modal-footer"></div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
<style>
|
||||
.table thead > tr > td, .table tbody > tr > td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
<!-- /.content-wrapper -->
|
||||
<?php echo editor('#content');?>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#url-btn").click(function(e) {
|
||||
var urlObj = document.getElementById('url-input');
|
||||
var frameSrc = urlObj.value;
|
||||
if (isUrl(frameSrc)) {
|
||||
$("#urliframe").attr("src", frameSrc);
|
||||
$('#modal-url').modal({show: true, backdrop: 'static'});
|
||||
} else {
|
||||
alert('链接内容有误');
|
||||
urlObj.focus();
|
||||
}
|
||||
|
||||
});
|
||||
$("#reset-btn").click(function(e) {
|
||||
if (confirm('确认重置所有表单项吗?')) {
|
||||
this.form.reset();
|
||||
}
|
||||
});
|
||||
$("form.form-horizontal").submit(function(e) {
|
||||
var nameObj = document.getElementById('name');
|
||||
if (isNull(nameObj.value)) {
|
||||
alert('名称必须填写');
|
||||
nameObj.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// var agree = $("input[name='agree']", this).prop('checked');
|
||||
// if (agree) {
|
||||
// alert("Submitted");
|
||||
// e.preventDefault();
|
||||
// } else {
|
||||
// e.preventDefault();
|
||||
// alert("请勾选确认");
|
||||
// }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var image_row = "<?php echo '0';?>";
|
||||
function addImage() {
|
||||
html = '<tr id="image-row' + image_row + '">';
|
||||
html += ' <td class="text-left"><a href="" id="thumb-image' + image_row + '"data-toggle="image" class="img-thumbnail"><img class="img-responsive" src="/uploads/nopic.jpg" alt="" title="" data-placeholder="/uploads/nopic.jpg" /></a><input type="hidden" name="product_image[' + image_row + '][image]" value="" id="input-image' + image_row + '" /></td>';
|
||||
html += ' <td class="text-right"><input type="text" name="product_image[' + image_row + '][sort_order]" value="" placeholder="排序" class="form-control" size="2"/></td>';
|
||||
html += ' <td class="text-left"><button type="button" onclick="$(\'#image-row' + image_row + '\').remove();" data-toggle="tooltip" title="删除" class="btn btn-danger"><i class="fa fa-minus-circle"></i></button></td>';
|
||||
html += '</tr>';
|
||||
$('#images tbody').append(html);
|
||||
image_row++;
|
||||
}
|
||||
</script>
|
||||
109
app/admin/view/product_series/lists.html
Normal file
109
app/admin/view/product_series/lists.html
Normal file
@@ -0,0 +1,109 @@
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
产品系列管理
|
||||
<small>系列列表</small>
|
||||
|
||||
</h1>
|
||||
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="<?php echo url('/admin/index/index');?>"><i class="fa fa-dashboard"></i> 首页</a></li>
|
||||
<li><a href="<?php echo url('/admin/product_series/lists');?>"> 产品系列</a></li>
|
||||
<li class="active"> 系列列表</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">系列列表</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" class="form-control pull-right" id="list-search-in" placeholder="Search Name" value="<?php echo $search['skeyword'];?>">
|
||||
<div class="input-group-btn">
|
||||
<button type="button" class="btn btn-default" id="list-search-btn"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-tools -->
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body no-padding">
|
||||
<?php if(!empty($list)):?>
|
||||
<div class="table-responsive lists-table">
|
||||
<table class="table table-hover table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th width="35rem"> </th>
|
||||
<th width="70rem" class="text-center">ID</th>
|
||||
<th>产品系列名称</th>
|
||||
<th width="75rem" class="text-center">分类排序</th>
|
||||
<th width="75rem" class="text-center">是否显示</th>
|
||||
|
||||
<th width="100rem" class="text-center">图片</th>
|
||||
<th width="165rem">操作</th>
|
||||
</tr>
|
||||
<?php foreach($list as $k=>$product_series):?>
|
||||
<tr>
|
||||
<td class="text-center"><input type="checkbox" name="ids[]" value="<?php echo $product_series['id'];?>"></td>
|
||||
<td class="text-center"><?php echo $product_series['id'];?></td>
|
||||
<td class="text-center"><?php echo $product_series['name'];?></td>
|
||||
<td class="text-center"><input size="3" maxlength="7" value="<?php echo $product_series['sort'];?>" type="text" data-id="<?php echo $product_series['id'];?>" data-url="<?php echo url('/admin/product_series/updatesort');?>" data-cod="sort"></td>
|
||||
<td class="text-center">
|
||||
<span class="fa <?php if($product_series['isshow']):?>fa-check<?php else:?>fa-remove<?php endif;?>" data-id="<?php echo $product_series['id'];?>" data-url="<?php echo url('/admin/product_series/toggleisshow');?>" data-cod="state"></span>
|
||||
</td>
|
||||
|
||||
<td><img src="<?php echo getImage($product_series['picture'],110,110,1,'smallimg');?>" class="img-thumbnail" data-image="<?php echo $product_series['picture'];?>" data-toggle="preview-image"></td>
|
||||
<td>
|
||||
|
||||
|
||||
<a class="btn btn-xs btn-info" href="<?php echo url('/admin/product_series/edit',['id'=>$product_series['id']]);?>">编辑</a>
|
||||
<a class="btn btn-xs btn-info" data-id="<?php echo $product_series['id'];?>" data-url="<?php echo url('/admin/product_series/delete');?>" data-cod="dowarn">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- /.table -->
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<!-- /.lists-table -->
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
<div class="box-footer no-padding">
|
||||
<div class="mailbox-controls">
|
||||
<!-- Check all button -->
|
||||
<button type="button" class="btn btn-default btn-sm checkbox-toggle"><i class="fa fa-square-o"></i></button>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default btn-sm" id="pagerefresh">刷新</button>
|
||||
</div>
|
||||
<!-- /.btn-group -->
|
||||
<a href="<?php echo url('/admin/product_series/add');?>" class="btn btn-default btn-sm">添加</a>
|
||||
<div class="pull-right">
|
||||
<?php if(0):?>
|
||||
<?php echo $page;?>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<!-- /.pull-right -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<style>
|
||||
.table thead > tr > td, .table tbody > tr > td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
<!-- Page Script -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user