git add .
git commit "create admin panel layout with header sidebar and footer"
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user