feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
This commit is contained in:
87
f_scripts/be/js/settings-accordion.js
Normal file
87
f_scripts/be/js/settings-accordion.js
Normal file
@@ -0,0 +1,87 @@
|
||||
jQuery(document).ready(function() {
|
||||
$("ul.responsive-accordion li").mouseenter(function(){
|
||||
t = $(this);
|
||||
if (t.parent().parent().parent().attr("id") == "lb-wrapper") {
|
||||
return;
|
||||
}
|
||||
$(this).find(".responsive-accordion-head").addClass("h-msover");
|
||||
$(this).find(".responsive-accordion-panel").addClass("p-msover");
|
||||
}).mouseleave(function(){
|
||||
$(this).find(".responsive-accordion-head").removeClass("h-msover");
|
||||
$(this).find(".responsive-accordion-panel").removeClass("p-msover");
|
||||
});
|
||||
|
||||
|
||||
var _id = "";
|
||||
if ($(".fancybox-wrap").width() > 0) {
|
||||
_id = ".fancybox-inner ";
|
||||
}
|
||||
if ($("#right-side").width() > 0) {
|
||||
_id = "#right-side ";
|
||||
}
|
||||
jQuery(_id + '.responsive-accordion').each(function(e) {
|
||||
if ($(".fancybox-wrap").width() > 0 || $("#right-side").width() > 0) {
|
||||
_obj = "";
|
||||
} else {
|
||||
_obj = this;
|
||||
}
|
||||
jQuery(_id + '.responsive-accordion-head', _obj).click(function(event) {
|
||||
event.stopPropagation ? event.stopPropagation() : (event.cancelBubble=true);
|
||||
var thisAccordion = $(this).parent().parent(),
|
||||
thisHead = $(this),
|
||||
thisPlus = thisHead.find('.responsive-accordion-plus'),
|
||||
thisMinus = thisHead.find('.responsive-accordion-minus'),
|
||||
thisPanel = thisHead.siblings('.responsive-accordion-panel');
|
||||
|
||||
thisAccordion.find('.responsive-accordion-plus').show();
|
||||
thisAccordion.find('.responsive-accordion-minus').hide();
|
||||
|
||||
thisAccordion.find('.responsive-accordion-head').not(this).removeClass('active');
|
||||
thisAccordion.find('.responsive-accordion-panel').not(this).removeClass('active').stop().slideUp('fast');
|
||||
|
||||
if (typeof(thisAccordion.find('.responsive-accordion-panel').html()) == "undefined") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (thisHead.hasClass('active')) {
|
||||
if ($("#ct-wrapper").hasClass("col_panels") && !$("body").hasClass("is-mobile")) {
|
||||
var pid = thisHead.next().attr("rel-id");
|
||||
$("#"+pid).appendTo(thisHead.next()).removeClass("active");
|
||||
}
|
||||
|
||||
thisHead.removeClass('active');
|
||||
thisPlus.show();
|
||||
thisMinus.hide();
|
||||
thisPanel.removeClass('active').stop().slideUp('fast', function(){ldelim}thisresizeDelimiter();{rdelim});
|
||||
} else {
|
||||
thisHead.addClass('active');
|
||||
thisPlus.hide();
|
||||
thisMinus.show();
|
||||
|
||||
if ($("#ct-wrapper").hasClass("col_panels") && !$("body").hasClass("is-mobile")) {
|
||||
$(".col_panel > div").each(function(e){
|
||||
t = $(this).attr("id");
|
||||
if (!$(this).hasClass("active")) return;
|
||||
$(this).appendTo($(".responsive-accordion-panel[rel-id="+t+"]")).removeClass("active");
|
||||
$(".responsive-accordion-panel[rel-id="+t+"]").removeClass("active").removeClass("no-display").hide();
|
||||
$(".responsive-accordion-panel[rel-id="+t+"]").prev().removeClass("active");
|
||||
$(".responsive-accordion-panel[rel-id="+t+"]").prev().find("i.responsive-accordion-plus").show();
|
||||
$(".responsive-accordion-panel[rel-id="+t+"]").prev().find("i.responsive-accordion-minus").hide();
|
||||
});
|
||||
|
||||
var a = thisPanel.html();
|
||||
thisPanel.html("").attr("rel-id", $(a).attr("id")).addClass("no-display");
|
||||
$(a).appendTo('.col_panel').addClass("active");
|
||||
}
|
||||
|
||||
thisPanel.addClass('active').stop().slideDown('fast', function(){ldelim}
|
||||
thisresizeDelimiter();
|
||||
if (thisHead.hasClass("new-message")) {
|
||||
thisHead.parent().click();
|
||||
}
|
||||
thisPanel.css("height", "auto");
|
||||
{rdelim});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user