diff --git a/main.go b/main.go index 8c87fe7..1a644c0 100644 --- a/main.go +++ b/main.go @@ -422,6 +422,10 @@ func main() { c.HTML(200, "dashboard.html", gin.H{}) }) + router.GET("/account", func(c *gin.Context) { + c.HTML(200, "acct.html", gin.H{}) + }) + router.GET("/aeskeyshare", func(c *gin.Context) { c.HTML(200, "aeskeyshare.html", gin.H{}) }) diff --git a/static/css/dashboard.css b/static/css/dashboard.css index 7f0184d..3c2c2c2 100644 --- a/static/css/dashboard.css +++ b/static/css/dashboard.css @@ -21,6 +21,26 @@ body { } } +.hidden { + display: none; +} + +.iframe { + position: fixed; + right: 0; + top: 38px; + border: none; + height: 276px; + width: 400px; + transform: translateX(26px); +} + +.acctbutton { + position: fixed; + right: 0; + margin: 0; +} + .spacer { margin-top: 30px; } diff --git a/templates/acct.html b/templates/acct.html new file mode 100644 index 0000000..4584984 --- /dev/null +++ b/templates/acct.html @@ -0,0 +1,37 @@ + + + + + Dashboard + + + +
+

Account settings

+

Name:

+

Created:

+
+ +
+ diff --git a/templates/dashboard.html b/templates/dashboard.html index 1795279..0aa935f 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -8,6 +8,7 @@

Image by perga (@pergagreen on discord)

+

Submit a new OAuth2 App

diff --git a/templates/main.html b/templates/main.html index 96f1a84..0a6fd98 100644 --- a/templates/main.html +++ b/templates/main.html @@ -69,6 +69,7 @@

Image by perga (@pergagreen on discord)

+

Authorise Application

Loading...