@using Microsoft.AspNetCore.Http;
@{
    //var sel =
    var urldata = this.Context.Request.RouteValues;
    string url = ("/" + urldata["controller"].ToString() + "/" + urldata["action"].ToString()).ToUpper();
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta lang="ch-Zn">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>BLV | @ViewData["Title"] </title>
    <link rel="stylesheet" href="~/OT/toastr.min.css" />
    <!-- 离线 Google 字体: Source Sans Pro -->
    <link rel="stylesheet" href="~/OT/google.css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="~/OT/all.min.css">
    <!-- Ionicons -->
    @*<link rel="stylesheet" href="~/OT/ionicons.min.css">*@
    <!-- Tempusdominus Bootstrap 4 -->
    <link rel="stylesheet" href="~/OT/tempusdominus-bootstrap-4.min.css">
    <!-- iCheck -->
    <link rel="stylesheet" href="~/OT/icheck-bootstrap.min.css">
    <!-- JQVMap -->
    <link rel="stylesheet" href="~/OT/jqvmap.min.css">
    <!-- 主题样式 -->
    <link rel="stylesheet" href="~/dist/css/adminlte.min.css">
    <!-- overlayScrollbars -->
    <link rel="stylesheet" href="~/OT/OverlayScrollbars.min.css">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="~/OT/daterangepicker.css">
    <!-- summernote -->
    <link rel="stylesheet" href="~/OT/summernote-bs4.min.css">

     <!-- summernote -->
    <script src="~/js_custom/loadImage.js"></script>

 @* 日期包*@
 <script src="~/js/dayjs.min.js"></script>
 @* cookie包*@
<script src="~/js/js.cookie.min.js"></script>

    <style>

          .swal-wide {
              overflow:scroll;
               height:70vh !important;
               justify-content: flex-start!important;
               padding:10PX!important;
            }
        @@media screen and (min-width:992px) {
            .swal-wide {
                height:60vh !important;
                width: 60vw !important;
                padding:20PX!important;
            }
        }
         @@media screen and (max-width:992px) {
          .sjhide{
                display:none !important;
            }
        }

    </style>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
    <div class="wrapper">

        <!-- Preloader -->
        @*  <div class="preloader flex-column justify-content-center align-items-center">
            <img class="animation__shake" src="~/dist/img/logo.png" alt="BLVLogo" style="width:50vw;">
            </div>*@

        <!-- 导航栏 -->
        <nav class="main-header navbar navbar-expand navbar-white navbar-light">
            <!-- 左侧导航栏链接 -->
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
                </li>
                <li class="nav-item ">
                    <a href="/" class="nav-link" style="padding-left:0;">
                        <i class="fa fa-home"></i>
                    </a>
                </li>
                <li class="nav-item ">
                    <div class="nav-link" style="padding-right:0;padding-left:0;">
                        <button type="button" onclick="SelHotel(@(ViewBag.SelHotel == null?"0":"1"));" class="btn btn-xs btn-block btn-info ">@(ViewBag.SelHotel==null?"暂无酒店":ViewBag.SelHotel.HotelName)</button>
                    </div>
                </li>

            </ul>
            <!-- 右侧导航栏链接 -->
            <ul class="navbar-nav ml-auto">
                <!-- Navbar Search -->
                <li class="nav-item">
                    <div class="nav-link" style="padding-right:0;padding-left:0;">
                        <button type="button" onclick="switchhotel();" class="btn btn-xs btn-block btn-info ">同步数据</button>
                    </div>
                </li>

                <!-- 消息下拉菜单 -->
                @* <li class="nav-item dropdown">
                    <a class="nav-link" data-toggle="dropdown" href="#">
                    <i class="far fa-comments"></i>
                    <span class="badge badge-danger navbar-badge">3</span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                    <a href="#" class="dropdown-item">
                    <!-- 消息开始 -->
                    <div class="media">
                    <img src="~/dist/img/user1-128x128.jpg" alt="用户头像" class="img-size-50 mr-3 img-circle">
                    <div class="media-body">
                    <h3 class="dropdown-item-title">
                    Brad Diesel
                    <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
                    </h3>
                    <p class="text-sm">有空的话就打电话给我...</p>
                    <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 小时前</p>
                    </div>
                    </div>
                    <!-- 消息结束 -->
                    </a>
                    <div class="dropdown-divider"></div>
                    <a href="#" class="dropdown-item">
                    <!-- 消息开始 -->
                    <div class="media">
                    <img src="~/dist/img/user8-128x128.jpg" alt="用户头像" class="img-size-50 img-circle mr-3">
                    <div class="media-body">
                    <h3 class="dropdown-item-title">
                    John Pierce
                    <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
                    </h3>
                    <p class="text-sm">我收到你的消息了</p>
                    <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 小时前</p>
                    </div>
                    </div>
                    <!-- 消息结束 -->
                    </a>
                    <div class="dropdown-divider"></div>
                    <a href="#" class="dropdown-item">
                    <!-- 消息开始 -->
                    <div class="media">
                    <img src="~/dist/img/user3-128x128.jpg" alt="用户头像" class="img-size-50 img-circle mr-3">
                    <div class="media-body">
                    <h3 class="dropdown-item-title">
                    Nora Silvester
                    <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
                    </h3>
                    <p class="text-sm">主题在这里</p>
                    <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 小时前</p>
                    </div>
                    </div>
                    <!-- 消息结束 -->
                    </a>
                    <div class="dropdown-divider"></div>
                    <a href="#" class="dropdown-item dropdown-footer">查看所有消息</a>
                    </div>
                    </li>*@
                <!-- 通知下拉菜单 -->
                <li class="nav-item dropdown">
                    <a class="nav-link" data-toggle="dropdown" href="#">
                        <i class="far fa-bell"></i>
                        <span class="badge badge-warning navbar-badge">15</span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                        <span class="dropdown-item dropdown-header">15 条通知</span>
                        <div class="dropdown-divider"></div>
                        <a href="#" class="dropdown-item">
                            <i class="fas fa-envelope mr-2"></i> 4 条新消息
                            <span class="float-right text-muted text-sm">3 分钟前</span>
                        </a>
                        <div class="dropdown-divider"></div>
                        <a href="#" class="dropdown-item">
                            <i class="fas fa-users mr-2"></i> 8 个好友请求
                            <span class="float-right text-muted text-sm">12 小时前</span>
                        </a>
                        <div class="dropdown-divider"></div>
                        <a href="#" class="dropdown-item">
                            <i class="fas fa-file mr-2"></i> 3 个新报告
                            <span class="float-right text-muted text-sm">2 天前</span>
                        </a>
                        <div class="dropdown-divider"></div>
                        <a href="#" class="dropdown-item dropdown-footer">查看所有通知</a>
                    </div>
                </li>
                @* <li class="nav-item">
                    <a class="nav-link" data-widget="fullscreen" href="#" role="button">
                    <i class="fas fa-expand-arrows-alt"></i>
                    </a>
                    </li>*@
                <li class="nav-item">
                    <a title="退出登录" href="~/Api/signout" class="nav-link" role="button">
                        <i class="fas fa-sign-out-alt"></i>
                    </a>
                    @* <a class="nav-link" data-widget="control-sidebar" data-controlsidebar-slide="true" href="#" role="button">
                        <i class="fas fa-th-large"></i>
                        </a>
                    *@
                </li>
            </ul>
        </nav>
        <!-- /.navbar -->
        <!-- 主侧边栏容器 -->
        <aside class="main-sidebar sidebar-dark-primary elevation-4">
            <!-- 品牌 Logo -->
            <a href="index3.html" class="brand-link">
                <img src="~/dist/img/logo-blv.png" alt="BLV Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
                <span class="brand-text font-weight-light">BLV - RCU</span>
            </a>

            <!-- Sidebar -->
            <div class="sidebar">
                <!-- 侧边栏用户面板（可选） -->
                <div class="user-panel mt-3 pb-3 mb-3 d-flex">
                    <div class="image">
                        <img src="~/dist/img/logo.png" data-src="http://face.blv-oa.com/ImgServer/FileImage2?url=@ViewBag.HeadImg" class="img-circle elevation-2" alt="用户头像">
                    </div>
                    <div class="info">
                        <a href="#" class="d-block">@ViewBag.Uname</a>
                    </div>
                </div>

                <!-- SidebarSearch Form -->
                @*<div class="form-inline">
                    <div class="input-group" data-widget="sidebar-search">
                    <input class="form-control form-control-sidebar" type="search" placeholder="搜索" aria-label="Search">
                    <div class="input-group-append">
                    <button class="btn btn-sidebar">
                    <i class="fas fa-search fa-fw"></i>
                    </button>
                    </div>
                    </div>
                    </div>*@

                <!-- 侧边栏菜单 -->
                <nav class="mt-2">
                    <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                        <!-- 使用 .nav-icon 类添加图标，
                             或使用 font-awesome 或其他任何图标字体库 -->
                        <li class="nav-item ">
                            <a href="/" class="nav-link @(url.Contains("/HOME/INDEX".ToUpper())?"active":"" ) ">
                                <i class="nav-icon fas fa-home"></i>
                                <p>
                                    首页
                                </p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="pages/widgets.html" class="nav-link">
                                <i class="nav-icon fas fa-bed"></i>
                                <p>
                                    客房管理
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="#" class="nav-link">
                                <i class="nav-icon fas fa-server"></i>
                                <p>
                                    服务信息管理
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="#" class="nav-link">
                                <i class="nav-icon fas fa-desktop"></i>
                                <p>
                                    设备信息管理
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>
                        <li class="nav-item  @(url.Contains("/RCUServer/".ToUpper())?"menu-is-opening menu-open":"")"">
                            <a href="/RCUServer/index" class="nav-link">
                                <i class="nav-icon fas fa-edit"></i>
                                <p>
                                    RCU 管理
                                    <span id="rcucount" class="badge badge-info right">6</span>
                                </p>
                            </a>

                        </li>
                        <li class="nav-item">
                            <a href="#" class="nav-link">
                                <i class="nav-icon fas fa-th"></i>
                                <p>
                                    酒店信息管理
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>
                        <li class="nav-item">
                            <a   class="nav-link">
                                <i class="nav-icon far fa-calendar-alt"></i>
                                <p>
                                    统计报表
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>
                         <li class="nav-item">
                            <a  href="~/ModelFile/Index" class="nav-link  @(url.Contains("/ModelFile/index".ToUpper())?"active":"" ) ">
                                <i class="nav-icon far fa-calendar-alt"></i>
                                <p>
                                    模型数据
                                    <span class="badge badge-info right">6</span>
                                </p>
                            </a>
                        </li>
                        @*<li class="nav-header">统计报表</li>*@
                        <li class="nav-item  @(url.Contains("/Server/".ToUpper())?"menu-is-opening menu-open":"")">
                            <a    class="nav-link">
                                <i class="nav-icon fa fa-cloud"></i>
                                <p>
                                    服务器管理
                                    <i class="fas fa-angle-left right"></i>
                                </p>
                            </a>
                            <ul class="nav nav-treeview">
                                <li class="nav-item">
                                    <a href="/Server/UDPLOG" class="nav-link  @(url.Contains("/Server/UDPLOG".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-window-restore nav-icon" aria-hidden="true"></i>
                                        <p>
                                            UDP通讯日志
                                            <span id="udplogcount" class="badge badge-info right">0</span>
                                        </p>
                                    </a>
                                </li>
                                    <li class="nav-item">
                                    <a href="/Server/UDPINFO" class="nav-link  @(url.Contains("/Server/UDPINFO".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-window-restore nav-icon" aria-hidden="true"></i>
                                        <p>
                                            UDP通讯统计
                                            @*<span id="udplogcount" class="badge badge-info right">0</span>*@
                                        </p>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a href="/Server/Rucs" class="nav-link @(url.Contains("/Server/Rucs".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-wrench nav-icon" aria-hidden="true"></i>
                                        <p>RUCS服务管理</p>
                                    </a>
                                </li>
                                <li style="display:none;" class="nav-item">
                                    <a  href="/Server/BLV_UdpDebug"  class="nav-link @(url.Equals("/Server/BLV_UdpDebug".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-wrench nav-icon" aria-hidden="true"></i>
                                        <p>BLV_UdpDebugger</p>
                                    </a>
                                </li>
                                <li style="display:none;" class="nav-item">
                                    <a  href="/Server/BLV_UdpDebugImg"  class="nav-link @(url.Contains("/Server/BLV_UdpDebugImg".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-wrench nav-icon" aria-hidden="true"></i>
                                        <p>BLV_UdpDebugImg</p>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a  href="/Server/EVENTLOGGING"  class="nav-link @(url.Contains("/Server/EVENTLOGGING".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-wrench nav-icon" aria-hidden="true"></i>
                                        <p>事件信息</p>
                                    </a>
                                </li>
                                <li class="nav-item">
                                    <a  href="/Server/Find_Mac"  class="nav-link @(url.Contains("/Server/Find_Mac".ToUpper())?"active":"" ) ">
                                        <i class="fa fa-wrench nav-icon" aria-hidden="true"></i>
                                        <p>RcuDataLog</p>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </nav>
                <!-- /.sidebar-menu -->
            </div>
            <!-- /.sidebar -->
        </aside>

        <!-- Content Wrapper. 包含页面内容 -->
        <div class="content-wrapper">
            @RenderBody()
        </div>
        <!-- /.content-wrapper -->
        @*<footer class="main-footer">
            <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">BLV 宝来威</a>.</strong>
            保留所有权利。
            <div class="float-right d-none d-sm-inline-block">
            <b>版本</b> 1.0.0
            </div>
            </footer>*@

        <!-- Control Sidebar -->
        @* <aside id="control-sidebar" class="control-sidebar control-sidebar-dark">
            <!-- 控制侧边栏内容在这里 -->
            </aside>*@
        <!-- /.control-sidebar -->
    </div>
    <footer class="main-footer">
        <strong>Copyright &copy; 2014-2022 <a href="#">BLV 宝来威</a>.</strong>
        保留所有权利。
        <div class="float-right d-none d-sm-inline-block">
            <b>版本</b> 1.0.0
        </div>
    </footer>
    <!-- ./wrapper -->
    <!-- jQuery -->
    <script src="~/OT/jquery.min.js"></script>
    <!-- jQuery UI 1.11.4 -->
    <script src="~/OT/jquery-ui.min.js"></script>
    <!-- 解决使用 Bootstrap 提示工具与 jQuery UI 提示工具冲突 -->
    <script>
        $.widget.bridge('uibutton', $.ui.button)
    </script>
    <!-- Bootstrap 4 -->
    <script src="~/OT/bootstrap.bundle.min.js"></script>
   
    <!-- Sparkline -->
    <script src="~/OT/sparkline.js"></script>
    <!-- JQVMap -->
    <script src="~/OT/jquery.vmap.min.js"></script>
    <!-- jQuery Knob Chart -->
    <script src="~/OT/jquery.knob.min.js"></script>
    <!-- daterangepicker -->
    <script src="~/OT/moment.min.js"></script>
    <script src="~/OT/zh-cn.js"></script>

    <script src="~/OT/daterangepicker.js"></script>
    <!-- Tempusdominus Bootstrap 4 -->
    <script src="~/OT/tempusdominus-bootstrap-4.min.js"></script>
    <!-- Summernote -->
    <script src="~/OT/summernote-bs4.min.js"></script>
    <!-- overlayScrollbars -->
    <script src="~/OT/jquery.overlayScrollbars.min.js"></script>

    <!-- AdminLTE App -->
    <script src="~/OT/adminlte.js"></script>

    <script src="~/OT/sweetalert2@8.js"></script>
    <script src="~/js_custom/MyPost.js"></script>
    <script src="/js_custom/common.js"></script>

    <script src="~/OT/toastr.min.js"></script>



</body>
</html>