summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2025-01-12 23:09:34 -0800
committerElizabeth Hunt <elizabeth@simponic.xyz>2025-01-12 23:09:34 -0800
commit18a945aab9b3129b82076f633fab1d13ba28148e (patch)
tree09703cdc24992c42c5c14051e73e0b614280f5bd /templates
downloadphoneassistant-18a945aab9b3129b82076f633fab1d13ba28148e.tar.gz
phoneassistant-18a945aab9b3129b82076f633fab1d13ba28148e.zip
initial commit by simponic-infra
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html7
-rw-r--r--templates/base.html34
-rw-r--r--templates/base_empty.html3
-rw-r--r--templates/hello.html3
4 files changed, 47 insertions, 0 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..5210bfb
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,7 @@
+{{ define "content" }}
+<h1>page not found</h1>
+<p><em>but hey, at least you found our witty 404 page. that's something, right?</em></p>
+
+<p><a href="/">go back home</a></p>
+
+{{ end }}
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..4cd6b4c
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,34 @@
+{{ define "base" }}
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>phoneassistant</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
+ <link href="/static/img/favicon.ico" rel="icon" type="image/x-icon">
+ <link rel="stylesheet" type="text/css" href="/static/css/styles.css">
+
+ <meta property="og:type" content="website">
+ <meta property="og:url" content="https://phoneassistant.simponic.xyz">
+ <meta property="og:title" content="phoneassistant">
+ <meta property="og:description" content="phoneassistant">
+ <meta property="og:image:secure_url" content="https://phoneassistant.simponic.xyz/static/img/favicon.ico">
+ <meta property="og:image:secure" content="https://phoneassistant.simponic.xyz/static/img/favicon.ico">
+
+ <script src="/static/js/util/setThemeBeforeRender.js"></script>
+ </head>
+ <body>
+ <div id="content" class="container">
+ <div>
+ <h1>phoneassistant</h1>
+ <a href="/">home.</a>
+ <span> | </span>
+ <a href="javascript:void(0);" id="theme-switcher">light mode.</a>
+ </div>
+ <hr>
+ {{ template "content" . }}
+ </div>
+ <script data-main="/static/js/script.js" src="/static/js/require.js"></script>
+ </body>
+</html>
+{{ end }}
diff --git a/templates/base_empty.html b/templates/base_empty.html
new file mode 100644
index 0000000..6191ab9
--- /dev/null
+++ b/templates/base_empty.html
@@ -0,0 +1,3 @@
+{{ define "base" }}
+ {{ template "content" . }}
+{{ end }} \ No newline at end of file
diff --git a/templates/hello.html b/templates/hello.html
new file mode 100644
index 0000000..d2311f5
--- /dev/null
+++ b/templates/hello.html
@@ -0,0 +1,3 @@
+{{ define "content" }}
+hello from {{ .Service }}!
+{{ end }}