git add .

git commit  "create admin panel layout with header sidebar and footer"
This commit is contained in:
2026-08-18 09:49:19 +03:30
parent 14684d5537
commit d7bd95f71a
39 changed files with 347 additions and 75 deletions
+2 -2
View File
@@ -2720,7 +2720,7 @@
this._pages = [];
/**
* All DOM elements of the user interface.
* All DOM elements of the userController interface.
* @protected
* @type {Object}
*/
@@ -2938,7 +2938,7 @@
};
/**
* Draws the user interface.
* Draws the userController interface.
* @todo The option `dotsData` wont work.
* @protected
*/
+5 -5
View File
@@ -84,7 +84,7 @@
};
/**
* Check to see if user prefers reduced motion
* Check to see if userController prefers reduced motion
* @param {Object} settings Script settings
*/
var reduceMotion = function (settings) {
@@ -389,7 +389,7 @@
smoothScroll.animateScroll = function (anchor, toggle, options) {
// Local settings
var animateSettings = extend(settings || defaults, options || {}); // Merge user options with defaults
var animateSettings = extend(settings || defaults, options || {}); // Merge userController options with defaults
// Selectors and variables
var isNum = Object.prototype.toString.call(anchor) === '[object Number]' ? true : false;
@@ -483,7 +483,7 @@
*/
var clickHandler = function (event) {
// Don't run if the user prefers reduced motion
// Don't run if the userController prefers reduced motion
if (reduceMotion(settings)) return;
// Don't run if right-click or command/control + click
@@ -586,7 +586,7 @@
smoothScroll.destroy();
// Selectors and variables
settings = extend(defaults, options || {}); // Merge user options with defaults
settings = extend(defaults, options || {}); // Merge userController options with defaults
fixedHeader = settings.header ? document.querySelector(settings.header) : null; // Get the fixed header
headerHeight = getHeaderHeight(fixedHeader);
@@ -623,4 +623,4 @@
return SmoothScroll;
});
});
+7 -7
View File
@@ -120,8 +120,8 @@
} else {
element = this.$menu.insertAfter(this.$element);
this.hasSameParent = true;
}
}
if (!this.hasSameParent) {
// We cannot rely on the element position, need to position relative to the window
element.css("position", "fixed");
@@ -143,7 +143,7 @@
if (this.options.fitToElement === true) {
element.css("width", this.$element.outerWidth() + "px");
}
this.shown = true;
return this;
},
@@ -168,7 +168,7 @@
var worker = $.proxy(function () {
// Bloodhound (since 0.11) needs three arguments.
// Bloodhound (since 0.11) needs three arguments.
// Two of them are callback functions (sync and async) for local and remote data processing
// see https://github.com/twitter/typeahead.js/blob/master/src/bloodhound/bloodhound.js#L132
if ($.isFunction(this.source) && this.source.length === 3) {
@@ -489,7 +489,7 @@
this.keyPressed = false;
if (this.options.showHintOnFocus && this.skipShowHintOnFocus !== true) {
if(this.options.showHintOnFocus === "all") {
this.lookup("");
this.lookup("");
} else {
this.lookup();
}
@@ -506,12 +506,12 @@
this.focused = false;
this.keyPressed = false;
} else if (this.mouseddown) {
// This is for IE that blurs the input when user clicks on scroll.
// This is for IE that blurs the input when userController clicks on scroll.
// We set the focus back on the input and prevent the lookup to occur again
this.skipShowHintOnFocus = true;
this.$element.focus();
this.mouseddown = false;
}
}
},
click: function (e) {
Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB