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 ...
随机推荐
- BZOJ2141 排队 树状数组 分块
原文链接https://www.cnblogs.com/zhouzhendong/p/BZOJ2141.html 题目传送门 - BZOJ2141 题意 给定一个序列 $a$ ,先输出原先的逆序对数. ...
- 020000——00001_使用 PyCharm
1.快速上手的中文视频 简单介绍了如何安装.如何创建文件.如何设置皮肤. http://v.youku.com/v_show/id_XODMyMzM1NzQ4.html 2.Pychram 官方的快速 ...
- Linux下C语言的socket网络编程
关于详细的服务器建立的步骤以及相关的socket套接字的知识我已经在python socket编程的文章中提到过了,大家可以参看那一篇博客来历接socket套接字编程的内容,由于要是用C相关的API所 ...
- Linux下的Sreen命令使用
详细的介绍请参看:http://www.cnblogs.com/mchina/archive/2013/01/30/2880680.html 一.简介 GNU Screen是一款由GNU计划开发的用于 ...
- Web服务API
Web服务API 内容 [ 隐藏 ] 1 概述 2个 services.php 3 详细教程 4 例子 5 另见 概观 Web服务API允许您将插件的功能(通常是外部函数)公开为Web服务. ...
- Debian 9 VIM 使用鼠标右键复制
起因 装了 debian 9 以后,vim没有办法使用鼠标直接选择并复制,后来发现是默认的配置问题.于是需要按照以下方式解决: 解决方法 1. 编辑 vim 的默认配置文件 vim /usr/shar ...
- hdu 3499 flight 【分层图】+【Dijkstra】
<题目链接> 题目大意: 现在给你一些点,这些点之间存在一些有向边,每条边都有对应的边权,有一次机会能够使某条边的边权变为原来的1/2,求从起点到终点的最短距离. 解题分析: 分层图最短路 ...
- python mysql中文乱码
问题: MySQLdb存入数据库后,在命令行查询 "select * from ip;",其中的中文都是乱码的. 但是通过python 执行 "select * from ...
- 大数据小白系列——HDFS(4)
这里是大数据小白系列,这是本系列的第四篇,来看一个真实世界Hadoop集群的规模,以及我们为什么需要Hadoop Federation. 首先,我们先要来个直观的印象,这是你以为的Hadoop集群: ...
- 贪心,打表(或者快速幂), UVA - 11636
题目链接: https://cn.vjudge.net/problem/34398/origin 题目比较简单,就是水题,基础贪心,大于所需的即可: AC代码: 打表: #include <cm ...