diff --git a/webroot/assets/tick.svg b/webroot/assets/tick.svg new file mode 100644 index 0000000..77c8a2e --- /dev/null +++ b/webroot/assets/tick.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/webroot/css/index.css b/webroot/css/index.css new file mode 100644 index 0000000..38234fd --- /dev/null +++ b/webroot/css/index.css @@ -0,0 +1,61 @@ +* { + background-color: #181c20; + color: #fff; + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif +} + +body { + margin: 0; +} + +a { + text-decoration: none !important; +} + +.header { + position: fixed; + left: 0; + right: 0; + padding: 25px 15px; + font-size: 20px; +} + +.card { + margin-left: 15px; + margin-right: 15px; + margin-bottom: 10px; + padding: 15px 15px; + border-radius: 15px; + color: #fff; +} + +.content { + padding-bottom: 5px; +} + +.spliter { + border-bottom: 1px solid #283136; +} + +.liste { + justify-content: space-between; + align-self: center; + display: flex; +} + +.bright { + border: 5px solid #3a4857; + background: #3a4857; +} +.brightc { + background: #3a4857; +} + +.dim { + border: 5px solid #1d2327; + background: #1d2327; +} + +.dimc { + background: #1d2327; +} \ No newline at end of file diff --git a/webroot/index.html b/webroot/index.html new file mode 100644 index 0000000..1f3b6f5 --- /dev/null +++ b/webroot/index.html @@ -0,0 +1,64 @@ + + + + + + + + + + +
ReZygisk
+
+
+
+
+ +
+
+ Zygote is running! +
+
+
+
Version
+
1.0.0
+
+
+
Root Implementation
+
KernelSU
+
+
+
Zygote32
+
Injected
+
+
+
Zygote64
+
Injected
+
+
+ +
+
+ Modules (3) +
+
+
Play Integrity Fix (STRONG)
+
32/64
+
+
+
Shamiko
+
32/64
+
+
+
Zygisk - LSposed
+
32/64
+
+
+ +
+
+ Settings +
+
+ + \ No newline at end of file diff --git a/webui/lib/kernelsu.js b/webroot/js/kernelsu.js similarity index 100% rename from webui/lib/kernelsu.js rename to webroot/js/kernelsu.js diff --git a/webroot/js/main.js b/webroot/js/main.js new file mode 100644 index 0000000..6b52804 --- /dev/null +++ b/webroot/js/main.js @@ -0,0 +1,2 @@ +import { toast } from './kernelsu'; +toast('Hello, world!'); \ No newline at end of file diff --git a/webui/css/base.css b/webui/css/base.css deleted file mode 100644 index a75cfb9..0000000 --- a/webui/css/base.css +++ /dev/null @@ -1,13 +0,0 @@ -* { - background-color: #181c20; - color: #fff; - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif -} - -body { - margin: 0; -} - -a { - text-decoration: none !important; -} \ No newline at end of file diff --git a/webui/css/main.css b/webui/css/main.css deleted file mode 100644 index d7cb727..0000000 --- a/webui/css/main.css +++ /dev/null @@ -1,53 +0,0 @@ -/* Styling for the ripple button */ -.btn-ripple { - background-color: #181c20; /* Setting the initial button background color */ - transition: background 0.8s; /* Adding a transition to the background color */ -} - -/* Defining the hover state */ -.btn-ripple:hover { - background: #181c20 radial-gradient(circle, transparent 1%, #181c20 1%) - center/15000%; /* Creating a radial gradient background on hover */ -} - -/* Defining the active (clicked) state */ -.btn-ripple:active { - background-color: #5e5e5e; /* Changing the button color when active */ - background-size: 100%; /* Increasing the size of the background image */ - transition: background 0s; /* Removing the transition from the background color */ -} - -.option_header { - padding: 15px 25px; - font-size: 0.9em; - font-weight: 500; - color: #cee5ff; -} - -.option_title { - font-size: 1.2em; -} - -.disable { - color: #c1c7ce; -} - -.option_desc { - margin-top: 3px; - font-size: 0.9em; -} - -.option_section { - padding: 15px 25px; -} -.option_section_only { - font-size: 1.2em; - padding: 15px 25px; -} - -.option_spliter { - width: 100%; - border-top: 1px solid black; - background-color: black; - color: #000; -} \ No newline at end of file diff --git a/webui/css/terminal.css b/webui/css/terminal.css deleted file mode 100644 index f6d7bb5..0000000 --- a/webui/css/terminal.css +++ /dev/null @@ -1,23 +0,0 @@ -* { - background-color: #121518; - color: #fff; - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif -} - -body { - margin: 0; -} - -a { - text-decoration: none !important; -} - -.header { - background-color: #181c20; - display: flex; - padding: 20px 25px; -} - -.main { - padding: 10px 10px; -} \ No newline at end of file diff --git a/webui/index.html b/webui/index.html deleted file mode 100644 index 188196d..0000000 --- a/webui/index.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - -
- - - -
-
ReZygisk
-
-
Information
-
-
Version
-
1.0.0
-
-
-
Root implementation
-
KernelSU
-
-
-
Zygote Monitor
-
Running
-
-
-
Zygote64
-
Injected
-
-
Options
-
Injected Modules
-
Raw Data
-
Settings
- -
Terminal
-
-
- - \ No newline at end of file diff --git a/webui/js/main.js b/webui/js/main.js deleted file mode 100644 index cff78b3..0000000 --- a/webui/js/main.js +++ /dev/null @@ -1,2 +0,0 @@ -import { toast } from '../lib/kernelsu'; -toast('Hello, world!'); \ No newline at end of file diff --git a/webui/js/ripple.js b/webui/js/ripple.js deleted file mode 100644 index 7fe9292..0000000 --- a/webui/js/ripple.js +++ /dev/null @@ -1,48 +0,0 @@ -window.addEventListener("mousedown", e => { - const target = e.target; - - if(target.nodeName == "BUTTON" && !target.classList.contains("css-only-ripple")) { - show_ripple(target); - } -}); -function show_ripple(button) { - const style = getComputedStyle(button); - let ripple_elmnt = document.createElement("span"); - let diameter = Math.max(parseInt(style.height), parseInt(style.width)) * 1.5; - let radius = diameter / 2; - - ripple_elmnt.className = "ripple"; - ripple_elmnt.style.height = ripple_elmnt.style.width = diameter + "px"; - ripple_elmnt.style.position = "absolute"; - ripple_elmnt.style.borderRadius = "1000px"; - ripple_elmnt.style.pointerEvents = "none"; - - ripple_elmnt.style.left = event.clientX - button.offsetLeft - radius + "px"; - ripple_elmnt.style.top = event.clientY - button.offsetTop - radius + "px"; - - ripple_elmnt.style.transform = "scale(0)"; - ripple_elmnt.style.transition = "transform 500ms ease, opacity 400ms ease"; - ripple_elmnt.style.background = "rgba(255,255,255,0.5)"; - button.appendChild(ripple_elmnt); - - setTimeout(() => { - ripple_elmnt.style.transform = "scale(1)"; - }, 10); - - button.addEventListener("mouseup", e => { - ripple_elmnt.style.opacity = 0; - setTimeout(() => { - try { - button.removeChild(ripple_elmnt); - } catch(er) {} - }, 400); - }, {once: true}); - button.addEventListener("blur", e => { - ripple_elmnt.style.opacity = 0; - setTimeout(() => { - try { - button.removeChild(ripple_elmnt); - } catch(er) {} - }, 450); - }, {once: true}); -} \ No newline at end of file diff --git a/webui/pages/terminal.html b/webui/pages/terminal.html deleted file mode 100644 index 901ba0a..0000000 --- a/webui/pages/terminal.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - -
- - - - - -
Terminal
-
- -
-
root@rezygisk:/$
-
- - \ No newline at end of file