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>
|
<h1>Editing {{.Title}}</h1>
|
||||||
|
|
||||||
<form action="/save/{{.Title}}" method="POST">
|
<form action="/save/{{.Title}}" method="POST">
|
||||||
<div>
|
<div class="form-group">
|
||||||
<textarea name="body" rows="20" cols="80">{{printf "%s" .Body}}</textarea>
|
<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>
|
||||||
<div><input type="submit" value="Save" /></div>
|
|
||||||
</form>
|
</form>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
{{define "title"}} Welcome to Go-Wiki {{end}} {{define "content"}}
|
{{define "title"}} Welcome to Go-Wiki {{end}} {{define "content"}}
|
||||||
|
|
||||||
<div class="jumbotron">
|
<div class="section">
|
||||||
<h1 class="display-4">Welcome to Go-Wiki</h1>
|
<div class="jumbotron">
|
||||||
<p class="lead">
|
<h1 class="display-4">Welcome to Go-Wiki</h1>
|
||||||
Golang powered Wiki web application
|
<p class="lead">
|
||||||
</p>
|
Golang powered Wiki web application
|
||||||
<hr class="my-4" />
|
</p>
|
||||||
<p>
|
<hr class="my-4" />
|
||||||
Look at our documentation to discover how to contribute !
|
<p>
|
||||||
</p>
|
Look at our documentation to discover how to contribute !
|
||||||
<a class="btn btn-primary btn-lg" href="/view/Doc" role="button"
|
</p>
|
||||||
>Documentation</a
|
<a class="btn btn-primary btn-lg" href="/view/Doc" role="button"
|
||||||
>
|
>Documentation</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue