implement account id localstorage saving
This commit is contained in:
parent
f9bc80cc80
commit
75092f3e0e
3 changed files with 17 additions and 1 deletions
|
@ -254,6 +254,8 @@ pub fn root() -> Markup {
|
|||
"These were the two main reasons why I created this. This website couldn't exist without Carbuncle Plushy's tracker -- it uses the same data "
|
||||
"that has been painstakingly compiled by hand! If you can, please support them."
|
||||
}
|
||||
|
||||
script src="/static/scripts/load.js" type="text/javascript" {}
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -264,8 +266,10 @@ pub fn new_account(id: String) -> Markup {
|
|||
"access your account."
|
||||
}
|
||||
|
||||
h1 { (id) }
|
||||
h1 id="account-id" { (id) }
|
||||
|
||||
a href=(format!("/{}", id)) { "Click here to proceed to the tracker" }
|
||||
|
||||
script src="/static/scripts/save.js" type="text/javascript" {}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue