- Frontend: Next.js 14 with TypeScript - Backend: FastAPI with SQLAlchemy - Agent: Carmodoo sync agent - Deployment: Docker Compose based staging/production setup - Scripts: Automated deployment with rollback support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
62 lines
1.8 KiB
HTML
62 lines
1.8 KiB
HTML
<html><head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
|
|
<script src="/js/jquery-1.8.3.min.js?ver=20241018" type="text/javascript"></script>
|
|
<script language="JavaScript" src="/common/ajax/ajax.js"></script>
|
|
<script language="JavaScript">
|
|
<!--
|
|
function _errorFunc() {
|
|
// alert("네트워크 상태가 원할하지 않습니다. 잠시 뒤 다시 검색하세요.");
|
|
}
|
|
|
|
function startSession() {
|
|
$.ajax({
|
|
type:'POST',
|
|
url: "/common/ajax/sessionHold.html",
|
|
dataType:'xml',
|
|
cache:false,
|
|
async:false,
|
|
success:xmlGetOn, // 형태를 결정한다.
|
|
error:_errorFunc,
|
|
beforeSend:function(x) {
|
|
if(x && x.overrideMimeType) {
|
|
x.overrideMimeType("application/xml;charset=euc-kr");
|
|
}
|
|
}
|
|
});
|
|
|
|
//var aObj = new AjaxObject;
|
|
//var fLink = "/common/ajax/sessionHold.html";
|
|
//aObj.getHttpRequest(fLink, "xmlGet");
|
|
}
|
|
|
|
function xmlGet(view) {
|
|
if(view['item'][0]['status'] == "N") {
|
|
var time = view['item'][0]['time'];
|
|
var ip = view['item'][0]['ip'];
|
|
var m_id = view['item'][0]['m_id'];
|
|
alert("해당 계정은 " + ip + " 에서 " + time + " 에 접속해서 로그인이 해제 됩니다.");
|
|
parent.location.href = "/member/logout.html";
|
|
}
|
|
setTimeout("startSession()", 60000);
|
|
}
|
|
|
|
function xmlGetOn(xml) {
|
|
$(xml).find("item").each(function() {
|
|
var status = $(this).find("status").text();
|
|
var ip = $(this).find("ip").text();
|
|
var m_id = $(this).find("m_id").text();
|
|
var time = $(this).find("time").text();
|
|
if(status == "N") {
|
|
alert("해당 계정은 " + ip + " 에서 " + time + " 에 접속해서 로그인이 해제 됩니다.");
|
|
parent.location.href = "/member/logout.html";
|
|
}
|
|
});
|
|
//console.log(view);
|
|
setTimeout("startSession()", 60000);
|
|
}
|
|
|
|
setTimeout("startSession()", 60000);
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body></body></html> |