mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-24 21:01:28 +00:00
Add refresh button on timeline page
This commit is contained in:
parent
03a1cd819a
commit
0b004efffa
|
@ -517,18 +517,18 @@ img.emoji {
|
|||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.notification-title-container {
|
||||
.page-title-container {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.page-refresh {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.notification-text {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.notification-refresh {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.notification-read {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<td> <kbd>C</kbd> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Refresh thread page </td>
|
||||
<td> Refresh timeline/thread page </td>
|
||||
<td> <kbd>T</kbd> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{{with .Data}}
|
||||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
<div class="notification-title-container">
|
||||
<div class="page-title-container">
|
||||
<span class="page-title">
|
||||
Notifications
|
||||
{{if and (not $.Ctx.AntiDopamineMode) (gt .UnreadCount 0)}}
|
||||
({{.UnreadCount }})
|
||||
{{end}}
|
||||
</span>
|
||||
<a class="notification-refresh" href="/notifications" target="_self" accesskey="R" title="Refresh (R)">refresh</a>
|
||||
<a class="page-refresh" href="/notifications" target="_self" accesskey="R" title="Refresh (R)">refresh</a>
|
||||
{{if .ReadID}}
|
||||
<form class="notification-read" action="/notifications/read?max_id={{.ReadID}}" method="post" target="_self">
|
||||
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{{with $s := .Data}}
|
||||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
<div class="notification-title-container">
|
||||
<div class="page-title-container">
|
||||
<span class="page-title"> Thread </span>
|
||||
<a class="notification-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
|
||||
<a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
|
||||
</div>
|
||||
|
||||
{{range .Statuses}}
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
{{with .Data}}
|
||||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
<div class="page-title"> {{.Title}} </div>
|
||||
<div class="page-title-container">
|
||||
<span class="page-title"> {{.Title}} </span>
|
||||
<a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
|
||||
</div>
|
||||
|
||||
{{if eq .Type "remote"}}
|
||||
<form class="search-form" action="/timeline/remote" method="GET">
|
||||
|
|
Loading…
Reference in a new issue