<project version="4">
<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
- <change afterPath="$PROJECT_DIR$/js/mmenu/mmenu-light.css" afterDir="false" />
- <change afterPath="$PROJECT_DIR$/js/mmenu/mmenu-light.js" afterDir="false" />
- <change afterPath="$PROJECT_DIR$/js/mmenu/mmenu-light.polyfills.js" afterDir="false" />
+ <change afterPath="$PROJECT_DIR$/style/menu.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/js/home.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/home.js" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/js/mmenu/mmenu-light.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/mmenu/mmenu-light.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/style/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/style/style.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.less" afterDir="false" />
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
- <option value="Less File" />
<option value="Setup Script" />
<option value="Python Script" />
<option value="HTML File" />
<option value="JavaScript File" />
+ <option value="Less File" />
</list>
</option>
</component>
<workItem from="1604828693023" duration="1255000" />
<workItem from="1605001866699" duration="7793000" />
<workItem from="1605087671373" duration="102000" />
- <workItem from="1605087787424" duration="6276000" />
- </task>
- <task id="LOCAL-00332" summary=".">
- <created>1595319345113</created>
- <option name="number" value="00332" />
- <option name="presentableId" value="LOCAL-00332" />
- <option name="project" value="LOCAL" />
- <updated>1595319345113</updated>
+ <workItem from="1605087787424" duration="13605000" />
</task>
<task id="LOCAL-00333" summary=".">
<created>1595403718905</created>
<option name="project" value="LOCAL" />
<updated>1605093966322</updated>
</task>
- <option name="localTasksCounter" value="381" />
+ <task id="LOCAL-00381" summary=".">
+ <created>1605094978427</created>
+ <option name="number" value="00381" />
+ <option name="presentableId" value="LOCAL-00381" />
+ <option name="project" value="LOCAL" />
+ <updated>1605094978427</updated>
+ </task>
+ <option name="localTasksCounter" value="382" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<screen x="0" y="0" width="1707" height="920" />
</state>
<state x="740" y="229" key="#com.jetbrains.php.refactoring.extractMethod.PhpExtractMethodDialog#function0/0.0.1707.920@0.0.1707.920" timestamp="1604146905948" />
- <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1605093956565">
+ <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1605094974306">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="132" y="0" width="737" height="502" key="CommitChangelistDialog2/0.0.1707.920@0.0.1707.920" timestamp="1605086955514" />
<state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1602171117745" />
- <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1605093956565" />
+ <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1605094974306" />
<state x="952" y="244" key="FileChooserDialogImpl" timestamp="1605087475486">
<screen x="0" y="0" width="2560" height="1040" />
</state>
var lastOffScreen = 0;
var maskRemoteShort = false;
-document.addEventListener(
- "DOMContentLoaded", () => {
- const menu = new MmenuLight(
- document.querySelector( "#mainnav" )
- );
-
- const navigator = menu.navigation();
- const drawer = menu.offcanvas();
-
- document.querySelector( 'a[href="#my-menu"]' )
- .addEventListener( 'click', ( evnt ) => {
- evnt.preventDefault();
- drawer.open();
- });
- }
-);
-
$(function () {
var clicktouchevent = 'click';
runSSHQueue();
}, 1500);
+ menu = new MmenuLight(
+ document.querySelector("#mainnav")
+ );
+
+ menunav = menu.navigation({theme: 'dark', title: ''});
+ menudrawer = menu.offcanvas();
+
+ document.querySelector('a[href="#openmenu"]')
+ .addEventListener('click', function (evnt) {
+ evnt.preventDefault();
+ menudrawer.open();
+ });
+
$("body").mousewheel(function (event, delta) {
$("#scrollholder").get(0).scrollLeft -= (delta * 60);
event.preventDefault();
return false;
});
- $(document).on(clicktouchevent, 'a[data-menu]', function () {
+ $(document).on(clicktouchevent, '[data-menu]', function () {
+ console.log('!!!!');
$("#iframeHolder").hide();
window.location.hash = "#/section/" + $(this).data('menu');
return false;
console.log('hashchange ' + a);
var args = a.split('/');
args.shift();
+ menudrawer.close();
if (args.length == 0 || args[0] == '') {
showSection('home');
} else if (args[0] == 'section') {
t.attr('data-init', '1');
resize();
hideLoader();
- }).fail(function(){
+ }).fail(function () {
hideLoader();
- });;
+ });
+ ;
}
function updateVelib(force) {
v.attr('data-init', '1');
resize();
hideLoader();
- }).fail(function(){
+ }).fail(function () {
hideLoader();
});
}
w.find('.temp').text(data.outdoor_temp + '°C');
w.attr('data-init', 1);
resize();
- }).fail(function(){
+ }).fail(function () {
hideLoader();
});
}
if (callback !== undefined) {
callback();
}
- }).fail(function(){
+ }).fail(function () {
if (callback !== undefined) {
callback();
}
// Resize bar
var nbicons = $("header a").length;
var fz = hh / nbicons / 1.58;
- $("header").css('fontSize', fz);
+ // $("header").css('fontSize', fz);
var baseCellWidth = 6.4;
var baseCellHeight = 6.4;
baseCellWidth = 4.4;
}
- var left = fz * 1.2;
- var scrollWidth = ww - left;
-
var perRow = 2;
var s = (hh) / perRow / baseCellHeight;
$("section").css('fontSize', s);
- var minWidth = scrollWidth;
if ($('section:visible .col').length > 0) {
- minWidth = baseCellWidth * s * $('section:visible .col').length + 40;
+ var minWidth = baseCellWidth * s * $('section:visible .col').length + 40;
}
$("main").css({
height: hh,
minWidth: minWidth
});
-
- $("#scrollholder").css({width: scrollWidth, height: hh, left: left});
$("#iframeHolder").css({left: fz * 1.3, width: ww - fz * 1.3});
$("section:visible .col > *").each(function () {
-!function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";n.r(e);var i=function(){function t(t){var e=this;this.listener=function(t){(t.matches?e.matchFns:e.unmatchFns).forEach((function(t){t()}))},this.toggler=window.matchMedia(t),this.toggler.addListener(this.listener),this.matchFns=[],this.unmatchFns=[]}return t.prototype.add=function(t,e){this.matchFns.push(t),this.unmatchFns.push(e),(this.toggler.matches?t:e)()},t}(),s=function(t){return Array.prototype.slice.call(t)},o=function(t,e){return s((e||document).querySelectorAll(t))},r=("ontouchstart"in window||navigator.msMaxTouchPoints,navigator.userAgent.indexOf("MSIE")>-1||navigator.appVersion.indexOf("Trident/")>-1),a="mm-spn",c=function(){function t(t,e,n,i,s){this.node=t,this.title=e,this.slidingSubmenus=i,this.selectedClass=n,this.node.classList.add(a),r&&(this.slidingSubmenus=!1),this.node.classList.add(a+"--"+s),this.node.classList.add(a+"--"+(this.slidingSubmenus?"navbar":"vertical")),this._setSelectedl(),this._initAnchors()}return Object.defineProperty(t.prototype,"prefix",{get:function(){return a},enumerable:!1,configurable:!0}),t.prototype.openPanel=function(t){var e=t.parentElement;if(this.slidingSubmenus){var n=t.dataset.mmSpnTitle;e===this.node?this.node.classList.add(a+"--main"):(this.node.classList.remove(a+"--main"),n||s(e.children).forEach((function(t){t.matches("a, span")&&(n=t.textContent)}))),n||(n=this.title),this.node.dataset.mmSpnTitle=n,o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open"),t.classList.remove(a+"--parent")})),t.classList.add(a+"--open"),t.classList.remove(a+"--parent");for(var i=t.parentElement.closest("ul");i;)i.classList.add(a+"--open"),i.classList.add(a+"--parent"),i=i.parentElement.closest("ul")}else{var r=t.matches("."+a+"--open");o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open")})),t.classList[r?"remove":"add"](a+"--open");for(var c=t.parentElement.closest("ul");c;)c.classList.add(a+"--open"),c=c.parentElement.closest("ul")}},t.prototype._setSelectedl=function(){var t=o("."+this.selectedClass,this.node),e=t[t.length-1],n=null;e&&(n=e.closest("ul")),n||(n=this.node.querySelector("ul")),this.openPanel(n)},t.prototype._initAnchors=function(){var t=this;this.node.addEventListener("click",(function(e){var n=e.target,i=!1;(i=(i=(i=i||function(t){return!!t.matches("a")}(n))||function(e){var n;return!!(n=e.closest("span")?e.parentElement:!!e.closest("li")&&e)&&(s(n.children).forEach((function(e){e.matches("ul")&&t.openPanel(e)})),!0)}(n))||function(e){var n=o("."+a+"--open",e),i=n[n.length-1];if(i){var s=i.parentElement.closest("ul");if(s)return t.openPanel(s),!0}return!1}(n))&&e.stopImmediatePropagation()}))},t}(),d="mm-ocd",u=function(){function t(t,e){var n=this;void 0===t&&(t=null),this.wrapper=document.createElement("div"),this.wrapper.classList.add(""+d),this.wrapper.classList.add(d+"--"+e),this.content=document.createElement("div"),this.content.classList.add(d+"__content"),this.wrapper.append(this.content),this.backdrop=document.createElement("div"),this.backdrop.classList.add(d+"__backdrop"),this.wrapper.append(this.backdrop),document.body.append(this.wrapper),t&&this.content.append(t);var i=function(t){n.close(),t.stopImmediatePropagation()};this.backdrop.addEventListener("touchstart",i,{passive:!0}),this.backdrop.addEventListener("mousedown",i,{passive:!0})}return Object.defineProperty(t.prototype,"prefix",{get:function(){return d},enumerable:!1,configurable:!0}),t.prototype.open=function(){this.wrapper.classList.add(d+"--open"),document.body.classList.add(d+"-opened")},t.prototype.close=function(){this.wrapper.classList.remove(d+"--open"),document.body.classList.remove(d+"-opened")},t}(),l=function(){function t(t,e){void 0===e&&(e="all"),this.menu=t,this.toggler=new i(e)}return t.prototype.navigation=function(t){var e=this;if(!this.navigator){var n=(t=t||{}).title,i=void 0===n?"Menu":n,s=t.selectedClass,o=void 0===s?"Selected":s,r=t.slidingSubmenus,a=void 0===r||r,d=t.theme,u=void 0===d?"light":d;this.navigator=new c(this.menu,i,o,a,u),this.toggler.add((function(){return e.menu.classList.add(e.navigator.prefix)}),(function(){return e.menu.classList.remove(e.navigator.prefix)}))}return this.navigator},t.prototype.offcanvas=function(t){var e=this;if(!this.drawer){var n=(t=t||{}).position,i=void 0===n?"left":n;this.drawer=new u(null,i);var s=document.createComment("original menu location");this.menu.after(s),this.toggler.add((function(){e.drawer.content.append(e.menu)}),(function(){e.drawer.close(),s.after(e.menu)}))}return this.drawer},t}();e.default=l;window.MmenuLight=l}]);
\ No newline at end of file
+!function (t) {
+ var e = {};
+
+ function n(i) {
+ if (e[i]) return e[i].exports;
+ var s = e[i] = {i: i, l: !1, exports: {}};
+ return t[i].call(s.exports, s, s.exports, n), s.l = !0, s.exports
+ }
+
+ n.m = t, n.c = e, n.d = function (t, e, i) {
+ n.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: i})
+ }, n.r = function (t) {
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
+ }, n.t = function (t, e) {
+ if (1 & e && (t = n(t)), 8 & e) return t;
+ if (4 & e && "object" == typeof t && t && t.__esModule) return t;
+ var i = Object.create(null);
+ if (n.r(i), Object.defineProperty(i, "default", {
+ enumerable: !0,
+ value: t
+ }), 2 & e && "string" != typeof t) for (var s in t) n.d(i, s, function (e) {
+ return t[e]
+ }.bind(null, s));
+ return i
+ }, n.n = function (t) {
+ var e = t && t.__esModule ? function () {
+ return t.default
+ } : function () {
+ return t
+ };
+ return n.d(e, "a", e), e
+ }, n.o = function (t, e) {
+ return Object.prototype.hasOwnProperty.call(t, e)
+ }, n.p = "", n(n.s = 0)
+}([function (t, e, n) {
+ "use strict";
+ n.r(e);
+ var i = function () {
+ function t(t) {
+ var e = this;
+ this.listener = function (t) {
+ (t.matches ? e.matchFns : e.unmatchFns).forEach((function (t) {
+ t()
+ }))
+ }, this.toggler = window.matchMedia(t), this.toggler.addListener(this.listener), this.matchFns = [], this.unmatchFns = []
+ }
+
+ return t.prototype.add = function (t, e) {
+ this.matchFns.push(t), this.unmatchFns.push(e), (this.toggler.matches ? t : e)()
+ }, t
+ }(), s = function (t) {
+ return Array.prototype.slice.call(t)
+ }, o = function (t, e) {
+ return s((e || document).querySelectorAll(t))
+ },
+ r = ("ontouchstart" in window || navigator.msMaxTouchPoints, navigator.userAgent.indexOf("MSIE") > -1 || navigator.appVersion.indexOf("Trident/") > -1),
+ a = "mm-spn", c = function () {
+ function t(t, e, n, i, s) {
+ this.node = t, this.title = e, this.slidingSubmenus = i, this.selectedClass = n, this.node.classList.add(a), r && (this.slidingSubmenus = !1), this.node.classList.add(a + "--" + s), this.node.classList.add(a + "--" + (this.slidingSubmenus ? "navbar" : "vertical")), this._setSelectedl(), this._initAnchors()
+ }
+
+ return Object.defineProperty(t.prototype, "prefix", {
+ get: function () {
+ return a
+ }, enumerable: !1, configurable: !0
+ }), t.prototype.openPanel = function (t) {
+ var e = t.parentElement;
+ if (this.slidingSubmenus) {
+ var n = t.dataset.mmSpnTitle;
+ e === this.node ? this.node.classList.add(a + "--main") : (this.node.classList.remove(a + "--main"), n || s(e.children).forEach((function (t) {
+ t.matches("a, span") && (n = t.textContent)
+ }))), n || (n = this.title), this.node.dataset.mmSpnTitle = n, o("." + a + "--open", this.node).forEach((function (t) {
+ t.classList.remove(a + "--open"), t.classList.remove(a + "--parent")
+ })), t.classList.add(a + "--open"), t.classList.remove(a + "--parent");
+ for (var i = t.parentElement.closest("ul"); i;) i.classList.add(a + "--open"), i.classList.add(a + "--parent"), i = i.parentElement.closest("ul")
+ } else {
+ var r = t.matches("." + a + "--open");
+ o("." + a + "--open", this.node).forEach((function (t) {
+ t.classList.remove(a + "--open")
+ })), t.classList[r ? "remove" : "add"](a + "--open");
+ for (var c = t.parentElement.closest("ul"); c;) c.classList.add(a + "--open"), c = c.parentElement.closest("ul")
+ }
+ }, t.prototype._setSelectedl = function () {
+ var t = o("." + this.selectedClass, this.node), e = t[t.length - 1], n = null;
+ e && (n = e.closest("ul")), n || (n = this.node.querySelector("ul")), this.openPanel(n)
+ }, t.prototype._initAnchors = function () {
+ return;
+ var t = this;
+ this.node.addEventListener("click", (function (e) {
+ var n = e.target, i = !1;
+ (i = (i = (i = i || function (t) {
+ return !!t.matches("a")
+ }(n)) || function (e) {
+ var n;
+ return !!(n = e.closest("span") ? e.parentElement : !!e.closest("li") && e) && (s(n.children).forEach((function (e) {
+ e.matches("ul") && t.openPanel(e)
+ })), !0)
+ }(n)) || function (e) {
+ var n = o("." + a + "--open", e), i = n[n.length - 1];
+ if (i) {
+ var s = i.parentElement.closest("ul");
+ if (s) return t.openPanel(s), !0
+ }
+ return !1
+ }(n)) && e.stopImmediatePropagation()
+ }))
+ }, t
+ }(), d = "mm-ocd", u = function () {
+ function t(t, e) {
+ var n = this;
+ void 0 === t && (t = null), this.wrapper = document.createElement("div"), this.wrapper.classList.add("" + d), this.wrapper.classList.add(d + "--" + e), this.content = document.createElement("div"), this.content.classList.add(d + "__content"), this.wrapper.append(this.content), this.backdrop = document.createElement("div"), this.backdrop.classList.add(d + "__backdrop"), this.wrapper.append(this.backdrop), document.body.append(this.wrapper), t && this.content.append(t);
+ var i = function (t) {
+ n.close(), t.stopImmediatePropagation()
+ };
+ this.backdrop.addEventListener("touchstart", i, {passive: !0}), this.backdrop.addEventListener("mousedown", i, {passive: !0})
+ }
+
+ return Object.defineProperty(t.prototype, "prefix", {
+ get: function () {
+ return d
+ }, enumerable: !1, configurable: !0
+ }), t.prototype.open = function () {
+ this.wrapper.classList.add(d + "--open"), document.body.classList.add(d + "-opened")
+ }, t.prototype.close = function () {
+ this.wrapper.classList.remove(d + "--open"), document.body.classList.remove(d + "-opened")
+ }, t
+ }(), l = function () {
+ function t(t, e) {
+ void 0 === e && (e = "all"), this.menu = t, this.toggler = new i(e)
+ }
+
+ return t.prototype.navigation = function (t) {
+ var e = this;
+ if (!this.navigator) {
+ var n = (t = t || {}).title, i = void 0 === n ? "Menu" : n, s = t.selectedClass,
+ o = void 0 === s ? "Selected" : s, r = t.slidingSubmenus, a = void 0 === r || r, d = t.theme,
+ u = void 0 === d ? "light" : d;
+ this.navigator = new c(this.menu, i, o, a, u), this.toggler.add((function () {
+ return e.menu.classList.add(e.navigator.prefix)
+ }), (function () {
+ return e.menu.classList.remove(e.navigator.prefix)
+ }))
+ }
+ return this.navigator
+ }, t.prototype.offcanvas = function (t) {
+ var e = this;
+ if (!this.drawer) {
+ var n = (t = t || {}).position, i = void 0 === n ? "left" : n;
+ this.drawer = new u(null, i);
+ var s = document.createComment("original menu location");
+ this.menu.after(s), this.toggler.add((function () {
+ e.drawer.content.append(e.menu)
+ }), (function () {
+ e.drawer.close(), s.after(e.menu)
+ }))
+ }
+ return this.drawer
+ }, t
+ }();
+ e.default = l;
+ window.MmenuLight = l
+}]);
\ No newline at end of file