123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- @model ProductionLineMonitor.Core.Dtos.UserLoginResultInfoDto
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta http-equiv="cache-control" content="no-cache, must-revalidate">
- <meta http-equiv="expires" content="0">
- <meta name="google" content="notranslate" />
- <meta http-equiv ="Content-Language" content="zh-cn" />
- <title>@ViewData["Title"] - Eink 监测平台</title>
- <link rel="stylesheet" href="/lib/adminlte/bower/bootstrap/dist/css/bootstrap.min.css">
- <link rel="stylesheet" href="/lib/adminlte/bower/font-awesome/css/font-awesome.min.css">
- <link rel="stylesheet" href="/lib/adminlte/dist/css/AdminLTE.min.css">
- <link rel="stylesheet" href="/lib/adminlte/dist/css/skins/skin-blue.min.css">
- <script src="~/axios/axios.min.js"></script>
- <script src="~/lib/vue/vue.min.js"></script>
- @RenderSection("header", required: false)
- <link rel="stylesheet" href="/css/site.css" asp-append-version="true" />
- </head>
- @* skin-blue sidebar-mini sidebar-collapse
- hold-transition skin-blue sidebar-mini *@
- <body id="main_body" class="skin-blue sidebar-mini sidebar-collapse">
- <div class="wrapper">
- <!-- Main Header -->
- <header class="main-header">
- <!-- Logo -->
- <a href="/Home/Index" class="logo">
- <!-- mini logo for sidebar mini 50x50 pixels -->
- <span class="logo-mini"><b>Eink</b></span>
- <!-- logo for regular state and mobile devices -->
- <span class="logo-lg"><b>Eink 监测平台</b></span>
- </a>
- <!-- Header Navbar -->
- <nav class="navbar navbar-static-top" role="navigation">
- <!-- Sidebar toggle button-->
- <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
- <span class="sr-only">Toggle navigation</span>
- </a>
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <li class="dropdown user user-menu">
- <!-- Menu Toggle Button -->
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <!-- The user image in the navbar-->
- <img src="/lib/adminlte/dist/img/default.png" class="user-image" alt="User Image">
- <!-- hidden-xs hides the username on small devices so only the image appears. -->
- <span class="hidden-xs">@Model.Name</span>
- </a>
- <ul class="dropdown-menu">
- <!-- The user image in the menu -->
- <li class="user-header">
- <img src="/lib/adminlte/dist/img/default.png" class="img-circle" alt="User Image">
- <p>
- @Model.JobNo / @Model.Name
- <small>@Model.RoleName</small>
- <small>创建时间. @Model.CreateTime</small>
- </p>
- </li>
- <li class="user-footer">
- <div class="pull-left">
- <a class="btn btn-default btn-flat" onclick="modelChangePassword()">修改密码</a>
- </div>
- <div class="pull-right">
- <a href="/Account/LoginOut" class="btn btn-default btn-flat">退出</a>
- </div>
- </li>
- </ul>
- </li>
- <!-- Control Sidebar Toggle Button -->
- <li>
- <a data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
- </li>
- </ul>
- </div>
- </nav>
- </header>
- <!-- Left side column. contains the logo and sidebar -->
- <aside class="main-sidebar" style="z-index: 9000">
- <section class="sidebar">
- <ul id="sidebar-menu" class="sidebar-menu" data-widget="tree" route_controller="@ViewBag.TitleController" route_action="@ViewBag.TitleAction">
- @* <li class="header">HEADER</li>*@
- @for (int i = 0; i < Model.MenuDtos.Count(); i++)
- {
- @if (Model.MenuDtos[i].Items.Count > 0)
- {
- <li flag="menu" class="treeview">
- <a href="#">
- <i class="@Model.MenuDtos[i].Icon"></i> <span>@Model.MenuDtos[i].Name</span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- @for (int j = 0; j < Model.MenuDtos[i].Items.Count(); j++)
- {
- <li flag="menu">
- <a href="@Model.MenuDtos[i].Items[j].Url">
- <i class="fa fa-circle-o"></i>
- <span>@Model.MenuDtos[i].Items[j].Name</span>
- </a>
- </li>
- }
- </ul>
- </li>
- }
- else
- {
- <li flag="menu">
- <a href="@Model.MenuDtos[i].Url">
- <i class="@Model.MenuDtos[i].Icon"></i>
- <span>@Model.MenuDtos[i].Name</span>
- </a>
- </li>
- }
- }
- </ul>
- </section>
- </aside>
- <div class="content-wrapper">
- @*<section class="content-header">
- <h1>
- @ViewBag.TitleAction
- <small>@ViewBag.TitleActionDescription</small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="#">@ViewBag.TitleController</a></li>
- <li class="active">@ViewBag.TitleAction</li>
- </ol>
- </section>*@
- <section class="content container-fluid">
- @RenderBody()
- </section>
- </div>
- @* <footer class="main-footer">
- <strong>版权 © 2022.</strong> 川奇光电科技(扬州)有限公司.
- </footer>*@
- </div>
- <!-- Change Password Modal -->
- <div class="modal fade" id="modal_change_password" tabindex="-1" role="dialog" aria-labelledby="modal_change_password_label" data-backdrop="static">
- <div class="modal-dialog" role="document" style="width:80%">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">修改密码</h4>
- </div>
- <div class="modal-body">
- <form id="form" role="form" action="" class="form-horizontal">
- <input id="JobNo" name="JobNo" value="@Model.JobNo" type="hidden" />
- <div class="form-group">
- <label for="Password" class="col-sm-2 control-label">原密码</label>
- <div class="col-sm-10">
- <input id="Password" type="password" name="Password" data-msg-required="必须填写原密码" class="form-control"
- data-rule-required="true" value="" />
- </div>
- </div>
- <div class="form-group">
- <label for="NewPassword" class="col-sm-2 control-label">新密码</label>
- <div class="col-sm-10">
- <input type="password" id="NewPassword" name="NewPassword" data-msg-required="必须填写新密码" class="form-control"
- data-rule-required="true" value="" />
- </div>
- </div>
- <div class="form-group">
- <label for="AgainNewPassword" class="col-sm-2 control-label">再次输入</label>
- <div class="col-sm-10">
- <input type="password" id="AgainNewPassword" name="AgainNewPassword" data-msg-required="必须填写新密码" class="form-control"
- data-rule-required="true" value="" />
- </div>
- </div>
- </form>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
- <button onclick="changePassword()" type="button" data-loading-text="正在处理..." class="btn btn-primary">修改</button>
- </div>
- </div>
- </div>
- </div>
- <script src="~/lib/adminlte/bower/jquery/dist/jquery.min.js"></script>
- <script src="~/lib/adminlte/bower/bootstrap/dist/js/bootstrap.min.js"></script>
- <script src="~/lib/adminlte/dist/js/adminlte.min.js"></script>
- <script src="~/js/adminlte-extend.js"></script>
- <script src="~/js/site.js" asp-append-version="true"></script>
- @RenderSection("footer", required: false)
- </body>
- </html>
|