_Layout_layui.cshtml

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"]</title>
    <link href="~/lib/layui-v2.7.6/css/layui.css" rel="stylesheet" />

    <style>

        /*主题色修改
           主色调 #009688>#1E9FFF
           次色调 #5FB878>#51aff5

        */


    </style>

    @await RenderSectionAsync("Css", required: false)

</head>
<body>
    <header>
        <h2 style="text-align:center;margin-top:10px;">ESL IP Address Managment System</h2>
        <div style="margin:0px 10px;">
            <p>[172.16.73.XXX] For all servers/devices locate in ISD ROOM</p>
            <p>[172.16.X.31 - 150] for China local clients</p>
            <p>[172.16.X.151-220] for japanese clients.</p>
            <p>[172.16.X.31-150] for Mess floor China local clients</p>
            <p>[172.16.x.151 - 220] for Mess floor Japanese local clients</p>
        </div>

        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title">
                <li class="layui-this View-IPList" lay-id="1" style="display:none;"><a href="/IPList/Index">SearchIP</a></li>
                <li lay-id="3" class="View-SegmentList" style="display:none;"><a href="/SegmentList/index">Segment</a></li>
                <li lay-id="4" class="View-PurposeList" style="display:none;"><a href="/PurposeList/index">Purpose</a></li>
                <li lay-id="5" class="View-UserList" style="display:none;"><a href="/UserList/index">User</a></li>
                <li lay-id="6" class="View-GroupList" style="display:none;"><a href="/GroupList/index">Group</a></li>
                <li lay-id="7"><a href="#" id="Logout">Logout</a></li>
            </ul>
            @*<div class="layui-tab-content">1</div>*@
        </div>

    </header>
    <div class="container">
        <main role="main" class="pb-3">
            @RenderBody()
        </main>
    </div>

    <footer>
        <div class="container">

        </div>
    </footer>
    <script src="~/lib/layui-v2.7.6/layui.js"></script>
    <script src="~/lib/jquery/dist/jquery-3.6.4.js"></script>
    <script src="~/js/helper.js"></script>
    <script src="~/js/LoadExecute.js"></script>
    @await RenderSectionAsync("Scripts", required: false)

    <script>

        $("#Logout").click(function () {
            objSessionStorage.Clear();
            window.location.href = "/Login/Logout";
        });

    </script>
</body>
</html>

 

posted @ 2023-05-04 10:25  妖狐鬼魅  阅读(28)  评论(0编辑  收藏  举报