Port the web to bootstrap5
So it is responsive in phones.
This commit is contained in:
parent
8af2ad3758
commit
6a3da59c75
40 changed files with 1131 additions and 849 deletions
|
@ -1,15 +1,16 @@
|
|||
{{template "header.html" .S}}
|
||||
|
||||
<h4>News:
|
||||
<a href="/news/?fmt=rss" class="pull-right"><img src="/img/feed.png"/></a>
|
||||
</h4>
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
{{range .News}}
|
||||
<div class="well well-small">
|
||||
<dt>{{.Date}}</dt>
|
||||
<dd>{{.Text}}</dd>
|
||||
<div class="row">
|
||||
<h4 class="col">News:</h4>
|
||||
<a href="/news/?fmt=rss" class="col text-end"><img src="/img/feed.png"/></a>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
{{range .News}}
|
||||
<div class="row">
|
||||
<dt class="col-sm-2 text-sm-end">{{.Date}}</dt>
|
||||
<dd class="col-sm-10">{{.Text}}</dd>
|
||||
</div>
|
||||
{{end}}
|
||||
</dl>
|
||||
|
||||
|
|
Reference in a new issue