no message
parent
7c63121ada
commit
e77cabfed0
@ -0,0 +1,484 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||||
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||||
|
</-- Navbar -->
|
||||||
|
|
||||||
|
<nav
|
||||||
|
class="layout-navbar container-xxl navbar navbar-expand-xl navbar-detached align-items-center bg-navbar-theme"
|
||||||
|
id="layout-navbar"
|
||||||
|
>
|
||||||
|
<div class="layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0 d-xl-none">
|
||||||
|
<a class="nav-item nav-link px-0 me-xl-4" href="javascript:void(0)">
|
||||||
|
<i class="bx bx-menu bx-sm"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">
|
||||||
|
<!-- Search -->
|
||||||
|
<div class="navbar-nav align-items-center">
|
||||||
|
<div class="nav-item navbar-search-wrapper mb-0">
|
||||||
|
<a class="nav-item nav-link search-toggler px-0" href="javascript:void(0);">
|
||||||
|
<span id="pageTitle" class="fw-bold" style="font-size:x-large;"></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /Search -->
|
||||||
|
|
||||||
|
<ul class="navbar-nav flex-row align-items-center ms-auto">
|
||||||
|
<%-- Language -->
|
||||||
|
<li class="nav-item dropdown-language dropdown me-2 me-xl-0">
|
||||||
|
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
|
||||||
|
<i class="fi fi-us fis rounded-circle fs-3 me-1"></i>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-end">
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="javascript:void(0);" data-language="en">
|
||||||
|
<i class="fi fi-us fis rounded-circle fs-4 me-1"></i>
|
||||||
|
<span class="align-middle">English</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="javascript:void(0);" data-language="fr">
|
||||||
|
<i class="fi fi-fr fis rounded-circle fs-4 me-1"></i>
|
||||||
|
<span class="align-middle">France</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="javascript:void(0);" data-language="de">
|
||||||
|
<i class="fi fi-de fis rounded-circle fs-4 me-1"></i>
|
||||||
|
<span class="align-middle">German</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="javascript:void(0);" data-language="pt">
|
||||||
|
<i class="fi fi-pt fis rounded-circle fs-4 me-1"></i>
|
||||||
|
<span class="align-middle">Portuguese</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!--/ Language --%>
|
||||||
|
|
||||||
|
<!-- Style Switcher -->
|
||||||
|
<li class="nav-item me-2 me-xl-0">
|
||||||
|
<a class="nav-link style-switcher-toggle hide-arrow" href="javascript:void(0);">
|
||||||
|
<i class="bx bx-sm"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<!--/ Style Switcher -->
|
||||||
|
|
||||||
|
<%-- Quick links -->
|
||||||
|
<li class="nav-item dropdown-shortcuts navbar-dropdown dropdown me-2 me-xl-0">
|
||||||
|
<a
|
||||||
|
class="nav-link dropdown-toggle hide-arrow"
|
||||||
|
href="javascript:void(0);"
|
||||||
|
data-bs-toggle="dropdown"
|
||||||
|
data-bs-auto-close="outside"
|
||||||
|
aria-expanded="false"
|
||||||
|
>
|
||||||
|
<i class="bx bx-grid-alt bx-sm"></i>
|
||||||
|
</a>
|
||||||
|
<div class="dropdown-menu dropdown-menu-end py-0">
|
||||||
|
<div class="dropdown-menu-header border-bottom">
|
||||||
|
<div class="dropdown-header d-flex align-items-center py-3">
|
||||||
|
<h5 class="text-body mb-0 me-auto">Shortcuts</h5>
|
||||||
|
<a
|
||||||
|
href="javascript:void(0)"
|
||||||
|
class="dropdown-shortcuts-add text-body"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
data-bs-placement="top"
|
||||||
|
title="Add shortcuts"
|
||||||
|
><i class="bx bx-sm bx-plus-circle"></i
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-shortcuts-list scrollable-container">
|
||||||
|
<div class="row row-bordered overflow-visible g-0">
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-calendar fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="app-calendar.html" class="stretched-link">Calendar</a>
|
||||||
|
<small class="text-muted mb-0">Appointments</small>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-food-menu fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="app-invoice-list.html" class="stretched-link">Invoice App</a>
|
||||||
|
<small class="text-muted mb-0">Manage Accounts</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row row-bordered overflow-visible g-0">
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-user fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="app-user-list.html" class="stretched-link">User App</a>
|
||||||
|
<small class="text-muted mb-0">Manage Users</small>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-check-shield fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="app-access-roles.html" class="stretched-link">Role Management</a>
|
||||||
|
<small class="text-muted mb-0">Permission</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row row-bordered overflow-visible g-0">
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-pie-chart-alt-2 fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="index.html" class="stretched-link">Dashboard</a>
|
||||||
|
<small class="text-muted mb-0">User Profile</small>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-cog fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="pages-account-settings-account.html" class="stretched-link">Setting</a>
|
||||||
|
<small class="text-muted mb-0">Account Settings</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row row-bordered overflow-visible g-0">
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-help-circle fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="pages-help-center-landing.html" class="stretched-link">Help Center</a>
|
||||||
|
<small class="text-muted mb-0">FAQs & Articles</small>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-shortcuts-item col">
|
||||||
|
<span class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
|
||||||
|
<i class="bx bx-window-open fs-4"></i>
|
||||||
|
</span>
|
||||||
|
<a href="modal-examples.html" class="stretched-link">Modals</a>
|
||||||
|
<small class="text-muted mb-0">Useful Popups</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<!-- Quick links --%>
|
||||||
|
|
||||||
|
<%-- Notification -->
|
||||||
|
<li class="nav-item dropdown-notifications navbar-dropdown dropdown me-3 me-xl-1">
|
||||||
|
<a
|
||||||
|
class="nav-link dropdown-toggle hide-arrow"
|
||||||
|
href="javascript:void(0);"
|
||||||
|
data-bs-toggle="dropdown"
|
||||||
|
data-bs-auto-close="outside"
|
||||||
|
aria-expanded="false"
|
||||||
|
>
|
||||||
|
<i class="bx bx-bell bx-sm"></i>
|
||||||
|
<span class="badge bg-danger rounded-pill badge-notifications">5</span>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-end py-0">
|
||||||
|
<li class="dropdown-menu-header border-bottom">
|
||||||
|
<div class="dropdown-header d-flex align-items-center py-3">
|
||||||
|
<h5 class="text-body mb-0 me-auto">Notification</h5>
|
||||||
|
<a
|
||||||
|
href="javascript:void(0)"
|
||||||
|
class="dropdown-notifications-all text-body"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
data-bs-placement="top"
|
||||||
|
title="Mark all as read"
|
||||||
|
><i class="bx fs-4 bx-envelope-open"></i
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown-notifications-list scrollable-container">
|
||||||
|
<ul class="list-group list-group-flush">
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/1.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Congratulation Lettie 🎉</h6>
|
||||||
|
<p class="mb-0">Won the monthly best seller gold badge</p>
|
||||||
|
<small class="text-muted">1h ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<span class="avatar-initial rounded-circle bg-label-danger">CF</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Charles Franklin</h6>
|
||||||
|
<p class="mb-0">Accepted your connection</p>
|
||||||
|
<small class="text-muted">12hr ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/2.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">New Message ✉️</h6>
|
||||||
|
<p class="mb-0">You have new message from Natalie</p>
|
||||||
|
<small class="text-muted">1h ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<span class="avatar-initial rounded-circle bg-label-success"
|
||||||
|
><i class="bx bx-cart"></i
|
||||||
|
></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Whoo! You have new order 🛒</h6>
|
||||||
|
<p class="mb-0">ACME Inc. made new order $1,154</p>
|
||||||
|
<small class="text-muted">1 day ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/9.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Application has been approved 🚀</h6>
|
||||||
|
<p class="mb-0">Your ABC project application has been approved.</p>
|
||||||
|
<small class="text-muted">2 days ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<span class="avatar-initial rounded-circle bg-label-success"
|
||||||
|
><i class="bx bx-pie-chart-alt"></i
|
||||||
|
></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Monthly report is generated</h6>
|
||||||
|
<p class="mb-0">July monthly financial report is generated</p>
|
||||||
|
<small class="text-muted">3 days ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/5.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">Send connection request</h6>
|
||||||
|
<p class="mb-0">Peter sent you connection request</p>
|
||||||
|
<small class="text-muted">4 days ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/6.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">New message from Jane</h6>
|
||||||
|
<p class="mb-0">Your have new message from Jane</p>
|
||||||
|
<small class="text-muted">5 days ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="list-group-item list-group-item-action dropdown-notifications-item marked-as-read">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar">
|
||||||
|
<span class="avatar-initial rounded-circle bg-label-warning"
|
||||||
|
><i class="bx bx-error"></i
|
||||||
|
></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<h6 class="mb-1">CPU is running high</h6>
|
||||||
|
<p class="mb-0">CPU Utilization Percent is currently at 88.63%,</p>
|
||||||
|
<small class="text-muted">5 days ago</small>
|
||||||
|
</div>
|
||||||
|
<div class="flex-shrink-0 dropdown-notifications-actions">
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-read"
|
||||||
|
><span class="badge badge-dot"></span
|
||||||
|
></a>
|
||||||
|
<a href="javascript:void(0)" class="dropdown-notifications-archive"
|
||||||
|
><span class="bx bx-x"></span
|
||||||
|
></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown-menu-footer border-top">
|
||||||
|
<a href="javascript:void(0);" class="dropdown-item d-flex justify-content-center p-3">
|
||||||
|
View all notifications
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!--/ Notification --%>
|
||||||
|
<!-- User -->
|
||||||
|
<li class="nav-item navbar-dropdown dropdown-user dropdown">
|
||||||
|
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
|
||||||
|
<div class="avatar avatar-online">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/1.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-end">
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="pages-account-settings-account.html">
|
||||||
|
<div class="d-flex">
|
||||||
|
<div class="flex-shrink-0 me-3">
|
||||||
|
<div class="avatar avatar-online">
|
||||||
|
<img src="<c:url value="/resources/img/avatars/1.png"/>" alt class="w-px-40 h-auto rounded-circle" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<span class="fw-semibold d-block">${currentUser.name}</span>
|
||||||
|
<small class="text-muted">${currentUser.account}</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="pages-profile-user.html">
|
||||||
|
<i class="bx bx-user me-2"></i>
|
||||||
|
<span class="align-middle">프로필</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="pages-account-settings-account.html">
|
||||||
|
<i class="bx bx-cog me-2"></i>
|
||||||
|
<span class="align-middle">설정</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="dropdown-item" href="pages-help-center-landing.html">
|
||||||
|
<i class="bx bx-support me-2"></i>
|
||||||
|
<span class="align-middle">Help</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="dropdown-divider"></div>
|
||||||
|
</li>
|
||||||
|
<li onclick="logout();">
|
||||||
|
<a class="dropdown-item">
|
||||||
|
<i class="bx bx-power-off me-2"></i>
|
||||||
|
<span class="align-middle">로그아웃</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!--/ User -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<%-- Search Small Screens -->
|
||||||
|
<div class="navbar-search-wrapper search-input-wrapper d-none">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control search-input container-xxl border-0"
|
||||||
|
placeholder="Search..."
|
||||||
|
aria-label="Search..."
|
||||||
|
/>
|
||||||
|
<i class="bx bx-x bx-sm search-toggler cursor-pointer"></i>
|
||||||
|
</div --%>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- / Navbar -->
|
||||||
|
<c:set var="functions" scope="request">${functions}
|
||||||
|
function setPageTitle(pageTitle) {
|
||||||
|
$("#pageTitle").html(pageTitle);
|
||||||
|
}</c:set>
|
@ -0,0 +1,96 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
||||||
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||||
|
<!-- Menu -->
|
||||||
|
<aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
|
||||||
|
<div class="app-brand demo">
|
||||||
|
<a href="javascript:wctx.home();" class="app-brand-link">
|
||||||
|
<span class="app-brand-logo demo">
|
||||||
|
<svg
|
||||||
|
width="25"
|
||||||
|
viewBox="0 0 25 42"
|
||||||
|
version="1.1"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
>
|
||||||
|
<defs>
|
||||||
|
<path
|
||||||
|
d="M13.7918663,0.358365126 L3.39788168,7.44174259 C0.566865006,9.69408886 -0.379795268,12.4788597 0.557900856,15.7960551 C0.68998853,16.2305145 1.09562888,17.7872135 3.12357076,19.2293357 C3.8146334,19.7207684 5.32369333,20.3834223 7.65075054,21.2172976 L7.59773219,21.2525164 L2.63468769,24.5493413 C0.445452254,26.3002124 0.0884951797,28.5083815 1.56381646,31.1738486 C2.83770406,32.8170431 5.20850219,33.2640127 7.09180128,32.5391577 C8.347334,32.0559211 11.4559176,30.0011079 16.4175519,26.3747182 C18.0338572,24.4997857 18.6973423,22.4544883 18.4080071,20.2388261 C17.963753,17.5346866 16.1776345,15.5799961 13.0496516,14.3747546 L10.9194936,13.4715819 L18.6192054,7.984237 L13.7918663,0.358365126 Z"
|
||||||
|
id="path-1"
|
||||||
|
></path>
|
||||||
|
<path
|
||||||
|
d="M5.47320593,6.00457225 C4.05321814,8.216144 4.36334763,10.0722806 6.40359441,11.5729822 C8.61520715,12.571656 10.0999176,13.2171421 10.8577257,13.5094407 L15.5088241,14.433041 L18.6192054,7.984237 C15.5364148,3.11535317 13.9273018,0.573395879 13.7918663,0.358365126 C13.5790555,0.511491653 10.8061687,2.3935607 5.47320593,6.00457225 Z"
|
||||||
|
id="path-3"
|
||||||
|
></path>
|
||||||
|
<path
|
||||||
|
d="M7.50063644,21.2294429 L12.3234468,23.3159332 C14.1688022,24.7579751 14.397098,26.4880487 13.008334,28.506154 C11.6195701,30.5242593 10.3099883,31.790241 9.07958868,32.3040991 C5.78142938,33.4346997 4.13234973,34 4.13234973,34 C4.13234973,34 2.75489982,33.0538207 2.37032616e-14,31.1614621 C-0.55822714,27.8186216 -0.55822714,26.0572515 -4.05231404e-15,25.8773518 C0.83734071,25.6075023 2.77988457,22.8248993 3.3049379,22.52991 C3.65497346,22.3332504 5.05353963,21.8997614 7.50063644,21.2294429 Z"
|
||||||
|
id="path-4"
|
||||||
|
></path>
|
||||||
|
<path
|
||||||
|
d="M20.6,7.13333333 L25.6,13.8 C26.2627417,14.6836556 26.0836556,15.9372583 25.2,16.6 C24.8538077,16.8596443 24.4327404,17 24,17 L14,17 C12.8954305,17 12,16.1045695 12,15 C12,14.5672596 12.1403557,14.1461923 12.4,13.8 L17.4,7.13333333 C18.0627417,6.24967773 19.3163444,6.07059163 20.2,6.73333333 C20.3516113,6.84704183 20.4862915,6.981722 20.6,7.13333333 Z"
|
||||||
|
id="path-5"
|
||||||
|
></path>
|
||||||
|
</defs>
|
||||||
|
<g id="g-app-brand" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="Brand-Logo" transform="translate(-27.000000, -15.000000)">
|
||||||
|
<g id="Icon" transform="translate(27.000000, 15.000000)">
|
||||||
|
<g id="Mask" transform="translate(0.000000, 8.000000)">
|
||||||
|
<mask id="mask-2" fill="white">
|
||||||
|
<use xlink:href="#path-1"></use>
|
||||||
|
</mask>
|
||||||
|
<use fill="#696cff" xlink:href="#path-1"></use>
|
||||||
|
<g id="Path-3" mask="url(#mask-2)">
|
||||||
|
<use fill="#696cff" xlink:href="#path-3"></use>
|
||||||
|
<use fill-opacity="0.2" fill="#FFFFFF" xlink:href="#path-3"></use>
|
||||||
|
</g>
|
||||||
|
<g id="Path-4" mask="url(#mask-2)">
|
||||||
|
<use fill="#696cff" xlink:href="#path-4"></use>
|
||||||
|
<use fill-opacity="0.2" fill="#FFFFFF" xlink:href="#path-4"></use>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="Triangle"
|
||||||
|
transform="translate(19.000000, 11.000000) rotate(-300.000000) translate(-19.000000, -11.000000) "
|
||||||
|
>
|
||||||
|
<use fill="#696cff" xlink:href="#path-5"></use>
|
||||||
|
<use fill-opacity="0.2" fill="#FFFFFF" xlink:href="#path-5"></use>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
<span class="app-brand-text demo menu-text fw-bolder ms-2">XIT Base</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto">
|
||||||
|
<i class="bx bx-chevron-left bx-sm align-middle"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="menu-inner-shadow"></div>
|
||||||
|
|
||||||
|
<ul id="menus" class="menu-inner py-1">
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
<!-- / Menu -->
|
||||||
|
<c:set var="userMenus" scope="request">let userMenus = ${userMenus};
|
||||||
|
<%--if (menus.length < 1)
|
||||||
|
menus = [
|
||||||
|
{"id":0, "name": "사용자", "url":"/user/main.do", "parentID":null, "description":"사용자 관리", "imagePath":null, "displayWindow":"_self"},
|
||||||
|
{"id":1, "name": "권한", "url":null, "parentID":null, "description":"권한 관리", "imagePath":null, "displayWindow":"_self",
|
||||||
|
"children":[
|
||||||
|
{"id":2, "name": "권한 설정", "url":"/authority/list.do", "parentID":1, "description":"권한 관리", "imagePath":null, "displayWindow":"_self"},
|
||||||
|
{"id":3, "name": "액션 설정", "url":"/authority/action/list.do", "parentID":1, "description":"액션 관리", "imagePath":null, "displayWindow":"_self"},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{"id":4, "name": "메뉴", "url":"/menu/list.do", "parentID":null, "description":"메뉴 관리", "imagePath":null, "displayWindow":"_self"}
|
||||||
|
];--%>
|
||||||
|
function setUserMenus(menus) {
|
||||||
|
let menuSupport = new MenuSupport("#layout-menu").setMenuInfo(menus).setActive(wctx.current());
|
||||||
|
let currentMenu = menuSupport.getMenu(wctx.current());
|
||||||
|
if (currentMenu)
|
||||||
|
setPageTitle(currentMenu.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
setUserMenus(userMenus);
|
||||||
|
</c:set>
|
@ -1,256 +1,154 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
||||||
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
|
<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
|
||||||
|
<body>
|
||||||
<aside class="layout-menu-fixed aside-left">
|
<!-- Layout wrapper -->
|
||||||
|
<div class="layout-wrapper layout-content-navbar">
|
||||||
<div id="sneatMenu" style="height: 56rem;">
|
<div class="layout-container">
|
||||||
<div class="app-brand border py-1 px-3">
|
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
|
||||||
<a href="#" class="app-brand-link gap-2 logo" onclick="$('#ifrTabs .nav-link').eq(0).trigger('click');">
|
<!-- Layout container -->
|
||||||
<img src="<c:url value='/'/>resources/image/fims/framework/login/mainLogo_01.png" class="app-brand-logo w-px-30 h-px-30" alt="logo" />
|
<div class="layout-page">
|
||||||
<span id="logoName" class="app-brand-text fs-big fw-bold">과태료 통합 관리 시스템</span>
|
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="app-brand-link gap-2 personalArea">
|
|
||||||
<i class="app-brand-logo bx bx-user ps-3"></i>
|
|
||||||
<div class="app-brand-text d-block gap-2">
|
|
||||||
<div class="txtArea">
|
|
||||||
<strong>
|
|
||||||
<c:out value="${sessionScope.XitLoginSession.name }" />[<c:out value="${sessionScope.XitLoginSession.id }" />]
|
|
||||||
</strong>
|
|
||||||
<em><c:out value="${sessionScope.XitLoginSession.orgnztNm }" /></em>
|
|
||||||
</div>
|
|
||||||
<div class="btnArea mt-2">
|
|
||||||
<a href="${ctx }/login/actionLogout.do" id="logout_btn"style="background: #eb1909;color: #fff;">로그아웃</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- / Layout page -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul id="sneatMenuUl">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- / Layout wrapper -->
|
||||||
|
|
||||||
|
|
||||||
</aside>
|
<script>
|
||||||
|
/*--------------------- 보안모드 체크박스 제어 ---------------------*/
|
||||||
<div class="content-wrapper">
|
$( "#securityMode" ).on( "click", function() {
|
||||||
<header>
|
if($("#securityMode").is(":checked")){
|
||||||
<button type="button" class="hamberger active">
|
fn_securityModeToggle(true);
|
||||||
<span class="hamburger-box">
|
} else {
|
||||||
<span class="hamburger-inner" style="color: transparent">메뉴</span>
|
fn_securityModeToggle(false);
|
||||||
</span>
|
}
|
||||||
</button>
|
});
|
||||||
|
|
||||||
<!-- 공지사항 롤링 -->
|
|
||||||
<div id="rolling_noti" class="d-flex" style="width: 100%;min-width: 200px;max-width: 400px;">
|
|
||||||
<ul class="list" style="width: 100%;">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ms-2 me-2" style="min-width: max-content;">
|
|
||||||
<select id="schOpt" class="form-select">
|
|
||||||
<option value="vhrno">차량번호</option>
|
|
||||||
<option value="rtpyrNm">납부자명</option>
|
|
||||||
<option value="rtpyrNo">납부자번호</option>
|
|
||||||
<option value="petitionerNm">신고인명</option>
|
|
||||||
</select>
|
|
||||||
<input type="text" id="schWord" class="form-control" />
|
|
||||||
<button type="button" id="fastSearch" class="btn btn-outline-dark bg-orange" title="통합조회">
|
|
||||||
<i class="bx bx-search"></i>통합조회
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ms-auto me-2" style="min-width: max-content;">
|
|
||||||
<div class="form-check-inline custom-option custom-option-basic" style="background-color: #d9dee3">
|
|
||||||
<label for="securityMode" class="form-check-label custom-option-content">
|
|
||||||
<input type="checkbox" id="securityMode" name="securityMode" class="form-check-input" value="Y" />
|
|
||||||
보안모드
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<button type="button" class="btn btn-outline-dark">
|
|
||||||
민원관리
|
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-outline-dark">
|
|
||||||
일정관리
|
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-outline-dark">
|
|
||||||
공지사항
|
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-primary">
|
|
||||||
사용자 메뉴얼
|
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-secondary" onclick="fn_goMyView('${sessionScope.XitLoginSession.uniqId}','${sessionScope.XitLoginSession.userSe}');">
|
|
||||||
환경설정
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="flex-grow-1 container-p-y">
|
|
||||||
<!-- 업무 화면 iframe tab add -->
|
|
||||||
<div id="ifrTabs" class="nav-align-top">
|
|
||||||
<ul class="nav nav-tabs nav-tabs-ifr"></ul>
|
|
||||||
</div>
|
|
||||||
<div id="ifrTabContents" class="tab-content"></div>
|
|
||||||
</main>
|
|
||||||
<aside class="aside-right">
|
|
||||||
<div id="fastMenu" class="fastmenu-close">
|
|
||||||
<div class="text-center mt-2">
|
|
||||||
<button type="button" id="favorites" class="btn btn-xs btn-square btn-outline-dark h-px-30 text-orange" title="즐겨찾기">
|
|
||||||
<i class="bx bx-star"></i>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
<footer class="content-footer footer bg-light">
|
|
||||||
<div class="container-fluid d-flex flex-md-row flex-column justify-content-between align-items-md-center gap-1 py-1">
|
|
||||||
<div class="footer-text fw-bolder">
|
|
||||||
<a class="footer-text fw-bolder">COPYRIGHT 2021 BY COMPANY NAME CO.LTD. ALL RIGHTS RESERVED.</a>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<a href="javascript:void(0)" class="footer-link me-4" target="_blank">국민신문고</a>
|
|
||||||
<a href="javascript:void(0)" class="footer-link me-4">외부1</a>
|
|
||||||
<a href="javascript:void(0)" class="footer-link me-4">외부2</a>
|
|
||||||
<a href="javascript:void(0)" class="footer-link">외부3</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
|
||||||
/*--------------------- 보안모드 체크박스 제어 ---------------------*/
|
|
||||||
$( "#securityMode" ).on( "click", function() {
|
|
||||||
if($("#securityMode").is(":checked")){
|
|
||||||
fn_securityModeToggle(true);
|
|
||||||
} else {
|
|
||||||
fn_securityModeToggle(false);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/*--------------------- 햄버거 버튼 제어 ---------------------*/
|
|
||||||
$( "body" ).on( "click", "button.hamberger", function() {
|
|
||||||
var e=$(this);
|
|
||||||
var eHasClass=e.hasClass('active');
|
|
||||||
|
|
||||||
if(eHasClass==true){
|
|
||||||
$( "header, button.hamberger").removeClass('active');
|
|
||||||
document.querySelector('#sneatMenu').classList.add("menu-collapsed");
|
|
||||||
}else{
|
|
||||||
$( "header, button.hamberger").addClass('active');
|
|
||||||
document.querySelector('#sneatMenu').classList.remove("menu-collapsed");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/*--------------------- 즐겨찾기 버튼 제어 ---------------------*/
|
|
||||||
$( "#favorites" ).on( "click", function() {
|
|
||||||
var e= $('#fastMenu');
|
|
||||||
|
|
||||||
var eHasClass=e.hasClass('fastmenu-open');
|
|
||||||
|
|
||||||
if(eHasClass==true){
|
|
||||||
document.querySelector('#fastMenu').classList.replace('fastmenu-open', 'fastmenu-close');
|
|
||||||
}else{
|
|
||||||
document.querySelector('#fastMenu').classList.replace('fastmenu-close', 'fastmenu-open');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/*--------------------- 통합조회버튼,키워드 제어 ---------------------*/
|
|
||||||
$("#schWord").on("keypress" , function(){
|
|
||||||
if(event.keyCode == 13){
|
|
||||||
fn_loadFastSearch();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
$( "#fastSearch" ).on( "click", function() {
|
|
||||||
fn_loadFastSearch();
|
|
||||||
});
|
|
||||||
|
|
||||||
function fn_loadFastSearch(){
|
|
||||||
if($("iframe[id='80000000']").length < 1){
|
|
||||||
openMenu('80000000', '통합조회',
|
|
||||||
"&schOpt="+ $("[id='schOpt']").val() + "&schWord=" + $("[id='schWord']").val()
|
|
||||||
);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$("button[data-bs-target='#tab-80000000']").trigger("click");
|
/*--------------------- 햄버거 버튼 제어 ---------------------*/
|
||||||
|
$( "body" ).on( "click", "button.hamberger", function() {
|
||||||
|
var e=$(this);
|
||||||
|
var eHasClass=e.hasClass('active');
|
||||||
|
|
||||||
|
if(eHasClass==true){
|
||||||
|
$( "header, button.hamberger").removeClass('active');
|
||||||
|
document.querySelector('#sneatMenu').classList.add("menu-collapsed");
|
||||||
|
}else{
|
||||||
|
$( "header, button.hamberger").addClass('active');
|
||||||
|
document.querySelector('#sneatMenu').classList.remove("menu-collapsed");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if($("[id='schWord']").val() == ""){
|
/*--------------------- 즐겨찾기 버튼 제어 ---------------------*/
|
||||||
return;
|
$( "#favorites" ).on( "click", function() {
|
||||||
}
|
var e= $('#fastMenu');
|
||||||
|
|
||||||
let searchOpt = $("[id='schOpt']").val();
|
var eHasClass=e.hasClass('fastmenu-open');
|
||||||
let searchWord = $("[id='schWord']").val();
|
|
||||||
let iframeObj = document.getElementById('80000000');
|
|
||||||
iframeObj.contentWindow.document.getElementsByName(searchOpt)[0].value = searchWord;
|
|
||||||
iframeObj.contentWindow.fn_fastSearch();
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script defer type="text/javascript">
|
|
||||||
/**************************************************************************
|
|
||||||
* initialize
|
|
||||||
**************************************************************************/
|
|
||||||
$(document).ready(() => {
|
|
||||||
//사용자별 메뉴 목록 조회
|
|
||||||
cmmAjax({
|
|
||||||
showSuccessMsg: false
|
|
||||||
,url: "<c:url value='/framework/biz/cmm/cache/getMenuListAll.do'/>"
|
|
||||||
,data: {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
|
|
||||||
,type: "get"
|
|
||||||
,success: (data) => {
|
|
||||||
|
|
||||||
let mr = new FimsMenuSupport('');
|
if(eHasClass==true){
|
||||||
mr.menuDraw(data.allMenuList);
|
document.querySelector('#fastMenu').classList.replace('fastmenu-open', 'fastmenu-close');
|
||||||
|
}else{
|
||||||
|
document.querySelector('#fastMenu').classList.replace('fastmenu-close', 'fastmenu-open');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*--------------------- 통합조회버튼,키워드 제어 ---------------------*/
|
||||||
|
$("#schWord").on("keypress" , function(){
|
||||||
|
if(event.keyCode == 13){
|
||||||
|
fn_loadFastSearch();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
//메인 탭 오픈
|
$( "#fastSearch" ).on( "click", function() {
|
||||||
openMenu('main', '메인');
|
fn_loadFastSearch();
|
||||||
|
});
|
||||||
|
|
||||||
|
function fn_loadFastSearch(){
|
||||||
|
if($("iframe[id='80000000']").length < 1){
|
||||||
|
openMenu('80000000', '통합조회',
|
||||||
|
"&schOpt="+ $("[id='schOpt']").val() + "&schWord=" + $("[id='schWord']").val()
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//공지사항 롤링 Event 처리
|
$("button[data-bs-target='#tab-80000000']").trigger("click");
|
||||||
$('#rolling_noti').vTicker({
|
|
||||||
speed: 400, // 스크롤 속도(default: 700)
|
|
||||||
pause: 4000, // 스크롤 사이의 대기시간(default: 4000)
|
|
||||||
animation: 'fade', // 스크롤 애니메이션
|
|
||||||
mousePause: true, // 마우스 over 일때 멈출 설정
|
|
||||||
showItems: 1, // 한번에 보일 리스트수(default: 2)
|
|
||||||
height: 19, // 스크롤 컨테이너 높이(default: 0)
|
|
||||||
direction: 'up' // 아이템이 움직이는 방향, up/down (default: up)
|
|
||||||
});
|
|
||||||
|
|
||||||
//공지 목록 조회
|
if($("[id='schWord']").val() == ""){
|
||||||
cmmAjax({
|
return;
|
||||||
showSuccessMsg: false
|
}
|
||||||
,url: "<c:url value='/framework/biz/cmm/cache/getNoticeList.do'/>"
|
|
||||||
,data: {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
|
|
||||||
,type: "get"
|
|
||||||
,success: (data) => {
|
|
||||||
if(data.resultList1 != null && data.resultList1.length > 0){
|
|
||||||
let noticeList = data.resultList1;
|
|
||||||
for(let i=0; i < noticeList.length;i++){
|
|
||||||
if(noticeList[i].useYn == "Y"){
|
|
||||||
let content = "<li class='item d-flex justify-content-between'>";
|
|
||||||
|
|
||||||
content += "<a href='/framework/biz/mng/bbs/mngBoardBasicMgtForm.do?bbsId=BBSMSTR_00001'>";
|
let searchOpt = $("[id='schOpt']").val();
|
||||||
content += "<i class='bx bxs-megaphone'></i>";
|
let searchWord = $("[id='schWord']").val();
|
||||||
content += noticeList[i].nttSj;
|
let iframeObj = document.getElementById('80000000');
|
||||||
content += "</a>";
|
iframeObj.contentWindow.document.getElementsByName(searchOpt)[0].value = searchWord;
|
||||||
content += "<span>"+noticeList[i].regDt+"</span>";
|
iframeObj.contentWindow.fn_fastSearch();
|
||||||
content += "</li>";
|
}
|
||||||
$("#rolling_noti ul").append(content);
|
</script>
|
||||||
|
<script defer type="text/javascript">
|
||||||
|
/**************************************************************************
|
||||||
|
* initialize
|
||||||
|
**************************************************************************/
|
||||||
|
$(document).ready(() => {
|
||||||
|
//사용자별 메뉴 목록 조회
|
||||||
|
cmmAjax({
|
||||||
|
showSuccessMsg: false
|
||||||
|
,url: "<c:url value='/framework/biz/cmm/cache/getMenuListAll.do'/>"
|
||||||
|
,data: {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
|
||||||
|
,type: "get"
|
||||||
|
,success: (data) => {
|
||||||
|
|
||||||
|
let mr = new FimsMenuSupport('');
|
||||||
|
mr.menuDraw(data.allMenuList);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//메인 탭 오픈
|
||||||
|
openMenu('main', '메인');
|
||||||
|
|
||||||
|
|
||||||
|
//공지사항 롤링 Event 처리
|
||||||
|
$('#rolling_noti').vTicker({
|
||||||
|
speed: 400, // 스크롤 속도(default: 700)
|
||||||
|
pause: 4000, // 스크롤 사이의 대기시간(default: 4000)
|
||||||
|
animation: 'fade', // 스크롤 애니메이션
|
||||||
|
mousePause: true, // 마우스 over 일때 멈출 설정
|
||||||
|
showItems: 1, // 한번에 보일 리스트수(default: 2)
|
||||||
|
height: 19, // 스크롤 컨테이너 높이(default: 0)
|
||||||
|
direction: 'up' // 아이템이 움직이는 방향, up/down (default: up)
|
||||||
|
});
|
||||||
|
|
||||||
|
//공지 목록 조회
|
||||||
|
cmmAjax({
|
||||||
|
showSuccessMsg: false
|
||||||
|
,url: "<c:url value='/framework/biz/cmm/cache/getNoticeList.do'/>"
|
||||||
|
,data: {uniqId: '${sessionScope.XitLoginSession.uniqId}'}
|
||||||
|
,type: "get"
|
||||||
|
,success: (data) => {
|
||||||
|
if(data.resultList1 != null && data.resultList1.length > 0){
|
||||||
|
let noticeList = data.resultList1;
|
||||||
|
for(let i=0; i < noticeList.length;i++){
|
||||||
|
if(noticeList[i].useYn == "Y"){
|
||||||
|
let content = "<li class='item d-flex justify-content-between'>";
|
||||||
|
|
||||||
|
content += "<a href='/framework/biz/mng/bbs/mngBoardBasicMgtForm.do?bbsId=BBSMSTR_00001'>";
|
||||||
|
content += "<i class='bx bxs-megaphone'></i>";
|
||||||
|
content += noticeList[i].nttSj;
|
||||||
|
content += "</a>";
|
||||||
|
content += "<span>"+noticeList[i].regDt+"</span>";
|
||||||
|
content += "</li>";
|
||||||
|
$("#rolling_noti ul").append(content);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
});
|
</html>
|
||||||
</script>
|
|
Loading…
Reference in New Issue