bootstrap

This commit is contained in:
Ruidy Nemausat 2020-03-14 20:43:51 +01:00
parent d8f32dbb7d
commit e3e6ad958e
2 changed files with 21 additions and 15 deletions

View file

@ -2,9 +2,13 @@
<h1>Editing {{.Title}}</h1>
<form action="/save/{{.Title}}" method="POST">
<div>
<textarea name="body" rows="20" cols="80">{{printf "%s" .Body}}</textarea>
<div class="form-group">
<textarea class="form-control" name="body" rows="20" cols="80">
{{printf "%s" .Body}}
</textarea>
</div>
<div class="form-group">
<input type="submit" value="Save" class="btn btn-primary" />
</div>
<div><input type="submit" value="Save" /></div>
</form>
{{end}}

View file

@ -1,5 +1,6 @@
{{define "title"}} Welcome to Go-Wiki {{end}} {{define "content"}}
<div class="section">
<div class="jumbotron">
<h1 class="display-4">Welcome to Go-Wiki</h1>
<p class="lead">
@ -13,4 +14,5 @@
>Documentation</a
>
</div>
</div>
{{end}}