Skip to content

Commit

Permalink
202405240854
Browse files Browse the repository at this point in the history
  • Loading branch information
Remote committed May 24, 2024
1 parent 9df01c4 commit 53257aa
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 3,186 deletions.
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,28 @@ <h1>{{ login.title }}</h1>
logout: function () {
page.data.is_guest = true;
},
body_left_show: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

const is_show = dom.$$class("show");
dom.$$class_(is_show, "show");
},
body_left_type: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

console.log(dom.dataset)
const is_min = dom.dataset.min === "true";
dom.dataset.min = is_min ? "false" : "true";
_cookie("is_body_left_min", is_min ? "false" : "true")
},
tab_show: function (e) {
const parent = this.$parent(0);
const is_show = parent.$$class("show") || parent.$sel("a[data-selected='true']");
Expand Down
22 changes: 22 additions & 0 deletions js/database-add.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,28 @@ document.addEventListener("DOMContentLoaded", function () {
logout: function () {
page.data.is_guest = true;
},
body_left_show: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

const is_show = dom.$$class("show");
dom.$$class_(is_show, "show");
},
body_left_type: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

console.log(dom.dataset)
const is_min = dom.dataset.min === "true";
dom.dataset.min = is_min ? "false" : "true";
_cookie("is_body_left_min", is_min ? "false" : "true")
},
tab_show: function (e) {
const parent = this.$parent(0);
const is_show = parent.$$class("show") || parent.$sel("a[data-selected='true']");
Expand Down
22 changes: 22 additions & 0 deletions js/database-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,28 @@ document.addEventListener("DOMContentLoaded", function () {
logout: function () {
page.data.is_guest = true;
},
body_left_show: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

const is_show = dom.$$class("show");
dom.$$class_(is_show, "show");
},
body_left_type: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

console.log(dom.dataset)
const is_min = dom.dataset.min === "true";
dom.dataset.min = is_min ? "false" : "true";
_cookie("is_body_left_min", is_min ? "false" : "true")
},
tab_show: function (e) {
const parent = this.$parent(0);
const is_show = parent.$$class("show") || parent.$sel("a[data-selected='true']");
Expand Down
22 changes: 22 additions & 0 deletions js/json-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,28 @@ document.addEventListener("DOMContentLoaded", function () {
logout: function () {
page.data.is_guest = true;
},
body_left_show: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

const is_show = dom.$$class("show");
dom.$$class_(is_show, "show");
},
body_left_type: function (e) {
const dom = "section.body-left".$;

if (dom == null) {
return;
};

console.log(dom.dataset)
const is_min = dom.dataset.min === "true";
dom.dataset.min = is_min ? "false" : "true";
_cookie("is_body_left_min", is_min ? "false" : "true")
},
tab_show: function (e) {
const parent = this.$parent(0);
const is_show = parent.$$class("show") || parent.$sel("a[data-selected='true']");
Expand Down
Loading

0 comments on commit 53257aa

Please sign in to comment.