templates!
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{ define "_editor" }}
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.js"></script>
|
||||
<style>
|
||||
@@ -201,3 +202,4 @@
|
||||
status: ["lines", "words", "cursor"],
|
||||
})
|
||||
</script>
|
||||
{{ end }}
|
||||
@@ -1,6 +1,9 @@
|
||||
{{ define "_filetree" }}
|
||||
<div>
|
||||
My file tree
|
||||
<!-- TODO {{ .Branches }} -->
|
||||
{{ range $key, $value := .Branches }}
|
||||
<!-- TODO {{ $key }}{{ $value }} -->
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -1,3 +1,4 @@
|
||||
{{ define "_import" }}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
@@ -13,3 +14,4 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/light.css">
|
||||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
|
||||
-->
|
||||
{{ end }}
|
||||
@@ -1,4 +1,6 @@
|
||||
{{ define "_searchbar" }}
|
||||
<form class="columns" action="/ui/search" method="GET">
|
||||
<input class="thic_flex" type="text" name="searchbox" placeholder="space delimited search regexp"/>
|
||||
<input class="info lil_btn" type="submit" value="search"/>
|
||||
</form>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user