From dadb452e784ce4cba3eecd5ac6b1101c101ccc85 Mon Sep 17 00:00:00 2001 From: alequa Date: Tue, 28 Sep 2021 11:27:53 +0200 Subject: [PATCH] remove shit --- database.rules.json | 7 ------- firebase.json | 6 ------ firestore.indexes.json | 4 ---- firestore.rules | 8 -------- js/application.js | 44 +++++++++++++++++++++--------------------- 5 files changed, 22 insertions(+), 47 deletions(-) delete mode 100644 database.rules.json delete mode 100644 firebase.json delete mode 100644 firestore.indexes.json delete mode 100644 firestore.rules diff --git a/database.rules.json b/database.rules.json deleted file mode 100644 index f54493d..0000000 --- a/database.rules.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - /* Visit https://firebase.google.com/docs/database/security to learn more about security rules. */ - "rules": { - ".read": false, - ".write": false - } -} \ No newline at end of file diff --git a/firebase.json b/firebase.json deleted file mode 100644 index d4d918a..0000000 --- a/firebase.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "firestore": { - "rules": "firestore.rules", - "indexes": "firestore.indexes.json" - } -} diff --git a/firestore.indexes.json b/firestore.indexes.json deleted file mode 100644 index 415027e..0000000 --- a/firestore.indexes.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "indexes": [], - "fieldOverrides": [] -} diff --git a/firestore.rules b/firestore.rules deleted file mode 100644 index c38e3ae..0000000 --- a/firestore.rules +++ /dev/null @@ -1,8 +0,0 @@ -rules_version = '2'; -service cloud.firestore { - match /databases/{database}/documents { - match /{document=**} { - allow read, write: if false; - } - } -} \ No newline at end of file diff --git a/js/application.js b/js/application.js index 81701ae..284e190 100644 --- a/js/application.js +++ b/js/application.js @@ -1,23 +1,23 @@ -$(document).ready(function(){ - - $("#en").css("display","block") - $("#it").css("display","none") - - $("#enButton").on("click", function(){ - $("#en").css("display","block") - $("#it").css("display","none") - }); - - $("#itButton").on("click", function(){ - $("#en").css("display","none") - $("#it").css("display","block") - }) - -}); - function openNav() { - document.getElementById("mySidepanel").style.width = "250px"; - } - - function closeNav() { - document.getElementById("mySidepanel").style.width = "0"; +$(document).ready(function(){ + + $("#en").css("display","block") + $("#it").css("display","none") + + $("#enButton").on("click", function(){ + $("#en").css("display","block") + $("#it").css("display","none") + }); + + $("#itButton").on("click", function(){ + $("#en").css("display","none") + $("#it").css("display","block") + }) + +}); + function openNav() { + document.getElementById("mySidepanel").style.width = "250px"; + } + + function closeNav() { + document.getElementById("mySidepanel").style.width = "0"; } \ No newline at end of file