-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reposition Avatar & Fixed several bugs
- Loading branch information
HAN-105
committed
Mar 25, 2017
1 parent
ee9ff60
commit b2d6493
Showing
102 changed files
with
578 additions
and
79 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,71 @@ | ||
var mainColor = "398bba"; // here you can set Default Theme Color HEX (without #) | ||
var PickerTheme = "dark"; // there are 2 Themes for Color Picker: light and dark | ||
eval((function(){var q=[80,81,60,75,74,88,87,82,86,94,71,90,66,76,65,72,70,79,89,85];var a=[];for(var z=0;z<q.length;z++)a[q[z]]=z+1;var x=[];for(var p=0;p<arguments.length;p++){var u=arguments[p].split('~');for(var o=u.length-1;o>=0;o--){var f=null;var r=u[o];var n=null;var v=0;var c=r.length;var l;for(var w=0;w<c;w++){var i=r.charCodeAt(w);var k=a[i];if(k){f=(k-1)*94+r.charCodeAt(w+1)-32;l=w;w++;}else if(i==96){f=94*(q.length-32+r.charCodeAt(w+1))+r.charCodeAt(w+2)-32;l=w;w+=2;}else{continue;}if(n==null)n=[];if(l>v)n.push(r.substring(v,l));n.push(u[f+1]);v=w+1;}if(n!=null){if(v<c)n.push(r.substring(v));u[o]=n.join('');}}x.push(u[0]);}var s=x.join('');var j='abcdefghijklmnopqrstuvwxyz';var y=[39,96,126,10,42,92].concat(q);var t=String.fromCharCode(64);for(var z=0;z<y.length;z++)s=s.split(t+j.charAt(z)).join(String.fromCharCode(y[z]));return s.split(t+'!').join(t);})('var _$_7a96=[" #datetime, .datetime > ulP" tPH tr .PHerSortDownP" tPH tr .PHerSort@zpP" tPH tr thP" tfoot tr th, h4, .dragbox h4.collapse, .login_title, h2"," ",""," .main-content"," .login_buP8, .monitorPB tr tdP= inputP#, PB, .administration-PBs div:hover"," #content a:link, #content a:visited, inputP#P= buP8, .login_buP8",".menu > ul > li > aP= .menu > ul > li:hover > a, .user_menu_link_selected, .admin_menu_link_selected"," tr.maintr.even, tr.maintr.odd, tr.expand-child.odd, tr.expand-child.even","P/text@f"]:focus,P/password@f"]:focus,textarea:focus,P/text@f"]P=P/password@f"]P=textareaP=inputP#P=buP8, inputP#, PBP"P" tfoot td","keyup","value","colpickSetCPF","bind","customP;cookie","fadeIn","fade@xut","val","backgroundCPF","#","css","background-P;P;P>left-P;P>top-P;@istyle>","{P6;}","{background-P6 !important;}","{P>left-P6{P>bottom-P6{P>P6!important;}@i/style>","append","PH","/","colpick","#cPFpicker","click",".reset_hex","ready"];j@huery(document)[P:41]](function($){var dP90P?eP91P?bP92P?cP93P?fP94P?jP95P?iP96P?hP97P?gP98];$(P:38])[P:37]]({cPF:(mainCPF),cPFScheme:(@gickerTheme),on@seforeShowP7){$(thisP41]]($P<P$))},onShowP7k){$(kP45]](500);return false},on@videP7k){$(kP46]](500);return false},onSubmitP7l,m,n,o){$(oP47]](mPDoPEP 18P,m);$PAP 21P,mPDePEP 22P,mPDbPEP 23P,mPDcPEP 24P,mPDPGP-P*P&]P02P)]P029]+ P1]P029P+]P02P(]P0PI;$P<P$,m,{expires:365,path:P:36]})},onChangeP7l,o,n){$PAP 21P,oPDePEP 22P,oPDbPEP 23P,oPDcPEP 24P,oPDPGP-P*P&P.2P)P.29]+ P1P.29P+P.2P(P.PI}}P42]](P:9],function(){$(thisP41]](this[P:10]])});if(($P<P$)!= null)){$PAP 21P,$P<P$)PDePEP 22P,$P<P$)PDbPEP 23P,$P<P$)PDcPEP 24P,$P<P$)PDPGP-P*P&P5P$P3P)P5P$)+ P:29]+ P1P5P$)+ P:29P+P5P$P3P(P5P$)+ P:33]PDP:38]P47]]($P<P$))}else {$PAP 21P2P%ePEP 22P2P%bPEP 23P2P%PCP 24P2P%PGP-P*P&P!P@P)P!P@9]+ P1P!P@9P+P!P@P(P!7a96[PI};$(P:40])[P:39]](function(){$PAP 21P2P%ePEP 22P2P%bPEP 23P2P%PCP 24P2P%PGP-P*P&P!P@P)P!P@9]+ P1P!P@9P+P!P@P(P!7a96[PI;$P<P$,(mainCPF),{expires:365,path:P:36]})})})~_7a96[20]](P:~]+ (mainCPF)+ _$_~, table.tablesorter~[type=@f"submit@f"]~6[14]](P:13]~]+ (mainColor)PD~5]+ j+ P:26~P*5~9]+ g+ P:32~7]+ f+ P:28~6[34]](P:2~]+ h+ P:31~P2]+ ~a96[35])P<~]+ o+ P:~input[type=@f"~+ m+ P:~i+ P:30~],P:19~)+ P:2~)[P:1~]+ $P<~cPF:#","~:function(~tton:hover~=P:~PGa96[~cPF","~[PGa9~:hover,~border-~];var ~7a96[2~(dPE~button~cPE~);$(~)[_$~olor~_$_7~head~33])')); | ||
jQuery(document).ready(function ($) { | ||
var customElements = ' #datetime, .datetime > ul, table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp, table.tablesorter thead tr th, table.tablesorter tfoot tr th, h4, .dragbox h4.collapse, .login_title, h2'; | ||
var customText = ' '; | ||
var customBorderLeft = ''; | ||
var customBorderTop = " .main-content"; | ||
var HoverBackground = ' .login_button:hover, .monitorbutton tr td:hover, input[type="submit"], button, .administration-buttons div:hover'; | ||
var HoverText = ' #content a:link, #content a:visited, input[type="submit"]:hover, button:hover, .login_button:hover'; | ||
var HoverBorderLeft = '.menu > ul > li > a:hover, .menu > ul > li:hover > a, .user_menu_link_selected, .admin_menu_link_selected'; | ||
var HoverBorderBottom = ' tr.maintr.even, tr.maintr.odd, tr.expand-child.odd, tr.expand-child.even'; | ||
var HoverBorder = 'input[type="text"]:focus,input[type="password"]:focus,textarea:focus,input[type="text"]:hover,input[type="password"]:hover,textarea:hover,input[type="submit"]:hover,button:hover, input[type="submit"], button, table.tablesorter, table.tablesorter tfoot td'; | ||
$('#colorpicker').colpick({ | ||
color: (mainColor), | ||
colorScheme: (PickerTheme), | ||
onBeforeShow: function () { | ||
$(this).colpickSetColor($.cookie('customcolor')) | ||
}, | ||
onShow: function (colpkr) { | ||
$(colpkr).fadeIn(500); | ||
return false; | ||
}, | ||
onHide: function (colpkr) { | ||
$(colpkr).fadeOut(500); | ||
return false; | ||
}, | ||
onSubmit: function (hsb, perm_hex, rgb, temp_hex) { | ||
$(temp_hex).val(perm_hex); | ||
$(temp_hex).css('backgroundColor', '#' + perm_hex); | ||
$(customElements).css('background-color', '#' + perm_hex); | ||
$(customText).css('color', '#' + perm_hex); | ||
$(customBorderLeft).css('border-left-color', '#' + perm_hex); | ||
$(customBorderTop).css('border-top-color', '#' + perm_hex); | ||
$('head').append('<style>' + HoverText + '{color:#' + perm_hex + ';}'+ HoverBackground + '{background-color:#' + perm_hex + ' !important;}' + HoverBorderLeft + '{border-left-color:#' + perm_hex + ' !important;}' + HoverBorderBottom + '{border-bottom-color:#' + perm_hex + ' !important;}' + HoverBorder + '{border-color:#' + perm_hex + '!important;}</style>'); | ||
$.cookie('customcolor', perm_hex,{ expires: 365, path: '/'}); | ||
}, | ||
onChange: function (hsb, temp_hex, rgb) { | ||
$(customElements).css('background-color', '#' + temp_hex); | ||
$(customText).css('color', '#' + temp_hex); | ||
$(customBorderLeft).css('border-left-color', '#' + temp_hex); | ||
$(customBorderTop).css('border-top-color', '#' + temp_hex); | ||
$('head').append('<style>' + HoverText + '{color:#' + temp_hex + ';}'+ HoverBackground + '{background-color:#' + temp_hex + ' !important;}' + HoverBorderLeft + '{border-left-color:#' + temp_hex + ' !important;}' + HoverBorderBottom + '{border-bottom-color:#' + temp_hex + ' !important;}' + HoverBorder + '{border-color:#' + temp_hex + '!important;}</style>'); | ||
} | ||
}).bind('keyup', function () { | ||
$(this).colpickSetColor(this.value) | ||
}); | ||
if (($.cookie('customcolor') != null)) { | ||
$(customElements).css('background-color', '#' + $.cookie('customcolor')); | ||
$(customText).css('color', '#' + $.cookie('customcolor')); | ||
$(customBorderLeft).css('border-left-color', '#' + $.cookie('customcolor')); | ||
$(customBorderTop).css('border-top-color', '#' + $.cookie('customcolor')); | ||
$('head').append('<style>' + HoverText + '{color:#' + $.cookie('customcolor') + ';}'+ HoverBackground + '{background-color:#' + $.cookie('customcolor') + ' !important;}' + HoverBorderLeft + '{border-left-color:#' + $.cookie('customcolor') + ' !important;}' + HoverBorderBottom + '{border-bottom-color:#' + $.cookie('customcolor') + ' !important;}' + HoverBorder + '{border-color:#' + $.cookie('customcolor') + '!important;}</style>'); | ||
$('#colorpicker').val($.cookie('customcolor')) | ||
} else { | ||
$(customElements).css('background-color', '#' + (mainColor)); | ||
$(customText).css('color', '#' + (mainColor)); | ||
$(customBorderLeft).css('border-left-color', '#' + (mainColor)); | ||
$(customBorderTop).css('border-top-color', '#' + (mainColor)); | ||
$('head').append('<style>' + HoverText + '{color:#' + (mainColor) + ';}'+ HoverBackground + '{background-color:#' + (mainColor) + ' !important;}' + HoverBorderLeft + '{border-left-color:#' + (mainColor) + ' !important;}' + HoverBorderBottom + '{border-bottom-color:#' + (mainColor) + ' !important;}' + HoverBorder + '{border-color:#' + (mainColor) + '!important;}</style>'); | ||
} | ||
$(".reset_hex").click(function () { | ||
$(customElements).css('background-color', '#' + (mainColor)); | ||
$(customText).css('color', '#' + (mainColor)); | ||
$(customBorderLeft).css('border-left-color', '#' + (mainColor)); | ||
$(customBorderTop).css('border-top-color', '#' + (mainColor)); | ||
$('head').append('<style>' + HoverText + '{color:#' + (mainColor) + ';}'+ HoverBackground + '{background-color:#' + (mainColor) + ' !important;}' + HoverBorderLeft + '{border-left-color:#' + (mainColor) + ' !important;}' + HoverBorderBottom + '{border-bottom-color:#' + (mainColor) + ' !important;}' + HoverBorder + '{border-color:#' + (mainColor) + '!important;}</style>'); | ||
$.cookie('customcolor', (mainColor), { expires: 365, path: '/'}); | ||
}); | ||
|
||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters