This repository has been archived by the owner on May 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8ef199
commit 0c41b67
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><title>Painted Palette Web UI</title><link rel="stylesheet" href="./pico.css"><link rel="stylesheet" href="./index.css"><script defer src="./index.js"></script></head><body x-data="{maes:0}"><div class="container" x-data="{tab:0,showIp:false}"><nav><ul><li><b>Painted Palette Dashboard</b> <span class="b-palette" :style="{background:['#f00d','#ff0d','#0f0d'][$store.wsConnected||0]}" :data-tooltip="['Disconnected','Connecting...','Connected'][$store.wsConnected||0]"></span></li></ul><ul><li><a href="javascript:void(0)" @mouseup="tab=0">Accounts</a></li><li><a href="javascript:void(0)" @mouseup="tab=1">Info</a></li><li><a href="javascript:void(0)" @mouseup="tab=2">About</a></li></ul></nav><div id="tab-containers"><div id="tab-a" class="tab-on container-fluid" x-show="tab==0"><div class="grid"><button id="btn-gon" data-tooltip="Enable all managed accounts." @click="gAct(true)">All On</button><button id="btn-goff" data-tooltip="Disable all managed accounts." @click="gAct(false)">All Off</button><button id="btn-full" data-tooltip="Set power to 1 (bots run at full force)." @click="pSet(1)">P=1</button><button id="btn-half" data-tooltip="Set power to 0.5 (bots run at half power)." @click="pSet(0.5)">P=0.5</button><button id="btn-empty" data-tooltip="Set power to 0 (bots rest)." @click="pSet(0)">P=0</button><button id="btn-grem" data-tooltip="Reset power value to be provided by damage." @click="pSet(-1)">P Reset</button><button id="btn-fr" data-tooltip="Force random redistribution of focal points." @click="randDist()">Refocus</button></div><div class="grid"><input id="in-acct" placeholder="Account"></input><input id="in-pass" type="password" placeholder="Password"></input><span data-tooltip="Fill this field only when you have 2FA login code. Ignore this if you don't have any."><input id="in-otp" placeholder="2FA code (optional)"></input></span><button id="btn-add" data-tooltip="Add the account for management and attempt login.">Login</button></div><table><thead><tr><th>Account</th><th>Next in</th><th>Active</th><th>Placed</th><th data-tooltip="Where the account is currently at.">Focus</th><th>Actions</th></tr></thead><tbody><template x-for="user in $store.userdata"><tr x-data="{oneIsHidden:true}" @mouseover="oneIsHidden=false" @mouseout="oneIsHidden=true"><td><code x-text="oneIsHidden?'Hover over to reveal this account':user?.acct||'N/A'"></code></td><td x-text="user?.stateText||'N/A'"></td><td x-text="user?.active?'Yes':'No'"></td><td><span class="b-palette" :style="{background:user?.lastColour||'transparent'}" data-tooltip="Colour of the last placed pixel."></span> <span x-text="user?.placed||0" data-tooltip="How many pixels have been placed."></span></td><td :data-tooltip="`${(user?.focusX||0)-1500}, ${(user?.focusY||0)-1000}`"><span x-text="user?.focusX||0"></span>, <span x-text="user?.focusY||0"></span></td><td><a href="javascript:void(0)" :data-tooltip="['Activate this account.','Deactivate this account.'][+(user?.active||0)]" x-text="user?.active?'Disable':'Enable'" @click="user?.active?uOff(user?.name):uOn(user?.name)">Toggle</a> <a href="javascript:void(0)" data-tooltip="Remove this account." @click="delUser(user?.name)">Remove</a></td></tr></template></tbody></table></div><div x-show="tab==1"><div><big><b>IP info</b></big> <a href="javascript:void(0)" @mouseup="showIp=!showIp" x-text="['Show','Hide'][+showIp]" :data-tooltip="['Click to reveal IP information.','Click to hide IP information.'][+showIp]"></a></div><table class="text-center"><thead><tr><th data-tooltip="Type of the current proxy.">Proxy</th><th data-tooltip="Your current IP address.">IP</th><th data-tooltip="The country your IP is in.">Country</th><th data-tooltip="The AS number of your IP.">ASN</th><th data-tooltip="Name of AS of your IP.">AS Name</th></tr></thead><tbody><tr><td x-text="$store.info?.proxy||'N/A'" :data-tooltip="{'No Proxy':'No proxy is connected.','System':'Proxy set in env var.','Standalone':'Auto-managed proxy.','Tor':'Over Tor.'}[$store.info?.proxy]||'Not known.'"></td><td x-text="showIp?($store.info?.ip||'0.0.0.0'):'Hidden'">IP</td><td x-text="showIp?($store.info?.cc||'XX'):'Hidden'">Country</td><td x-text="showIp?($store.info?.asn||0):'Hidden'">ASN</td><td x-text="showIp?($store.info?.as||'Unknown AS'):'Hidden'">AS Name</td></tr></tbody></table><div><big><b>Managed Stats</b></big></div><table class="text-center table-nomargin"><thead><tr><th colspan="5">Canvas</th></tr></thead><tbody><tr><th data-tooltip="Canvas dimensions.">Dimensions</th><th data-tooltip="How much have we finished.">Finished</th><th data-tooltip="How sensitive to damage the accounts are.">Sensitivity</th><th data-tooltip="Possibility of pixel placement.">Power</th><th data-tooltip="How many pixels have been placed.">Placed</th></tr><tr><td><span data-tooltip="Dimensions of the whole canvas."><span x-text="$store.info?.ctw||0"></span>x<span x-text="$store.info?.cth||0"></span></span>, <span data-tooltip="Dimensions of the seperate canvases."><span x-text="$store.info?.cuw||0"></span>x<span x-text="$store.info?.cuh||0"></span></span> (<span x-text="$store.info?.cus||0" data-tooltip="How many canvases are there."></span>)</td><td><span x-text="$store.info?.pxNo||0" data-tooltip="Incorrect pixels."></span>+<span x-text="$store.info?.pxOk||0" data-tooltip="Correct pixels."></span>/<span x-text="$store.info?.pxAll||0" data-tooltip="Total pixels."></span> (<span x-text="$store.info?.pxRate||'0.00%'" data-tooltip="Finished ratio."></span>)</td><td x-text="$store.info?.sensitivity||'0.00%'"></td><td :data-tooltip="['Scaled by damage.','Set manually.'][+($store.info?.manualPower)]||'Not yet loaded.'" :style="{color:['#0f0','#ff0'][+($store.info?.manualPower)]}" x-text="$store.info?.power||'0.00%'"></td><td x-text="$store.info?.pixels||0">0</td></tr></tbody></table><table class="text-center table-nomargin"><thead><tr><th colspan="5">Accounts</th></tr></thead><tbody><tr><th data-tooltip="How many accounts are managed.">Managed</th><th data-tooltip="How many active accounts.">Active</th><th data-tooltip="Max allowed active acounts.">Magazine</th><th data-tooltip="How many accounts were banned.">Banned</th><th data-tooltip="How many accounts are still fresh.">Fresh</th></tr><tr><td x-text="$store.info?.acct||0">0</td><td x-text="$store.info?.active||0"></td><td x-text="$store.info?.maxOn||0"></td><td x-text="$store.info?.banned||0">0</td><td x-text="$store.info?.fresh||0">0</td></tr></tbody></table><table class="text-center table-nomargin"><thead><tr><th colspan="3">System</th></tr></thead><tbody><tr><th data-tooltip="How long has this instance been running.">Uptime</th><th data-tooltip="How much RAM is used reported by runtime. Could be inaccurate.">RAM Usage</th><th data-tooltip="An anonymous ID for analytics.">Analytics ID</th></tr><tr><td x-text="$store.sessionUptime">0d 00:00:00</td><td x-text="$store.info?.memory||'Calculating...'"></td><td :data-tooltip="$store.info?.instance||'Not ready.'">Hover to see</td></tr></tbody></table></div><div x-show="tab==2"><h4>About</h4><table><tbody><tr><th colspan="2" class="text-center" x-text="$store.buildInfo?.name||'Unknown'"></th></tr><tr @mouseup="maes++;gMaes(maes)"><th>Version</th><td x-text="$store.info?.ver||$store.buildInfo?.ver||'Unknown'"></td></tr><tr><th>Runtime</th><td x-text="$store.info?.var||'Loading...'"></td></tr><tr><th>OS</th><td x-text="$store.info?.os||'Loading...'"></td></tr><tr><th>Developed by</th><td>Lumière Élevé</td></tr><tr><th>Tested by</th><td x-data="{testers:['Lumière Élevé','Fauli1221','Starshine','octylFractal','Windy Gleam','Coaster42','Wolfdog122 (Swarm)','Nightli','Daaniea (r/deadmau5)','Shadow Glider','FlynnMLP','Guar','interru','Marius851000','Moonlight Seashell','dashingrainbow','Fangliding','NightCandle','Steady Gaze','FenixScar','Firazoid','twinklesprinkle','PoxyBoxy','SETTESIX','ChrisShimma','Pyroboss','TestTester','icegna (r/HongKong)','coffindancercat (r/HongKong)','Haneul (r/Korea)','Kiroo (r/Korea)','anelfer (r/place_brff)'].sort()}"><template x-for="tester in testers"><span class="text-noborder" x-text="`${testers.indexOf(tester)?', ':''}${tester}`" :data-tooltip="tester"></span></template></td></tr><tr><th>Produced by</th><td><a href="https://ltgc.cc/" target="_blank">Lightingale Community</a></td></tr><tr><th>Project link</th><td><a href="https://github.com/ltgcgo/painted-palette" target="_blank">GitHub</a></td></tr></tbody></table></div></div></div></body></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><title>Painted Palette Web UI</title><link rel="stylesheet" href="./pico.css"><link rel="stylesheet" href="./index.css"><script defer src="./index.js"></script></head><body x-data="{maes:0}"><div class="container" x-data="{tab:0,showIp:false}"><nav><ul><li><b>Painted Palette Dashboard</b> <span class="b-palette" :style="{background:['#f00d','#ff0d','#0f0d'][$store.wsConnected||0]}" :data-tooltip="['Disconnected','Connecting...','Connected'][$store.wsConnected||0]"></span></li></ul><ul><li><a href="javascript:void(0)" @mouseup="tab=0">Accounts</a></li><li><a href="javascript:void(0)" @mouseup="tab=1">Info</a></li><li><a href="javascript:void(0)" @mouseup="tab=2">About</a></li></ul></nav><div id="tab-containers"><div id="tab-a" class="tab-on container-fluid" x-show="tab==0"><div class="grid"><button id="btn-gon" data-tooltip="Enable all managed accounts." @click="gAct(true)">All On</button><button id="btn-goff" data-tooltip="Disable all managed accounts." @click="gAct(false)">All Off</button><button id="btn-full" data-tooltip="Set power to 1 (bots run at full force)." @click="pSet(1)">P=1</button><button id="btn-half" data-tooltip="Set power to 0.5 (bots run at half power)." @click="pSet(0.5)">P=0.5</button><button id="btn-empty" data-tooltip="Set power to 0 (bots rest)." @click="pSet(0)">P=0</button><button id="btn-grem" data-tooltip="Reset power value to be provided by damage." @click="pSet(-1)">P Reset</button><button id="btn-fr" data-tooltip="Force random redistribution of focal points." @click="randDist()">Refocus</button></div><div class="grid"><input id="in-acct" placeholder="Account"></input><input id="in-pass" type="password" placeholder="Password"></input><span data-tooltip="Fill this field only when you have 2FA login code. Ignore this if you don't have any."><input id="in-otp" placeholder="2FA code (optional)"></input></span><button id="btn-add" data-tooltip="Add the account for management and attempt login.">Login</button></div><table><thead><tr><th>Account</th><th>Next in</th><th>Active</th><th>Placed</th><th data-tooltip="Where the account is currently at.">Focus</th><th>Actions</th></tr></thead><tbody><template x-for="user in $store.userdata"><tr x-data="{oneIsHidden:true}" @mouseover="oneIsHidden=false" @mouseout="oneIsHidden=true"><td><code x-text="oneIsHidden?'Hover over to reveal this account':user?.acct||'N/A'"></code></td><td x-text="user?.stateText||'N/A'"></td><td x-text="user?.active?'Yes':'No'"></td><td><span class="b-palette" :style="{background:user?.lastColour||'transparent'}" data-tooltip="Colour of the last placed pixel."></span> <span x-text="user?.placed||0" data-tooltip="How many pixels have been placed."></span></td><td :data-tooltip="`${(user?.focusX||0)-1500}, ${(user?.focusY||0)-1000}`"><span x-text="user?.focusX||0"></span>, <span x-text="user?.focusY||0"></span></td><td><a href="javascript:void(0)" :data-tooltip="['Activate this account.','Deactivate this account.'][+(user?.active||0)]" x-text="user?.active?'Disable':'Enable'" @click="user?.active?uOff(user?.name):uOn(user?.name)">Toggle</a> <a href="javascript:void(0)" data-tooltip="Remove this account." @click="delUser(user?.name)">Remove</a></td></tr></template></tbody></table></div><div x-show="tab==1"><div><big><b>IP info</b></big> <a href="javascript:void(0)" @mouseup="showIp=!showIp" x-text="['Show','Hide'][+showIp]" :data-tooltip="['Click to reveal IP information.','Click to hide IP information.'][+showIp]"></a></div><table class="text-center"><thead><tr><th data-tooltip="Type of the current proxy.">Proxy</th><th data-tooltip="Your current IP address.">IP</th><th data-tooltip="The country your IP is in.">Country</th><th data-tooltip="The AS number of your IP.">ASN</th><th data-tooltip="Name of AS of your IP.">AS Name</th></tr></thead><tbody><tr><td x-text="$store.info?.proxy||'N/A'" :data-tooltip="{'No Proxy':'No proxy is connected.','System':'Proxy set in env var.','Standalone':'Auto-managed proxy.','Tor':'Over Tor.'}[$store.info?.proxy]||'Not known.'"></td><td x-text="showIp?($store.info?.ip||'0.0.0.0'):'Hidden'">IP</td><td x-text="showIp?($store.info?.cc||'XX'):'Hidden'">Country</td><td x-text="showIp?($store.info?.asn||0):'Hidden'">ASN</td><td x-text="showIp?($store.info?.as||'Unknown AS'):'Hidden'">AS Name</td></tr></tbody></table><div><big><b>Managed Stats</b></big></div><table class="text-center table-nomargin"><thead><tr><th colspan="5">Canvas</th></tr></thead><tbody><tr><th data-tooltip="Canvas dimensions.">Dimensions</th><th data-tooltip="How much have we finished.">Finished</th><th data-tooltip="How sensitive to damage the accounts are.">Sensitivity</th><th data-tooltip="Possibility of pixel placement.">Power</th><th data-tooltip="How many pixels have been placed.">Placed</th></tr><tr><td><span data-tooltip="Dimensions of the whole canvas."><span x-text="$store.info?.ctw||0"></span>x<span x-text="$store.info?.cth||0"></span></span>, <span data-tooltip="Dimensions of the seperate canvases."><span x-text="$store.info?.cuw||0"></span>x<span x-text="$store.info?.cuh||0"></span></span> (<span x-text="$store.info?.cus||0" data-tooltip="How many canvases are there."></span>)</td><td><span x-text="$store.info?.pxNo||0" data-tooltip="Incorrect pixels."></span>+<span x-text="$store.info?.pxOk||0" data-tooltip="Correct pixels."></span>/<span x-text="$store.info?.pxAll||0" data-tooltip="Total pixels."></span> (<span x-text="$store.info?.pxRate||'0.00%'" data-tooltip="Finished ratio."></span>)</td><td x-text="$store.info?.sensitivity||'0.00%'"></td><td :data-tooltip="['Scaled by damage.','Set manually.'][+($store.info?.manualPower)]||'Not yet loaded.'" :style="{color:['#0f0','#ff0'][+($store.info?.manualPower)]}" x-text="$store.info?.power||'0.00%'"></td><td x-text="$store.info?.pixels||0">0</td></tr></tbody></table><table class="text-center table-nomargin"><thead><tr><th colspan="5">Accounts</th></tr></thead><tbody><tr><th data-tooltip="How many accounts are managed.">Managed</th><th data-tooltip="How many active accounts.">Active</th><th data-tooltip="Max allowed active acounts.">Magazine</th><th data-tooltip="How many accounts were banned.">Banned</th><th data-tooltip="How many accounts are still fresh.">Fresh</th></tr><tr><td x-text="$store.info?.acct||0">0</td><td x-text="$store.info?.active||0"></td><td x-text="$store.info?.maxOn||0"></td><td x-text="$store.info?.banned||0">0</td><td x-text="$store.info?.fresh||0">0</td></tr></tbody></table><table class="text-center table-nomargin"><thead><tr><th colspan="3">System</th></tr></thead><tbody><tr><th data-tooltip="How long has this instance been running.">Uptime</th><th data-tooltip="How much RAM is used reported by runtime. Could be inaccurate.">RAM Usage</th><th data-tooltip="An anonymous ID for analytics.">Analytics ID</th></tr><tr><td x-text="$store.sessionUptime">0d 00:00:00</td><td x-text="$store.info?.memory||'Calculating...'"></td><td :data-tooltip="$store.info?.instance||'Not ready.'">Hover to see</td></tr></tbody></table></div><div x-show="tab==2"><h4>About</h4><table><tbody><tr><th colspan="2" class="text-center" x-text="$store.buildInfo?.name||'Unknown'"></th></tr><tr @mouseup="maes++;gMaes(maes)"><th>Version</th><td x-text="$store.info?.ver||$store.buildInfo?.ver||'Unknown'"></td></tr><tr><th>Runtime</th><td x-text="$store.info?.var||'Loading...'"></td></tr><tr><th>OS</th><td x-text="$store.info?.os||'Loading...'"></td></tr><tr><th>Developed by</th><td>Lumière Élevé</td></tr><tr><th>Tested by</th><td x-data="{testers:['Lumière Élevé','Fauli1221','Starshine','octylFractal','Windy Gleam','Coaster42','Wolfdog122 (Swarm)','Nightli','Daaniea (r/deadmau5)','Shadow Glider','FlynnMLP','Guar','interru','Marius851000','Moonlight Seashell','dashingrainbow','Fangliding','NightCandle','Steady Gaze','FenixScar','Firazoid','twinklesprinkle','PoxyBoxy','SETTESIX','ChrisShimma','Pyroboss','TestTester','DjLeonard14','icegna (r/HongKong)','coffindancercat (r/HongKong)','Haneul (r/Korea)','Kiroo (r/Korea)','anelfer (r/place_brff)'].sort()}"><template x-for="tester in testers"><span class="text-noborder" x-text="`${testers.indexOf(tester)?', ':''}${tester}`" :data-tooltip="tester"></span></template></td></tr><tr><th>Produced by</th><td><a href="https://ltgc.cc/" target="_blank">Lightingale Community</a></td></tr><tr><th>Project link</th><td><a href="https://github.com/ltgcgo/painted-palette" target="_blank">GitHub</a></td></tr></tbody></table></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.6 | ||
0.1.7 |