Merge from lnApp
@@ -1,10 +1,13 @@
|
||||
/* Default Template CSS */
|
||||
|
||||
table.box-full { border: 1px solid #AAAACC; margin-right: auto; width: 100%; }
|
||||
table.box-left { border: 1px solid #AAAACC; margin-right: auto; }
|
||||
table.box-center { border: 1px solid #AAAACC; margin-left: auto; margin-right: auto; }
|
||||
table.box-full { border: 1px solid #AAAACC; margin-right: auto; width: 100%; }
|
||||
tr.head { font-weight: bold; }
|
||||
td.head { font-weight: bold; }
|
||||
td.bold { font-weight: bold; }
|
||||
td.bold-right { font-weight: bold; text-align: right; }
|
||||
td.right { text-align: right; }
|
||||
tr.odd { background-color: #FCFCFE; }
|
||||
tr.even { background-color: #F6F6F8; }
|
||||
|
||||
|
92
application/media/css/jquery.gritter.css
Normal file
@@ -0,0 +1,92 @@
|
||||
/* ie6 trash */
|
||||
* html #gritter-notice-wrapper {
|
||||
position:absolute;
|
||||
}
|
||||
* html .gritter-top {
|
||||
margin-bottom:-10px;
|
||||
}
|
||||
* html .gritter-item {
|
||||
padding-bottom:0;
|
||||
}
|
||||
* html .gritter-bottom {
|
||||
margin-bottom:0;
|
||||
}
|
||||
* html .gritter-close {
|
||||
background:url(../img/jquery.gritter-close-ie6.gif);
|
||||
width:22px;
|
||||
height:22px;
|
||||
top:7px;
|
||||
left:7px;
|
||||
}
|
||||
|
||||
/* the norm */
|
||||
#gritter-notice-wrapper {
|
||||
position:fixed;
|
||||
top:20px;
|
||||
right:20px;
|
||||
width:301px;
|
||||
z-index:9999;
|
||||
}
|
||||
.gritter-item-wrapper {
|
||||
position:relative;
|
||||
margin:0 0 10px 0;
|
||||
}
|
||||
.gritter-top {
|
||||
background:url(../img/jquery.gritter.png) no-repeat left -30px;
|
||||
height:10px;
|
||||
}
|
||||
.hover .gritter-top {
|
||||
background-position:right -30px;
|
||||
}
|
||||
.gritter-bottom {
|
||||
background:url(../img/jquery.gritter.png) no-repeat left bottom;
|
||||
height:8px;
|
||||
margin:0;
|
||||
}
|
||||
.hover .gritter-bottom {
|
||||
background-position: bottom right;
|
||||
}
|
||||
.gritter-item {
|
||||
display:block;
|
||||
background:url(../img/jquery.gritter.png) no-repeat left -40px;
|
||||
color:#eee;
|
||||
padding:2px 11px 8px 11px;
|
||||
font-size: 11px;
|
||||
font-family:verdana;
|
||||
}
|
||||
.hover .gritter-item {
|
||||
background-position:right -40px;
|
||||
}
|
||||
.gritter-item p {
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
.gritter-close {
|
||||
position:absolute;
|
||||
top:5px;
|
||||
left:3px;
|
||||
background:url(../img/jquery.gritter.png) no-repeat left top;
|
||||
cursor:pointer;
|
||||
width:30px;
|
||||
height:30px;
|
||||
}
|
||||
.gritter-title {
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
padding:0 0 7px 0;
|
||||
display:block;
|
||||
text-shadow:1px 1px #000; /* Not supported by IE :( */
|
||||
}
|
||||
.gritter-image {
|
||||
width:24px;
|
||||
height:24px;
|
||||
float:left;
|
||||
}
|
||||
.gritter-with-image,
|
||||
.gritter-without-image {
|
||||
padding:0 0 0px 0;
|
||||
}
|
||||
.gritter-with-image {
|
||||
width:250px;
|
||||
float:right;
|
||||
}
|
BIN
application/media/img/address-book-new-big.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
application/media/img/address-book-new.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
application/media/img/ajax-progress.gif
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
application/media/img/bug-big.png
Normal file
After Width: | Height: | Size: 928 B |
BIN
application/media/img/dialog-error-big.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
application/media/img/dialog-information-big.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
application/media/img/dialog-password-big.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
application/media/img/dialog-question-big.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
application/media/img/dialog-question.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
application/media/img/dialog-warning-big.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
application/media/img/gritter-close-ie6.gif
Normal file
After Width: | Height: | Size: 718 B |
BIN
application/media/img/gritter.png
Executable file
After Width: | Height: | Size: 4.8 KiB |
BIN
application/media/img/help-about-big.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
application/media/img/help-about.png
Normal file
After Width: | Height: | Size: 981 B |
BIN
application/media/img/help-big.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
application/media/img/help-faq-big.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
application/media/img/help-faq.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
application/media/img/help.png
Normal file
After Width: | Height: | Size: 738 B |
BIN
application/media/img/jquery.gritter.close-ie6.gif
Normal file
After Width: | Height: | Size: 718 B |
BIN
application/media/img/jquery.gritter.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
application/media/img/request-feature-big.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
application/media/img/smile-big.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
application/media/img/toggle-closed.png
Normal file
After Width: | Height: | Size: 102 B |
BIN
application/media/img/toggle-open.png
Normal file
After Width: | Height: | Size: 98 B |
21
application/media/js/jquery.gritter-1.5.js
Normal file
@@ -0,0 +1,21 @@
|
||||
(function($){$.gritter={};$.gritter.options={fade_in_speed:'medium',fade_out_speed:2000,time:6000}
|
||||
$.gritter.add=function(params){try{if(!params.title||!params.text){throw'You need to fill out the first 2 params: "title" and "text"';}}catch(e){alert('Gritter Error: '+e);}
|
||||
return Gritter.add(params);}
|
||||
$.gritter.remove=function(id,params){Gritter.removeSpecific(id,params||'');}
|
||||
$.gritter.removeAll=function(params){Gritter.stop(params||'');}
|
||||
var Gritter={fade_in_speed:'',fade_out_speed:'',time:'',_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'<div class="gritter-close"></div>',_tpl_item:'<div id="gritter-item-[[number]]" class="gritter-item-wrapper" style="display:none"><div class="gritter-top"></div><div class="gritter-item">[[image]]<div class="[[class_name]]"><span class="gritter-title">[[username]]</span><p>[[text]]</p></div><div style="clear:both"></div></div><div class="gritter-bottom"></div></div>',_tpl_wrap:'<div id="gritter-notice-wrapper"></div>',add:function(params){if(!this._is_setup){this._runSetup();}
|
||||
var user=params.title,text=params.text,image=params.image||'',sticky=params.sticky||false,time_alive=params.time||'';this._verifyWrapper();this._item_count++;var number=this._item_count,tmp=this._tpl_item;this['_before_open_'+number]=($.isFunction(params.before_open))?params.before_open:function(){};this['_after_open_'+number]=($.isFunction(params.after_open))?params.after_open:function(){};this['_before_close_'+number]=($.isFunction(params.before_close))?params.before_close:function(){};this['_after_close_'+number]=($.isFunction(params.after_close))?params.after_close:function(){};this._custom_timer=0;if(time_alive){this._custom_timer=time_alive;}
|
||||
var image_str=(image!='')?'<img src="'+image+'" class="gritter-image" />':'',class_name=(image!='')?'gritter-with-image':'gritter-without-image';tmp=this._str_replace(['[[username]]','[[text]]','[[image]]','[[number]]','[[class_name]]'],[user,text,image_str,this._item_count,class_name],tmp);this['_before_open_'+number]();$('#gritter-notice-wrapper').append(tmp);var item=$('#gritter-item-'+this._item_count);item.fadeIn(this.fade_in_speed,function(){Gritter['_after_open_'+number]($(this));});if(!sticky){this._setFadeTimer(item,number);}
|
||||
$(item).bind('mouseenter mouseleave',function(event){if(event.type=='mouseenter'){if(!sticky){Gritter.restoreItemIfFading(this,number);}}
|
||||
else{if(!sticky){Gritter._setFadeTimer(this,number);}}
|
||||
Gritter._hoverState(this,event.type);});return number;},_countRemoveWrapper:function(unique_id){this['_after_close_'+unique_id]($('#gritter-item-'+unique_id));if($('.gritter-item-wrapper').length==0){$('#gritter-notice-wrapper').remove();}},_fade:function(e,unique_id){Gritter['_before_close_'+unique_id]($(e));$(e).animate({opacity:0},Gritter.fade_out_speed,function(){$(e).animate({height:0},300,function(){$(e).remove();Gritter._countRemoveWrapper(unique_id);})})},_hoverState:function(e,type){if(type=='mouseenter'){$(e).addClass('hover');if($(e).find('img').length){$(e).find('img').before(this._tpl_close);}
|
||||
else{$(e).find('span').before(this._tpl_close);}
|
||||
$(e).find('.gritter-close').click(function(){Gritter._remove(this);});}
|
||||
else{$(e).removeClass('hover');$(e).find('.gritter-close').remove();}},_remove:function(e){var gritter_wrap=$(e).parents('.gritter-item-wrapper');var unique_id=gritter_wrap.attr('id').split('-')[2];this['_before_close_'+unique_id](gritter_wrap);gritter_wrap.fadeOut('medium',function(){$(this).remove();Gritter._countRemoveWrapper(unique_id);});},removeSpecific:function(unique_id,params){var e=$('#gritter-item-'+unique_id);this['_before_close_'+unique_id](e);if(typeof(params)==='object'){if(params.fade){var speed=this.fade_out_speed;if(params.speed){speed=params.speed;}
|
||||
e.fadeOut(speed,function(){e.remove();});}}
|
||||
else{e.remove();}
|
||||
this._countRemoveWrapper(unique_id);},restoreItemIfFading:function(e,number){window.clearTimeout(Gritter['_int_id_'+number]);$(e).stop().css({opacity:1});},_runSetup:function(){for(opt in $.gritter.options){this[opt]=$.gritter.options[opt];}
|
||||
this._is_setup=1;},_setFadeTimer:function(item,number){var timer_str=(this._custom_timer)?this._custom_timer:this.time;Gritter['_int_id_'+number]=window.setTimeout(function(){Gritter._fade(item,number);},timer_str);},stop:function(params){var before_close=($.isFunction(params.before_close))?params.before_close:function(){};var after_close=($.isFunction(params.after_close))?params.after_close:function(){};var wrap=$('#gritter-notice-wrapper');before_close(wrap);wrap.fadeOut(function(){$(this).remove();after_close();});},_str_replace:function(search,replace,subject,count){var i=0,j=0,temp='',repl='',sl=0,fl=0,f=[].concat(search),r=[].concat(replace),s=subject,ra=r instanceof Array,sa=s instanceof Array;s=[].concat(s);if(count){this.window[count]=0;}
|
||||
for(i=0,sl=s.length;i<sl;i++){if(s[i]===''){continue;}
|
||||
for(j=0,fl=f.length;j<fl;j++){temp=s[i]+'';repl=ra?(r[j]!==undefined?r[j]:''):r[0];s[i]=(temp).split(f[j]).join(repl);if(count&&s[i]!==temp){this.window[count]+=(temp.length-s[i].length)/f[j].length;}}}
|
||||
return sa?s:s[0];},_verifyWrapper:function(){if($('#gritter-notice-wrapper').length==0){$('body').append(this._tpl_wrap);}}}})(jQuery);
|
48
application/media/js/jquery.stickyfloat-1.0.js
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* stickyfloat - jQuery plugin for verticaly floating anything in a constrained area
|
||||
*
|
||||
* Example: jQuery('#menu').stickyfloat({duration: 400});
|
||||
* parameters:
|
||||
* duration - the duration of the animation
|
||||
* startOffset - the amount of scroll offset after it the animations kicks in
|
||||
* offsetY - the offset from the top when the object is animated
|
||||
* lockBottom - 'true' by default, set to false if you don't want your floating box to stop at parent's bottom
|
||||
* $Version: 05.16.2009 r1
|
||||
* Copyright (c) 2009 Yair Even-Or
|
||||
* vsync.design@gmail.com
|
||||
*/
|
||||
|
||||
$.fn.stickyfloat = function(options, lockBottom) {
|
||||
var $obj = this;
|
||||
var parentPaddingTop = parseInt($obj.parent().css('padding-top'));
|
||||
var startOffset = $obj.parent().offset().top;
|
||||
var opts = $.extend({ startOffset: startOffset, offsetY: parentPaddingTop, duration: 200, lockBottom:true }, options);
|
||||
|
||||
$obj.css({ position: 'absolute' });
|
||||
|
||||
if(opts.lockBottom){
|
||||
var bottomPos = $obj.parent().height() - $obj.height() + parentPaddingTop; //get the maximum scrollTop value
|
||||
if( bottomPos < 0 )
|
||||
bottomPos = 0;
|
||||
}
|
||||
|
||||
$(window).scroll(function () {
|
||||
$obj.stop(); // stop all calculations on scroll event
|
||||
|
||||
var pastStartOffset = $(document).scrollTop() > opts.startOffset; // check if the window was scrolled down more than the start offset declared.
|
||||
var objFartherThanTopPos = $obj.offset().top > startOffset; // check if the object is at it's top position (starting point)
|
||||
var objBiggerThanWindow = $obj.outerHeight() < $(window).height(); // if the window size is smaller than the Obj size, then do not animate.
|
||||
|
||||
// if window scrolled down more than startOffset OR obj position is greater than
|
||||
// the top position possible (+ offsetY) AND window size must be bigger than Obj size
|
||||
if( (pastStartOffset || objFartherThanTopPos) && objBiggerThanWindow ){
|
||||
var newpos = ($(document).scrollTop() -startOffset + opts.offsetY );
|
||||
if ( newpos > bottomPos )
|
||||
newpos = bottomPos;
|
||||
if ( $(document).scrollTop() < opts.startOffset ) // if window scrolled < starting offset, then reset Obj position (opts.offsetY);
|
||||
newpos = parentPaddingTop;
|
||||
|
||||
$obj.animate({ top: newpos }, opts.duration );
|
||||
}
|
||||
});
|
||||
};
|
BIN
application/media/js/themes/default/d.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
application/media/js/themes/default/dot_for_ie.gif
Normal file
After Width: | Height: | Size: 43 B |
56
application/media/js/themes/default/style.css
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* jsTree default theme 1.0
|
||||
* Supported features: dots/no-dots, icons/no-icons, focused, loading
|
||||
* Supported plugins: ui (hovered, clicked), checkbox, contextmenu, search
|
||||
*/
|
||||
|
||||
.jstree-default li,
|
||||
.jstree-default ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
|
||||
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
|
||||
.jstree-default li.jstree-last { background:transparent; }
|
||||
.jstree-default .jstree-open > ins { background-position:-72px 0; }
|
||||
.jstree-default .jstree-closed > ins { background-position:-54px 0; }
|
||||
.jstree-default .jstree-leaf > ins { background-position:-36px 0; }
|
||||
|
||||
.jstree-default .jstree-hovered { background:#FFF0C0; border:1px solid #841212; padding:0 2px 0 1px; color: #841212;}
|
||||
.jstree-default .jstree-clicked { background:#FCFCFC; border:1px solid #FCFCFC; padding:0 2px 0 1px; color: #841212;}
|
||||
.jstree-default a .jstree-icon { background-position:-56px -19px; }
|
||||
.jstree-default a.jstree-loading .jstree-icon { background:url("throbber.gif") center center no-repeat !important; }
|
||||
|
||||
.jstree-default.jstree-focused { background:#FCFCFC; }
|
||||
|
||||
.jstree-default .jstree-no-dots li,
|
||||
.jstree-default .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
||||
.jstree-default .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
||||
.jstree-default .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
||||
|
||||
.jstree-default .jstree-no-icons a .jstree-icon { display:none; }
|
||||
|
||||
.jstree-default .jstree-search { font-style:italic; }
|
||||
|
||||
.jstree-default .jstree-no-icons .checkbox { display:inline-block; }
|
||||
.jstree-default .jstree-no-checkboxes .checkbox { display:none !important; }
|
||||
.jstree-default .jstree-checked > a > .checkbox { background-position:-38px -19px; }
|
||||
.jstree-default .jstree-unchecked > a > .checkbox { background-position:-2px -19px; }
|
||||
.jstree-default .jstree-undetermined > a > .checkbox { background-position:-20px -19px; }
|
||||
.jstree-default .jstree-checked > a > .checkbox:hover { background-position:-38px -37px; }
|
||||
.jstree-default .jstree-unchecked > a > .checkbox:hover { background-position:-2px -37px; }
|
||||
.jstree-default .jstree-undetermined > a > .checkbox:hover { background-position:-20px -37px; }
|
||||
|
||||
#vakata-dragged.jstree-default ins { background:transparent !important; }
|
||||
#vakata-dragged.jstree-default .jstree-ok { background:url("d.png") -2px -53px no-repeat !important; }
|
||||
#vakata-dragged.jstree-default .jstree-invalid { background:url("d.png") -18px -53px no-repeat !important; }
|
||||
#jstree-marker.jstree-default { background:url("d.png") -41px -57px no-repeat !important; }
|
||||
|
||||
.jstree-default a.jstree-search { color:aqua; }
|
||||
|
||||
#vakata-contextmenu.jstree-default-context,
|
||||
#vakata-contextmenu.jstree-default-context li ul { background:#f0f0f0; border:1px solid #979797; -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
|
||||
#vakata-contextmenu.jstree-default-context li { }
|
||||
#vakata-contextmenu.jstree-default-context a { color:black; }
|
||||
#vakata-contextmenu.jstree-default-context a:hover,
|
||||
#vakata-contextmenu.jstree-default-context .vakata-hover > a { padding:0 5px; background:#e8eff7; border:1px solid #aecff7; color:black; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
|
||||
#vakata-contextmenu.jstree-default-context li.vakata-separator { background:white; border-top:1px solid #e0e0e0; margin:0; }
|
||||
#vakata-contextmenu.jstree-default-context li ul { margin-left:-4px; }
|
||||
|
||||
/* TODO: IE6 support - the `>` selectors */
|
BIN
application/media/js/themes/default/throbber.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |