diff --git a/index.html b/index.html index 5026172..8b8f079 100644 --- a/index.html +++ b/index.html @@ -121,6 +121,10 @@
have a naming convention similar to EaglercraftX_1.8_Offline_en_US.html) +
+ Roadmap? + roadmap. +
How does this tool work? The injector works by analysing your uploaded file for patterns that diff --git a/roadmap/index.html b/roadmap/index.html new file mode 100644 index 0000000..8e82562 --- /dev/null +++ b/roadmap/index.html @@ -0,0 +1,21 @@ + + + + + + EF Injector Roadmap + + + +

EaglerForgeInjector Roadmap

+ +
+ Add makeItemStack to LCI [done] + Fix blocklook.js [todo] + Fix setblocktest.js [done] + Add custom ModAPI thread class to stop stack implosions [todo] +
+ + + + diff --git a/roadmap/roadmap.css b/roadmap/roadmap.css new file mode 100644 index 0000000..35d5d58 --- /dev/null +++ b/roadmap/roadmap.css @@ -0,0 +1,61 @@ +html, +body { + background-color: black; + color: white; + font-family: sans-serif; + overflow-x: hidden; +} +html { + padding: 0; + margin: 0; + width: 100vw; + height: 100vh; +} +body { + padding: 0.2rem; +} +* { + margin: 0; + padding: 0; +} +span { + text-align: left; + padding: 6px; + border-radius: 1rem; + background-color: rgba(125, 125, 125, 0.2); + margin-top: 1rem; + display: block; +} +summary { + background-color: rgba(255, 255, 255, 0.1); + padding: 4px; + border-radius: 0.6rem; + cursor: pointer; + padding-left: 8px; +} +span summary span { + width: 13.5px; + height: 13.5px; + display: inline-block; + float: right; + position: relative; + top: -19.5px; + right: -4px; + background-color: red; + border-radius: 9px; +} +span.working summary span { + background-color: rgb(255, 102, 0); +} +span.done summary span { + background-color: greenyellow; +} +#todolist { + width: calc(50vw - 0.6rem); + margin-right: 0.2rem; +} +@media only screen and (max-width: 600px) { + #todolist { + width: calc(100vw - 0.6rem); + } +} diff --git a/roadmap/roadmap.js b/roadmap/roadmap.js new file mode 100644 index 0000000..bbc60d1 --- /dev/null +++ b/roadmap/roadmap.js @@ -0,0 +1,31 @@ +var todolist = document.querySelector("#todolist"); +function getValue(a) { + if (a.includes("wip")) { + return 1; + } + if (a.includes("done")) { + return 2; + } + return 0; +} +var map = { + wip: "working", + done: "done" +} +var list = todolist.innerText.split("]").filter(x => x.length !== 0); + +list.sort((a, b) => { + return getValue(a) - getValue(b); +}); +todolist.innerHTML = ""; +list.forEach(a => { + var x = a.split("["); + var d = document.createElement("span"); + var s = document.createElement("summary"); + d.appendChild(s); + s.innerText = x[0].trim(); + var z = document.createElement("span"); + d.classList.add(map[x[1].toLowerCase().trim()] || "todo"); + s.appendChild(z); + todolist.appendChild(d); +}); \ No newline at end of file