From d4caa42d3f2fbc850248e0bf06f438f77b73e5ba Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 6 Jun 2021 01:32:31 +0200 Subject: Commit --- views/menu.html | 1 + views/script/menu_global.js | 9 ++++++ views/stats.html | 68 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 views/stats.html (limited to 'views') diff --git a/views/menu.html b/views/menu.html index 7f7256a..0c6849f 100644 --- a/views/menu.html +++ b/views/menu.html @@ -49,6 +49,7 @@ } document.getElementById('prefill').outerHTML = ""; +
  • diff --git a/views/script/menu_global.js b/views/script/menu_global.js index 43937f4..3713591 100644 --- a/views/script/menu_global.js +++ b/views/script/menu_global.js @@ -91,6 +91,15 @@ function selectOption() { location.href = "settings.html"; }, 1000) break; + case 'stats': + keysEnabled = false; + require('electron').ipcRenderer.send('prefademusic', ""); + $("#box").fadeOut(500); + setTimeout(() => { + info("MenuWindow", "Switching control to OptnWindow"); + location.href = "stats.html"; + }, 1000) + break; case 'credits': keysEnabled = false; require('electron').ipcRenderer.send('prefademusic', ""); diff --git a/views/stats.html b/views/stats.html new file mode 100644 index 0000000..4d6d01c --- /dev/null +++ b/views/stats.html @@ -0,0 +1,68 @@ + + + + + + + + Kartik + + + + + + + + + + + + + + + + -- cgit