mirror of
https://github.com/rjNemo/go-wiki
synced 2026-06-06 02:36:40 +00:00
bootstrap
This commit is contained in:
parent
d8f32dbb7d
commit
e3e6ad958e
2 changed files with 21 additions and 15 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{{define "title"}} Welcome to Go-Wiki {{end}} {{define "content"}}
|
||||
|
||||
<div class="jumbotron">
|
||||
<div class="section">
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4">Welcome to Go-Wiki</h1>
|
||||
<p class="lead">
|
||||
Golang powered Wiki web application
|
||||
|
|
@ -12,5 +13,6 @@
|
|||
<a class="btn btn-primary btn-lg" href="/view/Doc" role="button"
|
||||
>Documentation</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue