diff options
Diffstat (limited to 'templates/servers.html')
-rw-r--r-- | templates/servers.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/servers.html b/templates/servers.html new file mode 100644 index 0000000..f35f4e9 --- /dev/null +++ b/templates/servers.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta property="og:title" content="Ideez"/> + <meta property="og:description" content="Ideez is an app that you can storm with ideas, hoping to facilitate plans and brainstorms."/> + <meta property="og:image" content="/static/favicon.ico" /> + <link rel="stylesheet" href="/static/main.css"> + <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> + <title>Servers</title> + </head> + <body> + {{ with .Error }} + <p class="error">{{.}}</p> + {{ end}} + <form method="post" action="/server/create/"> + <input name="name" type="text" placeholder="Ideez Server Name" required> + <button>Create Server</button> + </form> + <hr> + <ul> + {{range .Ideezes}} + <li><a href="{{$.Address}}/server/{{.ID}}/">{{.Name}}</a></li> + {{end}} + <ul> + </body> +</html> |