ReportService/ReportService/Views/Shared/_Layout.cshtml
2020-06-02 09:11:45 +08:00

80 lines
3.0 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ReportService</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" />
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/lib/jquery.cookie/jquery.cookie.min.js"></script>
<script src="~/lib/vue/vue.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
</head>
<body>
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light border-bottom box-shadow mb-3 headbar">
<div class="container">
<img alt="" src="~/images/logo75.png" class="logo" />
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">自定义报表服务</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse">
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-dark" href=".">主页</a>
</li>
<li>
<a href="#" class="userbar nav-link"></a>
</li>
</ul>
</div>
<ul class="nav pull-right">
</ul>
</div>
</nav>
</header>
<div class="container">
<main role="main" class="pb-3">
@RenderBody()
</main>
</div>
<footer class="border-top footer text-muted">
<div class="container">
<ul class="nav">
<li class="nav-item">
<a class="nav-link" target="_blank" href="http://39.105.71.191/ggws_klmy/ReportService/issues">技术支持</a>
</li>
</ul>
</div>
</footer>
<script type="text/javascript">
$(function () {
var uid = myjs.getUId();
var un = myjs.getUName();
if (uid && un) {
$(".userbar").html("" + un + "(" + uid + ")");
}
});
</script>
@RenderSection("Scripts",required: false)
<style type="text/css">
.headbar {
height: 66px;
background-color: #4489CA !important;
color: #000;
}
.logo {
margin-right: 30px;
width: 40px;
}
</style>
</body>
</html>