diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/frontend.tmpl | 3 | ||||
-rw-r--r-- | web/template/index.tmpl | 2 | ||||
-rw-r--r-- | web/template/status.tmpl | 5 |
3 files changed, 7 insertions, 3 deletions
diff --git a/web/template/frontend.tmpl b/web/template/frontend.tmpl index b667bc191..20c1d61c9 100644 --- a/web/template/frontend.tmpl +++ b/web/template/frontend.tmpl @@ -1,5 +1,6 @@ {{ template "header.tmpl" .}} <main class="lightgray"> - <div id="root"></div> + <div id="root"> + </div> </main> {{ template "footer.tmpl" .}}
\ No newline at end of file diff --git a/web/template/index.tmpl b/web/template/index.tmpl index fb2e3b7b0..fbdb7269c 100644 --- a/web/template/index.tmpl +++ b/web/template/index.tmpl @@ -1,5 +1,5 @@ {{ template "header.tmpl" .}} -<section class="excerpt_top"> +<section class="excerpt-top"> home to <span class="count">{{.instance.Stats.user_count}}</span> users who posted <span class="count">{{.instance.Stats.status_count}}</span> statuses, federating with <span class="count">{{.instance.Stats.domain_count}}</span> other instances. diff --git a/web/template/status.tmpl b/web/template/status.tmpl index c3b243445..73e7d1b03 100644 --- a/web/template/status.tmpl +++ b/web/template/status.tmpl @@ -2,6 +2,10 @@ <a href="{{.Account.URL}}" class="avatar"><img src="{{.Account.Avatar}}" alt=""></a> <a href="{{.Account.URL}}" class="displayname">{{if .Account.DisplayName}}{{emojify .Account.Emojis (escape .Account.DisplayName)}}{{else}}{{.Account.Username}}{{end}}</a> <a href="{{.Account.URL}}" class="username">@{{.Account.Acct}}</a> + <div class="not-expanded"> + <span class="visibility">{{.Visibility | visibilityIcon}}</span> + <span class="date">{{.CreatedAt | timestamp}}</span> + </div> <div class="text"> {{if .SpoilerText}} <input class="spoiler" id="hideSpoiler-{{.ID}}" type="checkbox" style="display: none" aria-hidden="true" checked="true" /> @@ -43,7 +47,6 @@ <div class="info"> <div id="date">{{.CreatedAt | timestamp}}</div> <div class="stats"> - <div id="visibility">{{.Visibility | visibilityIcon}}</div> <div id="replies"><i aria-label="Replies" class="fa fa-reply-all"></i> {{.RepliesCount}}</div> <div id="boosts"><i aria-label="Boosts" class="fa fa-retweet"></i> {{.ReblogsCount}}</div> <div id="favorites"><i aria-label="Favorites" class="fa fa-star"></i> {{.FavouritesCount}}</div> |