summaryrefslogtreecommitdiff
path: root/templates/admin.html
diff options
context:
space:
mode:
authorhorus_arch2016-09-02 17:50:15 +0200
committerhorus_arch2016-09-02 17:50:15 +0200
commit80ed8a317c59c9905b6ef0d18bec6bed0eb11a44 (patch)
tree91783c02b834316746a2e71fc910092cd4dcce9d /templates/admin.html
parent3368a43c88d5fed75883c5ebd692e41c71556d15 (diff)
downloadscribbled-80ed8a317c59c9905b6ef0d18bec6bed0eb11a44.tar.gz
Add admin interface + the config option to run scribbled locally without internet access.
Diffstat (limited to 'templates/admin.html')
-rw-r--r--templates/admin.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/admin.html b/templates/admin.html
new file mode 100644
index 0000000..c76e12c
--- /dev/null
+++ b/templates/admin.html
@@ -0,0 +1,23 @@
+{{template "header.html" .}}
+<body class="grey">
+{{template "navbar.html" .}}
+
+<div class="container">
+ <div class="row">
+ <div class="col-md-offset-1 col-md-10">
+ <div class="playcard">
+ {{range .Notes}}
+ <div class="pull-right">
+ <a id="edit" href="{{.VirtualRoot}}/{{.Title}}" name="edit" class="text-right btn btn-success"><span class="glyphicon glyphicon-pencil"></span> Edit</a>
+
+ </div>
+ <h1>{{.Title}}</h1>
+ <hr>
+ {{RenderMarkdown .Post}}
+ {{end}}
+ </div>
+ </div>
+ </div>
+</div>
+
+{{template "footer.html"}}