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 ...
随机推荐
- JAVA连接MYSQL,查询 ,添加,删除,语句
package com; import Java.sql.*;/** *//** * @author Administrator */public class ggg { private ...
- Codeforces 1016G Appropriate Team 数论 FWT
原文链接https://www.cnblogs.com/zhouzhendong/p/CF1016G.html 题目传送门 - CF1016G 题意 给定 $n,x,y$ ,以及一个含有 $n$ 个元 ...
- 三级区域jquery插件
/*! * Distpicker v1.0.4 * https://github.com/fengyuanchen/distpicker * * Copyright (c) 2014-2016 Fen ...
- 004 Java的一次面试题,学长列举
据说是Java的面试题,感觉有些汗颜,所以决定研究一下. 1.线程.进程.协程的区别,他们怎么进行线程的交互? 2.k8s内的scheduler怎么做的,流程?跟etcd怎么交互? 3.hashmap ...
- 整合django和bootstrap框架
环境: python版本:2.7.8 django版本:1.7.1 bootstrap版本:3.3.0 首先github上面有两个开源的项目用来整合django和bootstrap. https:// ...
- 不利用C语言库函数,实现字符串相关函数
#include<stdio.h> int strLength(char* s)//求字符长度 { ; while(s[i]!=NULL) { i++; } return i; } int ...
- NLR:利用非线性回归,梯度下降法求出学习参数θ,进而求得Cost函数最优值——Jason niu
import numpy as np import random def genData(numPoints,bias,variance): x = np.zeros(shape=(numPoints ...
- Gym 102091L Largest Allowed Area 【二分+二维前缀和】
<题目链接> 题目大意:给你一个由01组成的矩形,现在问你,该矩形中,最多只含一个1的正方形的边长最长是多少. 解题分析: 用二维前缀和维护一下矩形的01值,便于后面直接$O(1)$查询任 ...
- react编码规范
1.每个文件只写一个组件,但是多个无状态组件可以放在单个文件中: 2.有内部状态,方法或要对外暴露ref的组件,用类式组件: 3.无内部状态,方法或无需对外暴露ref的组件,用函数式组件: 4.有内部 ...
- 使用open live writer客户端写博客zz
下载地址 http://openlivewriter.org/ 具体配置步骤 选择日志服务类型为"其它日志类型" 添加日志账户: 安装后的优化配置 获取博客园主题 安装完OLW(o ...