Bootstrap表格示例

Bootstrap表格示例效果图如下:代码如下:

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全家桶1年46,售后保障稳定

效果图如下:

Bootstrap表格示例


代码如下:


<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
    <title>Bootstrap表格示例</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
	<style>
	
	</style>
  </head>
  <body>

  
     <div class="container">

		<div style="text-align:center">
		  <h2>Bootstrap表格示例</h2>
		</div>
		
 
		<div class="panel panel-primary">
		
		  <div class="panel-heading">
			<h3 class="panel-title">数据表格</h3>
		  </div>
		

		
			<div class="panel-body" >
			
	<form class="form-inline">
		
		<div class="row">
		   
		   
		  <div class="form-group col-sm-3">
			<input type="checkbox" id="inlineCheckbox1" value="option1">
			<label>选择所有</label>
		  </div>
		   
		  <div class="form-group col-sm-3">
			<label>用户名:</label>
			<input type="name"  class="form-control"  id="exampleInputName3" placeholder="用户名">
		  </div>
		  
		  
		  <div class="form-group col-sm-3">
			<label>手机号:</label>

<input type="Mobile" class="form-control"  id="exampleInputMobile3" placeholder="手机号"></input>
			
			
		  </div>
		  
		  <div class="col-sm-3">
			<button type="submit" class="btn btn-primary">搜索</button>
			<button type="submit" class="btn btn-primary">删除</button>
		  </div>
		  

		   
		</div>
		
		 
	</form>
			
	<table class="table table-hover" style="margin-top:2px;">
	  <thead>
		<tr>
			<th></th>
			<th>顺序</th>
			<th>家庭名称</th>
			<th>家庭Key</th>
			<th>负责人</th>
			<th>手机号</th>
			<th>邮箱</th>
			<th>家庭地址</th>
			<th>创建时间</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
	  </thead>
	  <tbody>
		<tr>
		  <td><input type="checkbox" id="inlineCheckbox1" value="option1"></td>
		  <th scope="row">1</th>
		  <td>ckse的家庭</td>
		  <td>234567981234567841564131</td>
		  <td>ckse</td>
		  <td>1302016367</td>
		  <td>1302016367@163.com</td>
		  <td>闵行区</td>
		  <td>2017-6-9</td>
		  <td>启用</td>
		  <td><a href="#">编辑</a></td>
		</tr>
		<tr>
		  <td><input type="checkbox" id="inlineCheckbox1" value="option1"></td>
		  <th scope="row">2</th>
		  <td>Thornton的家庭</td>
		  <td>234567981234567841564133</td>
		  <td>Thornton</td>
		  <td>1302016363</td>
		  <td>1302016363@163.com</td>
		  <td>闵行区</td>
		  <td>2017-6-9</td>
		  <td>启用</td>
		  <td><a href="#">编辑</a></td>
		</tr>
		<tr>
		  <td><input type="checkbox" id="inlineCheckbox1" value="option1"></td>
		  <th scope="row">3</th>
		  <td>the Bird的家庭</td>
		  <td>234567981234567841564132</td>
		  <td>the Bird</td>
		  <td>1302016365</td>
		  <td>1302016365@163.com</td>
		  <td>闵行区</td>
		  <td>2017-6-9</td>
		  <td>启用</td>
		  <td><a href="#">编辑</a></td>
		</tr>
	  </tbody>
	</table>
			
			</div>
		</div>
		
		<div style="margin:0px;text-align:center;margin-top:0px;">
			<ul class="pagination" style="height:100px;">
				<li><a href="#">«</a></li>
				<li class="active"><a href="#">1</a></li>
				<li class="disabled"><a href="#">2</a></li>
				<li><a href="#">3</a></li>
				<li><a href="#">4</a></li>
				<li><a href="#">5</a></li>
				<li><a href="#">»</a></li>
				
				<li>  
                	总记录
                    1
                    总页数
                    1
                    当前第
                    1
                    页
	                转到
	                <input type="text" style="width:30px;" class="input" value="1" />
	                页
	                <button type="button" class="btn btn-success">确定</button>
            	</li>
				
			</ul>
			
		</div>
			

	
	</div>
	
	
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>

Jetbrains全家桶1年46,售后保障稳定

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/234492.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • dm348_再论不平等

    dm348_再论不平等UBL前两篇文章中我们有提到过了。参看:DM368开发–文件烧写参看:DM368开发–Bootloader开发简单点来说,UBL主要功能是实现将U-boot代码拷贝到DDR2内存中,建立运行环境并引导U-boot。但是现在我有个问题,我想让DM368开发板运行在432Mhz,目前它的状态是AR,297Mhz、DDR为243Mhz。具体操作为,修改/ps

    2022年8月13日
    5
  • wx.login报40029

    wx.login报40029error:40029:invalidcode,rid:61c28073-488240c7-666b1fc2

    2022年5月22日
    79
  • ModelSimSE_10.2c破解

    ModelSimSE_10.2c破解我开始也是找的网上破解crack,但是生成license后打开软件提示:modelsim打开时候出现提示:“unabletocheckoutaviewerlicensenecessaryforuseofthemodelsimgraphicaluserinterface.Vsimisclosing”。说明license还是有问题;按照破解说明,需要pat…

    2022年5月22日
    32
  • css分页效果_asp中数字分页样式

    css分页效果_asp中数字分页样式CSS分页实例简单分页如果你的网站有很多个页面,你就需要使用分页来为每个页面做导航。ul.pagination{display:inline-block;padding:0;marg

    2022年8月6日
    4
  • 深入解析 Java集合类ArrayList与Vector的区别

    深入解析 Java集合类ArrayList与Vector的区别集合类分为两个分支,Collection与Map,其中Collection接口继承了Iterator接口,继承Iterator接口的类可以使用迭代器遍历元素(即Collection接口的类都可以使用),今天我们从相同点、不同点、以及JDK源码等各个方面来深入解析下,底层使用数组实现的两个集合类:ArrayList与Vector的区别与联系区别与联系:1.ArrayList出现于jdk1…

    2022年5月20日
    36
  • 如何用正确的姿势发微信群通知?「建议收藏」

    如何用正确的姿势发微信群通知?「建议收藏」人数众多的微信群里,你如何管理通知发放进度?想不想使用更高效的办法发通知?本文推荐给你一款小程序,帮助你轻松搞定微信群通知。(由于微信公众号外部链接的限制,文中的部分链接可能无法正确打开。如有需要,请点击文末的“阅读原文”按钮,访问可以正常显示外链的版本。)两难微信群被用来发通知,其实是工具使用场景错位。因为微信并不是高效办公的工具。否则腾讯也就不必开发企业微信,和

    2022年5月19日
    110

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号