From 73638da4db43140c1e02b8fcb762cd4fac89a046 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 16 Aug 2021 01:11:38 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/ext.plugin_troop.js | 116 ----------------------------- hwe/js/inheritPoint.js.LICENSE.txt | 8 -- 2 files changed, 124 deletions(-) delete mode 100644 hwe/js/ext.plugin_troop.js delete mode 100644 hwe/js/inheritPoint.js.LICENSE.txt diff --git a/hwe/js/ext.plugin_troop.js b/hwe/js/ext.plugin_troop.js deleted file mode 100644 index 77ad2674..00000000 --- a/hwe/js/ext.plugin_troop.js +++ /dev/null @@ -1,116 +0,0 @@ -$(function(){ - - var userList = {}; - var groupList = {}; - var tGroup = []; - var basicPath = document.location.pathname; - basicPath = basicPath.substring(0, basicPath.lastIndexOf('/'))+'/'; - - var $userFrame; - - window.userList = userList; - - var runAnalysis = function(){ - $.each(groupList,function(idx,val){ - val.list = []; - }); - userList = []; - var $content = $('#on_mover .content'); - $content.html(''); - $.get(basicPath+'b_genList.php',function(rawData){ - - try{ - $html = $(rawData); - var cnt =0; - - var tmpUsers = {}; - $html.each(function(idx){ - var $this = $(this); - if($this.attr('id') == "general_list"){ - tmpUsers = $(this); - return false; - } - }); - - tmpUsers.find("tbody > tr").each(function(idx){ - var $this = $(this); - var $부대 = $this.children('.i_troop'); - - var 부대 = $.trim($부대.text()); - - if(부대 == '-'){ - //부대 안탔음! - return true; - } - $부대.remove(); - - var generalID = parseInt($this.data('general-id')); - userList[generalID] = $this; - $this.hide(); - $content.append($this); - }); - - $('.troopUser').hover(function(){ - var $this = $(this); - var parent = $this.closest('tr'); - var generalID = parseInt($this.data('general-id')); - console.log(generalID); - var top = parent.offset().top + parent.outerHeight(); - $userFrame.css('top',top); - userList[generalID].show(); - $userFrame.show(); - },function(){ - var $this = $(this); - var parent = $this.closest('tr'); - var generalID = parseInt($this.data('general-id')); - userList[generalID].hide(); - $userFrame.hide(); - }); - } - catch(err){ - console.log(err); - } - }); - - - }; - - var $frame = $('table:eq(0) td:eq(0)'); - $frame.find('br:last').remove(); - - var $btn = $(''); - $btn.click(function(){ - runAnalysis(); - }); - - $frame.append($btn); - - - - $userFrame = $("
"+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - ""+ - "
이 름통무지자 금군 량도시병 종병 사훈련사기명 령삭턴
"); - $userFrame.find('thead td'); - $userFrame.css('width','960px').css('margin','0').css('padding','0').css('left','50%').css('margin-left','-480px'); - $userFrame.hide(); - - - - $('body').append($userFrame); - -}); \ No newline at end of file diff --git a/hwe/js/inheritPoint.js.LICENSE.txt b/hwe/js/inheritPoint.js.LICENSE.txt deleted file mode 100644 index b1121f51..00000000 --- a/hwe/js/inheritPoint.js.LICENSE.txt +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */