<commit_before>﻿<!DOCTYPE html>
<html lang="ko-kr">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/default.css">
    <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.7/vue.min.js"></script>
    <script src="lib/react.min.js"></script>
    <script src="lib/lodash.min.js"></script>
    <script src="app/rdmty.js"></script>
    <script>
        function onOverlayDataUpdate(e) {
            var start = new Date().getTime();
            var details = e.detail;

            React.render(
                React.createElement(DamageMeter, {
                    parseData: e.detail
                }),
                document.getElementById('container')
            );
            //console.log('rendered in ' + (+new Date() - start) + 'ms');
        }
        
        document.addEventListener('onOverlayDataUpdate', onOverlayDataUpdate);
        document.addEventListener("onOverlayStateUpdate", function (e) {
            if (!e.detail.isLocked) {
				document.documentElement.classList.add("resizable");
            } else {
				document.documentElement.classList.remove("resizable");
            }
        });
        window.addEventListener('message', function (e) {
            if (e.data.type === 'onOverlayDataUpdate') {
	        onOverlayDataUpdate(e.data);
            }
        });
        
        setInterval(function(){
            //privbar(true);
            //$("#blurcont").height($("#container").height()+12);
        }, 50);
    </script>
    <div id="realcont">
        <div id="blurcont">
        </div>
        <div id="container">
            ◇ DPS Meter v2016.06.16<br>
            Modify by Laiglinne - [KR] Altema
        </div>
        <div id="setainer" style="display:none; padding:10px; color:#FFF;">
            <div>내 이름 표시 <input id="myname" type="checkbox" checked="checked" />
            <input id="mynameval" type="text" value="나" /></div>
            <div>크기조절 표시 <input type="checkbox" checked="checked" onclick="resizeview();"/></div>
            <div>미터기 닉네임 표시 <input id="showname" type="checkbox" checked="checked" onclick="goTab(currenttab + 1, $('#tab' + currenttab));"/></div>
            <div>
                <div id="privback" style="border:1px solid rgb(144,216,255); border-radius:3px; background:rgb(23,45,67); height:18px;">
                    <div id="privbar" style="background:rgb(232,255,254); height:18px; width:50%; border-radius:2px;"></div>
                </div>
                <div style="border-radius:3px; background: -webkit-linear-gradient(left, 
    rgba(0,0,0,.5) 0%,
    rgba(0,0,0,.5) 5%,
    rgba(0,0,0,.25) 15%,
    rgba(0,0,0,.0) 100%); z-index:5; height:20px; position:relative; top:-20px; font-family:'맑은 고딕'; color:#FFF; line-height:20px; padding-left:5px; text-shadow:0px 0px 3px rgba(0,0,0,.5);">미리보기</div>
            </div>
            <div>자신 색상 (메인) R<input id="cr" type="number" min="0" max="255" value="232"  style="width:40px;" onchange="privbar(false);"/>
            G<input id="cg" type="number" min="0" max="255" value="255" style="width:40px;" onchange="privbar(0);"/>
            B<input id="cb" type="number" min="0" max="255" value="254"  style="width:40px;" onchange="privbar(0);"/>
            <button onclick="privbar(1);">적용</div></div>
        </div>
        <div id="bottomset">
            <div class="chatloglikehandle settingcon" id="viewresize" style="border-bottom-right-radius:0px; float:right;">
            </div>
            <div class="chatloglikehandle" id="shg">
                <div id="tab0" class="pcl handlecont selbg" onclick="goTab(1, $(this));"><div class="handlecont_in">딜량</div></div>
                <div id="tab1" class="pcl handlecont2" onclick="goTab(2, $(this));"><div class="handlecont_in handlecont_in2">힐량</div></div>
                <div id="tab2" class="pcl handlecont2" onclick="goTab(3, $(this));"><div class="handlecont_in handlecont_in2">피격</div></div>
                <div id="tab3" class="pcl handlecont2" onclick="goTab(4, $(this));"><div class="handlecont_in handlecont_in2">기타</div></div>
            </div>
            <div class="chatloglikehandle settingcon" onclick="toggleset();">
                <div class="settingcon_in"><div style="background:url(images/icon.png) no-repeat; background-position:3px 2px; width:20px; height:20px;" /></div>
            </div>
        </div>
    </div>
    <script>
        var toggle = true;
        var viewback = true;
        var nicknameshow = true;
        var currenttab = 0; // max 3
        
        function privbar(bool)
        {
            if(bool == 1)
            {
                $(".self .bar-back").css("background", "rgb("+$("#cr").val()+","+$("#cg").val()+","+$("#cb").val()+")");
            }
            $("#privbar").css("background", "rgb("+$("#cr").val()+","+$("#cg").val()+","+$("#cb").val()+")");
        }
        
        function resizeview()
        {
            if(!viewback)
                $("#viewresize").show();
            else
                $("#viewresize").hide();
                
            viewback=!viewback;
        }
        
        function toggleset()
        {
            if(toggle)
            {
                $("#container").hide();
                $("#setainer").show();
            }
            else
            {
                $("#container").show();
                $("#setainer").hide();
            }
            
            toggle = !toggle;
        }
        
        function goTab(e, obj)
        {
            $(".chatloglikehandle .pcl").removeClass("selbg");
            obj.addClass("selbg");
            
            for(i=currenttab; i<4; i++)
                $("#container").find(".chart-view-switcher").trigger("click");
                
            for(i=0; i<e-1; i++)
                $("#container").find(".chart-view-switcher").trigger("click");
                
            currenttab = e-1;
        }
        
        function tmp(){
            $("#container").find(".chart-view-switcher").trigger("click");
            $("#container").find(".chart-view-switcher").trigger("click");
        }
    </script>
