Make the news look better

This commit is contained in:
Las Zenow 2013-07-17 15:33:09 +02:00
parent 5f612a36ad
commit 9a98cfd793
2 changed files with 5 additions and 1 deletions

View file

@ -2,7 +2,7 @@
<h4>Add News:</h4>
<form method="POST" action="/news/edit">
<textarea name="text" rows="3"></textarea>
<textarea class="field span10" name="text" rows="3"></textarea> <br />
<button type="submit" class="btn">Add</button>
</form>

View file

@ -1,9 +1,13 @@
{{template "header.html" .S}}
<h4>News:</h4>
<dl class="dl-horizontal">
{{range .News}}
<div class="well well-small">
<dt>{{.Date}}</dt>
<dd>{{.Text}}</dd>
</div>
{{end}}
</dl>