From c7eea383aeaf6748daf994e9e28e4d0c25350736 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 1 Nov 2016 14:46:15 -0400 Subject: initial commit --- got/edit.got | 16 ++++++++++++++++ got/login.got | 10 ++++++++++ got/template.html.got | 31 +++++++++++++++++++++++++++++++ got/upload.got | 11 +++++++++++ 4 files changed, 68 insertions(+) create mode 100644 got/edit.got create mode 100644 got/login.got create mode 100644 got/template.html.got create mode 100644 got/upload.got (limited to 'got') diff --git a/got/edit.got b/got/edit.got new file mode 100644 index 0000000..3fcdd23 --- /dev/null +++ b/got/edit.got @@ -0,0 +1,16 @@ + +

{{.path | html}}

+

Content-Type: {{.ctype | html}}

+
+ + + + +
+
+ + +

Instead of editing this in your browser, you can just upload a new copy.

+ + +
diff --git a/got/login.got b/got/login.got new file mode 100644 index 0000000..546d2e3 --- /dev/null +++ b/got/login.got @@ -0,0 +1,10 @@ + +{{if neq .url ""}} +

You must log in to do that.

+{{endif}} +
+ + + + +
diff --git a/got/template.html.got b/got/template.html.got new file mode 100644 index 0000000..ab9e633 --- /dev/null +++ b/got/template.html.got @@ -0,0 +1,31 @@ + + + + + + + + + {{.title | html}} + + + {{.head}} + + +
+ {{if eq .userid ""}} +

You are not logged in

+ {{else}} +

You are logged in as {{.session.userid | html}}

+
+ + + +
+ {{endif}} +
+
+ {{.body}} +
+ + diff --git a/got/upload.got b/got/upload.got new file mode 100644 index 0000000..069d9f8 --- /dev/null +++ b/got/upload.got @@ -0,0 +1,11 @@ + +

{{.path | html}}

+

Content-Type: {{.ctype | html}}

+
+ + +

You can't edit this type of file in your browser. But you can + upload a new version.

+ + +
-- cgit v1.2.3