You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/webroot/AutoSa/templates/test.html

91 lines
3.8 KiB

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>运维管理系统</title>
<link rel="shortcut icon" type="image/x-icon" href="http://img.youlu.com/web/favicon.gif" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5js"></script>
<![endif]-->
<link href="/static/css/bootstrap.css" rel="stylesheet">
<link href="/static/css/main.css" rel="stylesheet">
<script src="/static/js/main.js"></script>
<script src="/static/js/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="/static/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="navbar-header"> <a class="navbar-brand" href="#">运维管理系统</a> </div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="/">主页</a></li>
<li><a href="#">用户管理</a></li>
<li><a href="#">命令执行</a></li>
<li><a href="#">主机管理</a></li>
</ul>
<div class="btn-group navbar-right">
<button type="button" class="btn btn-primary dropdown-toggle " data-toggle="dropdown">
{{ name }}<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-logout">
<li class="dropdown-logout"><a href="/logout/">退出</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="row">
<div class="col-md-12">
<div class="row>
<!--Sidebar content-->
<div class="sidebar-menu">
<div class="menu-first" ><a href="#userMenu" data-toggle="collapse"><i class="glyphicon glyphicon-th"></i> 用户管理</a></div>
<ul id="userMenu" class="nav nav-list navbar-collapse.in menu-second">
<li><a href="/showUser/"><i class="glyphicon glyphicon-send"></i> 查看用户</a></li>
<li><a href="/addUser/"><i class="glyphicon glyphicon-send"></i> 添加用户</a></li>
</ul>
<div class="menu-first" ><a href="#monitorMenu" data-toggle="collapse"><i class="glyphicon glyphicon-th"></i> 执行命令</a></div>
<ul id="monitorMenu" class="nav nav-list navbar-collapse.in menu-second">
<li><a href="/runCommand/"><i class="glyphicon glyphicon-send"></i> 执行命令</a></li>
<li><a href="/addServer/"><i class="glyphicon glyphicon-send"></i> 添加主机</a></li>
<li><a href="#"><i class="glyphicon glyphicon-send"></i> 环境</a></li>
</ul>
<div class="menu-first" ><a href="#articleMenu" data-toggle="collapse"><i class="glyphicon glyphicon-th"></i> 主机管理</a></div>
<ul id="articleMenu" class="nav nav-list navbar-collapse menu-second">
<li><a href="/showAssets/"><i class="glyphicon glyphicon-send"></i> 主机列表</a></li>
<li><a href="/addAssets/"><i class="glyphicon glyphicon-send"></i> 添加主机</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
<input type="text" class="form-control">
</div><!-- /input-group -->
</div><!-- /.col-lg-6 -->
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div><!-- /input-group -->
</div><!-- /.col-lg-6 -->
</div><!-- /.row -->
</div>
</body>
</html>