sjy-ecos/views/comm/header.html

52 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title><%= page_title %></title>
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/lib/bootstrap-treeview/bootstrap-treeview.min.css">
<link rel="stylesheet" href="/lib/leaflet/leaflet.css">
<link rel="stylesheet" href="/lib/bootstrap-table/bootstrap-table.min.css">
<link rel="stylesheet" href="/lib/bokeh/css/bokeh.min.css">
<link rel="stylesheet" href="/lib/bokeh/css/bokeh-widgets.min.css">
<link rel="stylesheet" href="/css/mod.css">
<link rel="stylesheet" href="/css/antd.css">
<link rel="stylesheet" href="/css/style.css">
<script type="text/javascript" src="/lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="/lib/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/lib/leaflet/leaflet.js"></script>
<script type="text/javascript" src="/lib/leaflet/leaflet.ajax.min.js"></script>
<script type="text/javascript" src="/lib/leaflet/leaflet.ChineseTmsProviders.js"></script>
<script type="text/javascript" src="/lib/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/lib/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript"
src="/lib/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.min.js"></script>
<script type="text/javascript" src="/lib/bokeh/js/bokeh.min.js"></script>
<script type="text/javascript" src="/lib/bokeh/js/bokeh-api.min.js"></script>
<script type="text/javascript" src="/lib/bokeh/js/bokeh-compiler.min.js"></script>
<script type="text/javascript" src="/lib/bokeh/js/bokeh-widgets.min.js"></script>
<script type="text/javascript" src="/js/mod.min.js"></script>
</head>
<body>
<div class="head-wrapper">
<div class="container">
<div class="logo-wrapper">
<img src="/images/logo.png" alt="三江源">
<img src="/images/title.png" alt="三江源">
<% if(user) {%>
<a href="/logout" title="退出登录"><span><i class="anticon anticon-logout"></i> 退出</span></a>
<span style="float:right;"><%= user.realname %></span>
<% } else { %>
<a href="/login" title="用户登录"><span><i class="anticon anticon-user"></i> 登录</span></a>
<% } %>
</div>
<ul class="main-nav-menu navbar-nav">
<li><a aria-current="true" href="/index">首页</a></li>
<li><a aria-current="false" href="/intro/location">三江源区</a></li>
<li><a aria-current="false" href="/network/meteorological">监测网络</a></li>
<li><a aria-current="false" href="/data">数据管理</a></li>
<li><a aria-current="false" href="/ei/landuse-landcover">生态评估</a></li>
</ul>
</div>
</div>