</body>

</html>
<commit_msg>dmgmeter skin language patch (remove change color setting)<commit_after>﻿<!DOCTYPE html>
<html lang="ko-kr">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/default.css">
    <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.7/vue.min.js"></script>
    <script src="lib/react.min.js"></script>
    <script src="lib/lodash.min.js"></script>
    <script src="app/rdmty.js"></script>
    <script>
        function onOverlayDataUpdate(e) 
        {
            var start = new Date().getTime();
            var details = e.detail;

            React.render(
                React.createElement(DamageMeter, 
                {
                    parseData: e.detail
                }),
                document.getElementById('container')
            );
            //console.log('rendered in ' + (+new Date() - start) + 'ms');
        }
        
        document.addEventListener('onOverlayDataUpdate', onOverlayDataUpdate);
        document.addEventListener("onOverlayStateUpdate", function (e) {
            if (!e.detail.isLocked) {
				document.documentElement.classList.add("resizable");
            } else {
				document.documentElement.classList.remove("resizable");
            }
        });
        window.addEventListener('message', function (e) {
            if (e.data.type === 'onOverlayDataUpdate') {
	        onOverlayDataUpdate(e.data);
            }
        });
        
        setInterval(function(){
            //privbar(true);
            //$("#blurcont").height($("#container").height()+12);
        }, 50);
    </script>
    <div id="realcont">
        <div id="blurcont">
        </div>
        <div id="container">
            ◇ DPS Meter v2016.06.16<br>
            Modify by Laiglinne - [KR] Altema
        </div>
        <div id="setainer" style="display:none; padding:10px; color:#FFF;">
            <div class="setting_border"><span id="_displayMe">내 이름 표시</span> <input id="myname" type="checkbox" checked="checked" />
            <input id="mynameval" type="text" value="나" /></div>
            <div class="setting_border"><span id="_displayResize">크기조절 표시</span> <input type="checkbox" checked="checked" onclick="resizeview();"/></div>
            <div class="setting_border"><span id="_displayName">미터기 닉네임 표시</span> <input id="showname" type="checkbox" checked="checked" onclick="goTab(currenttab + 1, $('#tab' + currenttab));"/></div>
        </div>
        <div id="bottomset">
            <div class="chatloglikehandle settingcon" id="viewresize" style="border-bottom-right-radius:0px; float:right;">
            </div>
            <div class="chatloglikehandle" id="shg">
                <div id="tab0" class="pcl handlecont selbg" onclick="goTab(1, $(this));"><div class="handlecont_in" id="_DPS">딜량</div></div>
                <div id="tab1" class="pcl handlecont2" onclick="goTab(2, $(this));"><div class="handlecont_in handlecont_in2" id="_HPS">힐량</div></div>
                <div id="tab2" class="pcl handlecont2" onclick="goTab(3, $(this));"><div class="handlecont_in handlecont_in2" id="_DMG">피격</div></div>
                <div id="tab3" class="pcl handlecont2" onclick="goTab(4, $(this));"><div class="handlecont_in handlecont_in2" id="_accNCrit">기타</div></div>
            </div>
            <div class="chatloglikehandle settingcon" onclick="toggleset();">
                <div class="settingcon_in"><div style="background:url(images/icon.png) no-repeat; background-position:3px 2px; width:20px; height:20px;" /></div>
            </div>
        </div>
    </div>
    <script>
        var toggle = true;
        var viewback = true;
        var nicknameshow = true;
        var currenttab = 0; // max 3

		if (language_kr == 1)
		{
			$("#_DPS").html(languagepack.DPS[1]);
			$("#_HPS").html(languagepack.HPS[1]);
			$("#_DMG").html(languagepack.DMG[1]);
			$("#_accNCrit").html(languagepack.accNCrit[1]);

			$("#mynameval").val(languagepack.me[1]);
			$("#_displayMe").html(languagepack.displayMe[1]);
			$("#_displayResize").html(languagepack.displayResize[1]);
			$("#_displayName").html(languagepack.displayName[1]);
		}
        
        function privbar(bool)
        {
            if(bool == 1)
            {
                $(".self .bar-back").css("background", "rgb("+$("#cr").val()+","+$("#cg").val()+","+$("#cb").val()+")");
            }
            $("#privbar").css("background", "rgb("+$("#cr").val()+","+$("#cg").val()+","+$("#cb").val()+")");
        }
        
        function resizeview()
        {
            if(!viewback)
                $("#viewresize").show();
            else
                $("#viewresize").hide();
                
            viewback=!viewback;
        }
        
        function toggleset()
        {
            if(toggle)
            {
                $("#container").hide();
                $("#setainer").show();
            }
            else
            {
                $("#container").show();
                $("#setainer").hide();
            }
            
            toggle = !toggle;
        }
        
        function goTab(e, obj)
        {
            $(".chatloglikehandle .pcl").removeClass("selbg");
            obj.addClass("selbg");
            
            for(i=currenttab; i<4; i++)
                $("#container").find(".chart-view-switcher").trigger("click");
                
            for(i=0; i<e-1; i++)
                $("#container").find(".chart-view-switcher").trigger("click");
                
            currenttab = e-1;
        }
        
        function tmp(){
            $("#container").find(".chart-view-switcher").trigger("click");
            $("#container").find(".chart-view-switcher").trigger("click");
        }
    </script>
</body>

</html>

{'fraction_non_alphanumeric': 0.18771193282738577, 'fraction_numerical': 0.017439044082028097, 'mean_word_length': 1.9394874228761272, 'pattern_counts': {'":': 0, '<': 166, '<?xml version=': 0, '>': 162, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7168323', 'n_tokens_mistral': 3931, 'n_tokens_neox': 3797, 'n_words': 583}