main
Bel LaPointe 2023-10-27 22:15:02 -06:00
parent 228f916283
commit 0fd4bbeb09
1 changed files with 8 additions and 6 deletions

View File

@ -17,10 +17,11 @@
} }
function callback(responseBody, responseStatus) { function callback(responseBody, responseStatus) {
} }
var f = String(window.location).split("/transactions")[1] var f = String(window.location).split("/transactions.html")[1]
if (!f) { if (!f) {
f = "./moolah.dat" f = "/moolah.dat"
} }
f = "." + f
function init() { function init() {
load(f) load(f)
} }
@ -68,12 +69,13 @@
<summary>Balance</summary> <summary>Balance</summary>
<div id="bal"> <div id="bal">
</div> </div>
</details> <details>
<details> <summary><i>Look at this graph</i></summary>
<summary>Look at this graph</summary> <iframe style="background: white; width: 100%;" src="/api/reg?x=y&mode=reg&likeName=Withdrawal:[0123]&chart=stack&predictionMonths=6&prediction=autoContributions=&bpi=true&zoomStart=2023-01"></iframe>
<iframe style="background: white; width: 100%;" src="/api/reg?x=y&mode=reg&likeName=Withdrawal:[0123]&chart=stack&predictionMonths=6&prediction=autoContributions=&bpi=true&zoomStart=2023-01"></iframe> </details>
</details> </details>
<details open> <details open>
<summary>Register</summary>
<div id="reg"> <div id="reg">
</div> </div>
</details> </details>