adminlte.js-页面模版
html页面
使用cdn加速、
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test</title>
<meta charset="UTF-8"/>
<meta name="renderer" content="webkit"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="format-detection" content="telephone=no"/>
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="https://cdn.bootcss.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet"/>
<link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/AdminLTE.css" rel="stylesheet"/>
<!-- <link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/alt/AdminLTE-bootstrap-social.css" rel="stylesheet"/> -->
<!-- <link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/alt/AdminLTE-fullcalendar.css" rel="stylesheet"/> -->
<!-- <link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/alt/AdminLTE-select2.css" rel="stylesheet"/> -->
<!-- <link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/alt/AdminLTE-without-plugins.css" rel="stylesheet"/> -->
<!-- <link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/skins/_all-skins.css" rel="stylesheet"/> -->
<link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/skins/_all-skins.min.css" rel="stylesheet"/>
<link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/skins/skin-black-light.css" rel="stylesheet"/>
<link href="https://cdn.bootcss.com/admin-lte/2.3.11/css/skins/skin-black.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic" rel="stylesheet" /> <!--[if lt IE 9]>
<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" ></script>
<script src="https://cdn.bootcss.com/jQuery-slimScroll/1.3.8/jquery.slimscroll.min.js"></script>
<script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script> <script src="https://cdn.bootcss.com/admin-lte/2.3.11/js/app.js"></script>
<script src="https://cdn.bootcss.com/admin-lte/2.3.11/js/demo.js"></script>
</head> <body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="index.html" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini">
<img src="/images/index_bg.jpg" width="40px" height="40px"/>
</span>
<span class="logo-lg">Test</span>
</a>
<!-- Header Navbar -->
<nav class="navbar navbar-static-top" >
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">切换导航</span>
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- User Account: -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="/images/user.jpg" class="user-image" alt="User Image" />
<span class="hidden-xs">欢迎您:admin</span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img id="user-header" src="data:images/user.jpg" class="img-circle" alt="User Image"/>
<p><span>admin</span></p>
</li>
<!--Menu Body-->
<li class="user-body">
<div class="col-xs-4 text-center">
<a href="#">Followers</a>
</div>
<div class="col-xs-4 text-center">
<a href="#">Sales</a>
</div>
<div class="col-xs-4 text-center">
<a href="#">Friends</a>
</div>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a id="systemsettingBtn" href="javascript:void(0)" class="btn btn-default btn-flat">修改密码</a>
</div>
<div class="pull-right">
<a href="/logout" class="btn btn-default btn-flat">注销</a>
</div>
</li>
</ul>
</li>
<!-- Control Sidebar Toggle Button -->
<li>
<a href="#" data-toggle="control-sidebar">
<i class="fa fa-gears"></i>
</a>
</li>
</ul>
</div>
</nav>
</header>
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="/images/user.jpg" class="img-circle" alt="User Image"/>
</div>
<div class="pull-left info">
<p>Alexander Pierce</p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search..."/>
<span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
<li class="header">MAIN NAVIGATION</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-dashboard"></i>
<span>Dashboard</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
</ul>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-files-o"></i>
<span>Layout Options</span>
<span class="pull-right-container">
<span class="label label-primary pull-right">4</span>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li>
</ul>
</li>
<li>
<a href="javascript:;" data-url="default.html">
<i class="fa fa-th"></i> <span>Widgets</span>
<span class="pull-right-container">
<small class="label pull-right bg-green">new</small>
</span>
</a>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-pie-chart"></i>
<span>Charts</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Morris</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Flot</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
</ul>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-laptop"></i>
<span>UI Elements</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> General</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Icons</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Modals</a></li>
</ul>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-edit"></i> <span>Forms</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Editors</a></li>
</ul>
</li>
<li class="treeview active">
<a href="javascript:;">
<i class="fa fa-table"></i> <span>Tables</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="active"><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
</ul>
</li>
<li>
<a href="javascript:;" data-url="default.html">
<i class="fa fa-calendar"></i> <span>Calendar</span>
<span class="pull-right-container">
<small class="label pull-right bg-red">3</small>
<small class="label pull-right bg-blue">17</small>
</span>
</a>
</li>
<li>
<a href="javascript:;" data-url="default.html">
<i class="fa fa-envelope"></i> <span>Mailbox</span>
<span class="pull-right-container">
<small class="label pull-right bg-yellow">12</small>
<small class="label pull-right bg-green">16</small>
<small class="label pull-right bg-red">5</small>
</span>
</a>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-folder"></i> <span>Examples</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Profile</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Login</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Register</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Pace Page</a></li>
</ul>
</li>
<li class="treeview">
<a href="javascript:;">
<i class="fa fa-share"></i> <span>Multilevel</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Level One</a></li>
<li class="treeview">
<a href="javascript:;"><i class="fa fa-circle-o"></i> Level One
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Level Two</a></li>
<li class="treeview">
<a href="javascript:;"><i class="fa fa-circle-o"></i> Level Two
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Level Three</a></li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Level Three</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="javascript:;" data-url="default.html"><i class="fa fa-circle-o"></i> Level One</a></li>
</ul>
</li>
<li><a href="javascript:;"><i class="fa fa-book" data-url="default.html"></i> <span>Documentation</span></a></li>
<li class="header">LABELS</li>
<li><a href="javascript:;"><i class="fa fa-circle-o text-red" data-url="default.html"></i> <span>Important</span></a></li>
<li><a href="javascript:;"><i class="fa fa-circle-o text-yellow" data-url="default.html"></i> <span>Warning</span></a></li>
<li><a href="javascript:;"><i class="fa fa-circle-o text-aqua" data-url="default.html"></i> <span>Information</span></a></li>
</ul>
</section>
</aside>
<section class="content-wrapper">
<div class="main-iframe-body">
<iframe id="main-iframe" frameborder="no" src="/default"></iframe>
</div>
</section>
</div>
</body>
<script type="text/javascript">
$(function(){
onclickSidebarMenuEvent();
}); /**
* 左边菜单版定点击事件
* @returns
*/
function onclickSidebarMenuEvent(){
$(".sidebar-menu a").click(function(){
var url = $(this).data('url');
if(!url) {
//console.error("url must not null.")
return;
}
if($('#main-iframe').attr('src') == url) return;
document.getElementById("main-iframe").src = url;
});
}
</script>
</html>
adminlte.js-页面模版的更多相关文章
- 高性能流媒体服务器EasyDSS前端重构(一)-从零开始搭建 webpack + vue + AdminLTE 多页面脚手架
本文围绕着实现EasyDSS高性能流媒体服务器的前端框架来展开的,具体EasyDSS的相关信息可在:www.easydss.com 找到! EasyDSS 高性能流媒体服务器前端架构概述 EasyDS ...
- Vue.js:模版语法
ylbtech-Vue.js:模版语法 1.返回顶部 1. Vue.js 模板语法 Vue.js 使用了基于 HTML 的模版语法,允许开发者声明式地将 DOM 绑定至底层 Vue 实例的数据. Vu ...
- 高性能流媒体服务器EasyDSS前端重构(二) webpack + vue + AdminLTE 多页面提取共用文件, 优化编译时间
本文围绕着实现EasyDSS高性能流媒体服务器的前端框架来展开的,具体EasyDSS的相关信息可在:www.easydss.com 找到! 接上回 <高性能流媒体服务器EasyDSS前端重构(一 ...
- AdminLTE 2 开源模版
AdminLTE 2 开源模版: 1. 文档 https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html 2. 代码 ...
- js页面跳转整理
js页面跳转整理 js方式的页面跳转1.window.location.href方式 <script language="javascript" type=" ...
- js获取当前时间&js 页面时钟
js获取当前时间 //获取当前时间,格式YYYY-MM-DD function getNowFormatDate() { var date = new Date(); var seperator1 = ...
- js页面跳转参考代码大全
整理一下JS页面跳转参考代码 第一种: <script language=/"javascript/" type=/"text/javascript/&qu ...
- js页面传参数时,参数值包含特殊字符的处理
js页面传参数时,参数值包含特殊字符应该怎么处理,解决方法就是利用js的escape函数,这个函数在解决中文乱码等方面应用的比较广泛.推荐使用. 工作中遇到的小问题,一个页面中通过window.sho ...
- js页面跳转 和 js打开新窗口 方法
js页面跳转 和 js打开新窗口 方法 第一种: 第二种: 第三种: 第四种: 第五种: 1.在原来的窗体中直接跳转用 window.location.href="你所要跳转的页面" ...
- 常用的JS页面跳转代码调用大全
一.常规的JS页面跳转代码 1.在原来的窗体中直接跳转用 <script type="text/javascript"> window.location.href=&q ...
随机推荐
- Python学习(二十五)—— Python连接MySql数据库
转载自http://www.cnblogs.com/liwenzhou/p/8032238.html 一.Python3连接MySQL PyMySQL 是在 Python3.x 版本中用于连接 MyS ...
- unitest框架--认识与基本使用
1.import unitest------套路1,必须导入!! 2.#创建测试类--------------------套路2,测试名自取,最好首字母大写,必须继承unitest下的Testcase ...
- day21 模块 异常处理
常用模块:http://www.cnblogs.com/Eva-J/articles/7228075.html 今日概要: #time # —— 时间:时间戳 字符串 结构化时间 #collectio ...
- UVA 1590 IP Networks JAVA
题意:输入m代表接下来的数据个数,计算接下来输入数据的网络掩码,和最小网络地址. 思路:①子网掩码:先将数据转为二进制,判断从哪一位开始有数据不一样,记下下标index,则子网掩码是index的前面是 ...
- Node.js API快速入门
Node.js API 快速入门 一.事件EventEmitter const EventEmitter = require('events'); class MyEmitter extends Ev ...
- 【DWM1000】 非官方开源定位代码bitcraze
蓝点DWM1000 模块已经打样测试完毕,有兴趣的可以申请购买了,更多信息参见 蓝点论坛 正文: 最近关注DWM1000 定位,一方面在看DWM1000 官方提供的代码,也在四处网上找资料看资料. 其 ...
- redis(六)
安装包 到中文官网查找客户端代码 联网安装 sudo pip install redis 使用源码安装 unzip redis-py-master.zip cd redis-py-master sud ...
- 2017.08.06【NOIP提高组】模拟赛B组
Summary 今天的比赛60+100+100=260分,没有想到第一题正解是搜索,我与AK差一段距离,这段距离,叫倒着搜.总的来说不是很难. Problem T1 天平 题目大意 给你N个排序好的砝 ...
- Flask 三方组件 WTForms
WTForms是一个支持多个web框架的form组件,主要用于对用户请求数据进行验证 from flask import Blueprint from flask import request fro ...
- CentOS6.5使用rsync远程同步
需达成目标:在服务器(192.168.18.211)端搭建 rsync 服务, 将 /root/rsync-server/ 目录同步到客户端 /root/rsync-local 目录 Li ...