代码拉取完成,页面将自动刷新
同步操作将从 自由自在的小鱼/bootStrap-addTabs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>ADBC</title>
<link rel="stylesheet" href="theme/css/bootstrap.min.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="theme/css/bootstrap.addtabs.css" type="text/css" media="screen"/>
<script src="theme/js/jquery.min.js"></script>
<script src="theme/js/bootstrap.min.js"></script>
<script src="theme/js/bootstrap.addtabs.js"></script>
<!--[if lt IE 9]>
<script src="theme/js/html5shiv.min.js"></script>
<script src="theme/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
$(function () {
$('#tabs').addtabs({contextmenu:true});
$('#save').click(function () {
Addtabs.add({
id: $(this).attr('addtabs'),
title: $(this).attr('title') ? $(this).attr('title') : $(this).html(),
content: Addtabs.options.content ? Addtabs.options.content : $(this).attr('content'),
url: $(this).attr('url'),
ajax: $(this).attr('ajax') ? true : false
})
});
})
</script>
</head>
<body>
<header class="topbar admin-header">
<div class="brand">
<strong>LOGO IN HERE</strong>
<small></small>
</div>
<div class="topbar-collapse text-right">
<!--Button group-->
<div class="btn-group" role="group" aria-label="...">
<button type="button" class="btn btn-default" data-addtab="mail" url="/admin/mail">
<i class="glyphicon glyphicon-envelope"></i>我的邮件
</button>
<button type="button" class="btn btn-default" data-addtab="profile" url="/admin/profile">
<i class="glyphicon glyphicon-user"></i>我的属性
</button>
<button type="button" class="btn btn-default" data-addtab="message" url="/admin/message" content="指定内容">
<i class="glyphicon glyphicon-bullhorn"></i>指定内容
</button>
<button type="button" class="btn btn-default" data-addtab="setting" url="/admin/setting" title="指定标题">
<i class="glyphicon glyphicon-cog"></i>指定标题
</button>
<button type="button" class="btn btn-default" data-addtab="ajax" url="/admin/profiles" ajax='true'>
<i class="glyphicon glyphicon-user"></i>使用AJAX
</button>
<button type="button" class="btn btn-default" onclick="Addtabs.closeAll();">
<i class="glyphicon glyphicon-remove"></i>关闭所有
</button>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
用户菜单
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
<ul class="list-group">
<a href="javascript:void(0);" data-addtab="userMenu1" url="/admin/message" class="list-group-item">用户菜单 1</a>
<a href="javascript:void(0);" data-addtab="userMenu2" url="/admin/message" class="list-group-item">用户菜单 2</a>
<a href="javascript:void(0);" data-addtab="userMenu3" url="/admin/message" class="list-group-item">用户菜单 3</a>
<a href="javascript:void(0);" data-addtab="userMenu4" url="/admin/message" class="list-group-item">用户菜单 4</a>
<a href="javascript:void(0);" data-addtab="userMenu5" url="/admin/message" class="list-group-item">用户菜单 5</a>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-9">
<div class="main">
<div id="tabs">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="home">
<button type="button" class="btn btn-default" addtabs="save" id="save" url="/admin/save">
<i class="glyphicon glyphicon-floppy-disk"></i>
SAVE
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。