You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gzf/WebRoot/admin/index.jsp

383 lines
18 KiB

5 years ago
<%@ page language="java" import="com.app.utils.CommunityType" pageEncoding="UTF-8"%>
<%@ page language="java" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>公共租赁住房租赁管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- App favicon -->
<link rel="shortcut icon" href="<%=basePath %>static/assets/images/favicon.ico">
<!-- plugins -->
<link href="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.css" rel="stylesheet" type="text/css" />
<!-- App css -->
<link href="<%=basePath %>static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>static/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>static/assets/css/app.min.css" rel="stylesheet" type="text/css" />
</head>
<body class="left-side-menu-dark">
<!-- Begin page -->
<div id="wrapper">
<!-- Topbar Start -->
<div style="background-color: #80D0C7;
background-image: linear-gradient(160deg, #80D0C7 0%, #0093E9 100%);
" class="navbar navbar-expand flex-column flex-md-row navbar-custom">
<div class="container-fluid">
<!-- LOGO -->
<a href="<%=basePath %>" class="navbar-brand mr-0 mr-md-2 logo">
<span class="logo-lg">
<img src="<%=basePath %>static/assets/images/logo.png" alt="" height="24" />
<span style="color:#fff" class="d-inline h5 ml-1 text-logo">公租房租赁管理系统</span>
</span>
<span class="logo-sm">
<img src="<%=basePath %>static/assets/images/logo.png" alt="" height="24">
</span>
</a>
<ul class="navbar-nav bd-navbar-nav flex-row list-unstyled menu-left mb-0">
<li class="">
<button class="button-menu-mobile open-left disable-btn">
<i data-feather="menu" class="menu-icon"></i>
<i data-feather="x" class="close-icon"></i>
</button>
</li>
</ul>
<ul class="navbar-nav flex-row ml-auto d-flex list-unstyled topnav-menu float-right mb-0">
<li class="dropdown notification-list" data-toggle="tooltip" data-placement="left"
title="刷新面板">
<a class="nav-link dropdown-toggle"
href="<%=basePath %>admin/index.do" >
<i data-feather="home"></i>
<span class="noti-icon-badge"></span>
</a>
</li>
<li class="dropdown " data-toggle="tooltip" data-placement="left" title="注销">
<a href="<%=basePath%>logout.jsp?ret=system/login.do" class="nav-link right-bar-toggle">
<i data-feather="log-out"></i>
</a>
</li>
</ul>
</div>
</div>
<!-- end Topbar -->
<!-- ========== Left Sidebar Start ========== -->
<div class="left-side-menu">
<div class="media user-profile mt-2 mb-2">
<img src="<%=basePath %>${thumb}" class="avatar-sm rounded-circle mr-2" alt="Shreyu" />
<div class="media-body">
<h6 class="pro-user-name mt-0 mb-0">${userName}</h6>
<span class="pro-user-desc">
<c:if test="${userType eq 1}">普通用户</c:if>
<c:if test="${userType eq 2}">街道政府管理员</c:if>
<c:if test="${userType eq '3'}">市级政府管理员</c:if>
</span>
</div>
<div class="dropdown align-self-center profile-dropdown-menu">
<a class="dropdown-toggle mr-0" data-toggle="dropdown" href="#" role="button" aria-haspopup="false"
aria-expanded="false">
<span data-feather="chevron-down"></span>
</a>
<div class="dropdown-menu profile-dropdown">
<a href="<%=basePath%>admin/profile.do" target="rightFrame" href="pages-profile.html" class="dropdown-item notify-item">
<i data-feather="user" class="icon-dual icon-xs mr-2"></i>
<span>资料更新</span>
</a>
<a href="<%=basePath%>admin/password.do" target="rightFrame" class="dropdown-item notify-item">
<i data-feather="settings" class="icon-dual icon-xs mr-2"></i>
<span>密码设置</span>
</a>
<div class="dropdown-divider"></div>
<a href="<%=basePath%>logout.jsp?ret=system/login.do" class="dropdown-item ">
<i data-feather="log-out" class="icon-dual icon-xs mr-2"></i>
<span>注销登录</span>
</a>
</div>
</div>
</div>
<div class="sidebar-content">
<!--- Sidemenu -->
<div id="sidebar-menu" class="slimscroll-menu">
<ul class="metismenu" id="menu-bar">
<li class="menu-title">Navigation</li>
<c:if test="${userType eq '1'}">
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/list.do" aria-expanded="false">
<i data-feather="package"></i>
<span> 申请管理 </span>
</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false">
<i data-feather="pie-chart"></i>
<span> 数据统计 </span>
</a>
</li>
</c:if>
<c:if test="${userType eq '2'}">
<li>
<a href="javascript: void(0);">
<i data-feather="briefcase"></i>
<span> 房源管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/house/mylist.do">房源管理</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/house/add.do">发布房源</a>
</li>
</ul>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/list1.do" aria-expanded="false">
<i data-feather="package"></i>
<span> 申请管理 </span>
</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false">
<i data-feather="pie-chart"></i>
<span> 数据统计 </span>
</a>
</li>
</c:if>
<c:if test="${userType eq '3'}">
<li>
<a href="javascript: void(0);">
<i data-feather="users"></i>
<span> 用户管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/users/list.do">用户管理</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/users/add.do">新增用户</a>
</li>
</ul>
</li>
<li>
<a href="javascript: void(0);">
<i data-feather="file-text"></i>
<span> 类目管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/cates/list.do">类目管理</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/cates/add.do">新增类目</a>
</li>
</ul>
</li>
<li>
<a href="javascript: void(0);">
<i data-feather="bookmark"></i>
<span> 内容管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/news/list.do">内容管理</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/news/add.do">发布内容</a>
</li>
</ul>
</li>
<li>
<a href="javascript: void(0);">
<i data-feather="image"></i>
<span> 轮播管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/ads/list.do">轮播管理</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/ads/add.do">发布轮播</a>
</li>
</ul>
</li>
<li>
<a href="javascript: void(0);">
<i data-feather="briefcase"></i>
<span> 房源管理 </span>
<span class="menu-arrow"></span>
</a>
<ul class="nav-second-level" aria-expanded="false">
<li>
<a target="rightFrame" href="<%=basePath%>admin/house/list.do">房源管理</a>
</li>
<c:forEach items="<%=CommunityType.values()%>" var="type">
<li>
<a target="rightFrame" href="<%=basePath%>admin/community/list.do?type=${type.name()}">${type.desc}</a>
</li>
</c:forEach>
<li>
<a target="rightFrame" href="<%=basePath%>admin/house/add.do">发布房源</a>
</li>
</ul>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/list2.do" aria-expanded="false">
<i data-feather="package"></i>
<span> 申请管理 </span>
</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/jblist.do" aria-expanded="false">
<i data-feather="align-right"></i>
<span> 举报管理 </span>
</a>
</li>
<li>
<a target="rightFrame" href="<%=basePath%>admin/apply/report.do" aria-expanded="false">
<i data-feather="pie-chart"></i>
<span> 数据统计 </span>
</a>
</li>
</c:if>
</ul>
</div>
<!-- End Sidebar -->
<div class="clearfix"></div>
</div>
<!-- Sidebar -left -->
</div>
<!-- Left Sidebar End -->
<!-- ============================================================== -->
<!-- Start Page Content here -->
<!-- ============================================================== -->
<div class="content-page">
<div class="content">
<div class="container-fluid">
<div style="padding:0px;" class="row page-title align-items-center">
<div class="col-sm-4 col-xl-6">
<h4 class="mb-1 mt-0">welcome</h4>
</div>
</div>
<!-- content -->
<div style="padding:0px;" class="row">
<iframe name="rightFrame" src="<%=basePath%>admin/apply/report.do" style="border:none;min-height:1800px;width:100%;height:100;"></iframe>
</div>
<!-- end row -->
</div>
</div> <!-- content -->
</div>
<!-- ============================================================== -->
<!-- End Page content -->
<!-- ============================================================== -->
</div>
<!-- END wrapper -->
<!-- Right bar overlay-->
<div class="rightbar-overlay"></div>
<!-- Vendor js -->
<script src="<%=basePath %>static/assets/js/vendor.min.js"></script>
<!-- optional plugins -->
<script src="<%=basePath %>static/assets/libs/moment/moment.min.js"></script>
<script src="<%=basePath %>static/assets/libs/apexcharts/apexcharts.min.js"></script>
<script src="<%=basePath %>static/assets/libs/flatpickr/flatpickr.min.js"></script>
<!-- page js -->
<script src="<%=basePath %>static/assets/js/pages/dashboard.init.js"></script>
<!-- App js -->
<script src="<%=basePath %>static/assets/js/app.min.js"></script>
</body>
</html>