Format HTML

This commit is contained in:
ekzyis 2023-09-09 22:52:50 +02:00
parent 011b2eff0a
commit e14a3c824d
6 changed files with 254 additions and 236 deletions

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -14,8 +15,9 @@
{{ if eq .ENV "development" }} {{ if eq .ENV "development" }}
<script defer src="/hotreload.js"></script> <script defer src="/hotreload.js"></script>
{{ end }} {{ end }}
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -75,6 +77,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>
</body> </body>
<script src="/market.js"></script> <script src="/market.js"></script>
</html> </html>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -13,8 +14,9 @@
{{ if eq .ENV "development" }} {{ if eq .ENV "development" }}
<script defer src="/hotreload.js"></script> <script defer src="/hotreload.js"></script>
{{ end }} {{ end }}
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -49,5 +51,6 @@
<code><a href="https://github.com/ekzyis/delphi.market/commit/{{.COMMIT_LONG_SHA}}">{{.VERSION}}</a></code> <code><a href="https://github.com/ekzyis/delphi.market/commit/{{.COMMIT_LONG_SHA}}">{{.VERSION}}</a></code>
</div> </div>
</footer> </footer>
</body> </body>
</html> </html>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -13,8 +14,9 @@
{{ if eq .ENV "development" }} {{ if eq .ENV "development" }}
<script defer src="/hotreload.js"></script> <script defer src="/hotreload.js"></script>
{{ end }} {{ end }}
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -39,7 +41,7 @@
</code> </code>
<div id="lnauth-qr"> <div id="lnauth-qr">
<div class="mb-1">Login with Lightning</div> <div class="mb-1">Login with Lightning</div>
<a href="lightning:{{.lnurl}}"><img class="m-auto mb-1" src="data:image/png;base64,{{.qr}}" width="100%"/></a> <a href="lightning:{{.lnurl}}"><img class="m-auto mb-1" src="data:image/png;base64,{{.qr}}" width="100%" /></a>
<div class="font-mono word-wrap">{{.lnurl}}</div> <div class="font-mono word-wrap">{{.lnurl}}</div>
</div> </div>
<div id="lnauth-success" hidden> <div id="lnauth-success" hidden>
@ -48,8 +50,8 @@
<div id="lnauth-countdown">Redirecting in 3 ...</div> <div id="lnauth-countdown">Redirecting in 3 ...</div>
</div> </div>
</div> </div>
</body> </body>
<script> <script>
const qr = document.querySelector("#lnauth-qr") const qr = document.querySelector("#lnauth-qr")
const success = document.querySelector("#lnauth-success") const success = document.querySelector("#lnauth-success")
const pubkey = document.querySelector("#lnauth-pubkey") const pubkey = document.querySelector("#lnauth-pubkey")
@ -72,5 +74,6 @@
}, 1000) }, 1000)
} }
}, 1000) }, 1000)
</script> </script>
</html> </html>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -10,8 +11,9 @@
<link rel="stylesheet" href="/index.css" /> <link rel="stylesheet" href="/index.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#091833" /> <meta name="theme-color" content="#091833" />
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -30,5 +32,6 @@
</code> </code>
<div class="font-mono mb-1">Not Found</div> <div class="font-mono mb-1">Not Found</div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -10,8 +11,9 @@
<link rel="stylesheet" href="/index.css" /> <link rel="stylesheet" href="/index.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#091833" /> <meta name="theme-color" content="#091833" />
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -30,5 +32,6 @@
</code> </code>
<div class="font-mono mb-1">Method Not Allowed</div> <div class="font-mono mb-1">Method Not Allowed</div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<title>delphi.market</title> <title>delphi.market</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
@ -10,8 +11,9 @@
<link rel="stylesheet" href="/index.css" /> <link rel="stylesheet" href="/index.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#091833" /> <meta name="theme-color" content="#091833" />
</head> </head>
<body>
<body>
<header class="flex flex-row text-center justify-center pt-1"> <header class="flex flex-row text-center justify-center pt-1">
<nav> <nav>
<a href="/">home</a> <a href="/">home</a>
@ -30,5 +32,6 @@
</code> </code>
<div class="font-mono mb-1">Internal Server Error</div> <div class="font-mono mb-1">Internal Server Error</div>
</div> </div>
</body> </body>
</html> </html>