no message

main
이범준 4 months ago
parent 43f25f0422
commit 8befc4960f

@ -1,7 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!-- Navbar --> <!-- Navbar -->
<nav id="layout-navbar" <nav id="layout-navbar" data-doctx="top"
class="layout-navbar navbar container-xxl navbar-expand-xl navbar-detached align-items-center mt-1 mx-0 flex-nowrap"> class="layout-navbar navbar container-xxl navbar-expand-xl navbar-detached align-items-center mt-1 mx-0 flex-nowrap">
<div class="layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0 d-xl-none"> <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)"> <a class="nav-item nav-link px-0 me-xl-4" href="javascript:void(0)">

@ -1,3 +1,30 @@
/**************************************************************************
* data-doctx,name 어트리뷰트로 찾기
**************************************************************************/
function newDoctxFinder(doctx){
let finder = new DoctxFinder(doctx);
return finder;
}
class DoctxFinder extends EventTarget {
constructor(doctx) {
super();
this.doctx = doctx;
}
selector(name){
return "[data-doctx='"+this.doctx+"'] [name='"+name+"']";
}
$find(name){
return $(document.querySelector("[data-doctx='"+this.doctx+"']")).find("[name='"+name+"']");
}
find(name){
return document.querySelector("[data-doctx='"+this.doctx+"']").querySelector("[name='"+name+"']");
}
findAll(name){
return document.querySelector("[data-doctx='"+this.doctx+"']").querySelectorAll("[name='"+name+"']");
}
}
/************************************************************************** /**************************************************************************
* 그리드 row 선택 * 그리드 row 선택
**************************************************************************/ **************************************************************************/

@ -8,7 +8,12 @@ const BOOTSTRAP_COLS = [
]; ];
function renderForTask(areaId, taskClass){ function renderForTask(areaId, taskClass){
var slotAreas = $("#"+areaId).find("[slot]"); var slotAreas;
if(typeof areaId == "string"){
slotAreas = $("#"+areaId).find("[slot]");
} else {
slotAreas = $(areaId).find("[slot]");
}
slotAreas.each(function(){ slotAreas.each(function(){
if($(this).hasClass("if-empty-col0")){ if($(this).hasClass("if-empty-col0")){

Loading…
Cancel
Save