加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
table_basic.html 19.28 KB
一键复制 编辑 原始数据 按行查看 历史
若依 提交于 2020-05-30 18:20 . 升级Bootstrap版本到v3.3.7
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>H+ 后台主题UI框架 - 基础表格</title>
<meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
<meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
<link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
<link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>基本</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="table_basic.html#">选项1</a>
</li>
<li><a href="table_basic.html#">选项2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>张三</td>
<td></td>
<td>23</td>
</tr>
<tr>
<td>2</td>
<td>李四</td>
<td></td>
<td>27</td>
</tr>
<tr>
<td>3</td>
<td>王麻子</td>
<td></td>
<td>65</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>斑马纹效果</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="table_basic.html#">选项1</a>
</li>
<li><a href="table_basic.html#">选项2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>数据</th>
<th>用户</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><span class="line">5,3,2,-1,-3,-2,2,3,5,2</span>
</td>
<td>张三</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 40%</td>
</tr>
<tr>
<td>2</td>
<td><span class="line">5,3,9,6,5,9,7,3,5,2</span>
</td>
<td>李四</td>
<td class="text-warning"> <i class="fa fa-level-down"></i> -20%</td>
</tr>
<tr>
<td>3</td>
<td><span class="line">1,6,3,9,5,9,5,3,9,6,4</span>
</td>
<td>王麻子</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 26%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>边框</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="table_basic.html#">选项1</a>
</li>
<li><a href="table_basic.html#">选项2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<table class="table table-bordered">
<thead>
<tr>
<th>#</th>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>张三</td>
<td></td>
<td>23</td>
</tr>
<tr>
<td>2</td>
<td>李四</td>
<td></td>
<td>27</td>
</tr>
<tr>
<td>3</td>
<td>王麻子</td>
<td></td>
<td>65</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>鼠标经过</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="table_basic.html#">选项1</a>
</li>
<li><a href="table_basic.html#">选项2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>数据</th>
<th>用户</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><span class="line">5,3,2,-1,-3,-2,2,3,5,2</span>
</td>
<td>张三</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 40%</td>
</tr>
<tr>
<td>2</td>
<td><span class="line">5,3,9,6,5,9,7,3,5,2</span>
</td>
<td>李四</td>
<td class="text-warning"> <i class="fa fa-level-down"></i> -20%</td>
</tr>
<tr>
<td>3</td>
<td><span class="line">1,6,3,9,5,9,5,3,9,6,4</span>
</td>
<td>王麻子</td>
<td class="text-navy"> <i class="fa fa-level-up"></i> 26%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>自定义响应式表格</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="table_basic.html#">选项1</a>
</li>
<li><a href="table_basic.html#">选项2</a>
</li>
</ul>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-5 m-b-xs">
<select class="input-sm form-control input-s-sm inline">
<option value="0">请选择</option>
<option value="1">选项1</option>
<option value="2">选项2</option>
<option value="3">选项3</option>
</select>
</div>
<div class="col-sm-4 m-b-xs">
<div data-toggle="buttons" class="btn-group">
<label class="btn btn-sm btn-white">
<input type="radio" id="option1" name="options"></label>
<label class="btn btn-sm btn-white active">
<input type="radio" id="option2" name="options"></label>
<label class="btn btn-sm btn-white">
<input type="radio" id="option3" name="options"></label>
</div>
</div>
<div class="col-sm-3">
<div class="input-group">
<input type="text" placeholder="请输入关键词" class="input-sm form-control"> <span class="input-group-btn">
<button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
</div>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th></th>
<th>项目</th>
<th>进度</th>
<th>任务</th>
<th>日期</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="checkbox" checked class="i-checks" name="input[]">
</td>
<td>米莫说|MiMO Show</td>
<td><span class="pie">0.52/1.561</span>
</td>
<td>20%</td>
<td>2014.11.11</td>
<td><a href="table_basic.html#"><i class="fa fa-check text-navy"></i></a>
</td>
</tr>
<tr>
<td>
<input type="checkbox" class="i-checks" name="input[]">
</td>
<td>商家与购物用户的交互试衣应用</td>
<td><span class="pie">6,9</span>
</td>
<td>40%</td>
<td>2014.11.11</td>
<td><a href="table_basic.html#"><i class="fa fa-check text-navy"></i></a>
</td>
</tr>
<tr>
<td>
<input type="checkbox" class="i-checks" name="input[]">
</td>
<td>天狼---智能硬件项目</td>
<td><span class="pie">3,1</span>
</td>
<td>75%</td>
<td>2014.11.11</td>
<td><a href="table_basic.html#"><i class="fa fa-check text-navy"></i></a>
</td>
</tr>
<tr>
<td>
<input type="checkbox" class="i-checks" name="input[]">
</td>
<td>线下超市+线上商城+物流配送互联系统</td>
<td><span class="pie">4,9</span>
</td>
<td>18%</td>
<td>2014.11.11</td>
<td><a href="table_basic.html#"><i class="fa fa-check text-navy"></i></a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.7"></script>
<!-- Peity -->
<script src="js/plugins/peity/jquery.peity.min.js"></script>
<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<!-- Peity -->
<script src="js/demo/peity-demo.js"></script>
<script>
$(document).ready(function () {
$('.i-checks').iCheck({
checkboxClass: 'icheckbox_square-green',
radioClass: 'iradio_square-green',
});
});
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<!--统计代码,可删除-->
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化