mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 10:58:48 +00:00
Add remote timeline
This commit is contained in:
parent
eca0366c21
commit
ac342dde07
7 changed files with 45 additions and 14 deletions
|
@ -17,9 +17,9 @@
|
|||
<a class="nav-link" href="/timeline/home" accesskey="1" title="Home timeline (1)">home</a>
|
||||
<a class="nav-link" href="/timeline/direct" accesskey="2" title="Direct timeline (2)">direct</a>
|
||||
<a class="nav-link" href="/timeline/local" accesskey="3" title="Local timeline (3)">local</a>
|
||||
<a class="nav-link" href="/timeline/twkn" accesskey="4" title="The Whole Known Netwwork (4)">twkn</a>
|
||||
<a class="nav-link" href="/search" accesskey="5" title="Search (5)">search</a>
|
||||
<a class="nav-link" href="/about" accesskey="6" title="About (6)">about</a>
|
||||
<a class="nav-link" href="/timeline/remote" accesskey="4" title="Remote timeline (4)">remote</a>
|
||||
<a class="nav-link" href="/timeline/twkn" accesskey="5" title="The Whole Known Netwwork (5)">twkn</a>
|
||||
<a class="nav-link" href="/search" accesskey="6" title="Search (6)">search</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="nav-link" href="/settings" target="_top" accesskey="7" title="Settings (7)">settings</a>
|
||||
|
@ -28,6 +28,7 @@
|
|||
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
||||
<input type="submit" value="signout" class="btn-link nav-link" accesskey="8" title="Signout (8)">
|
||||
</form>
|
||||
<a class="nav-link" href="/about" accesskey="9" title="About (9)">about</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
<title>{{.Title}}</title>
|
||||
</head>
|
||||
<frameset cols="420px,*">
|
||||
<frameset cols="424px,*">
|
||||
<frameset rows="316px,*">
|
||||
<frame name="nav" src="/nav">
|
||||
<frame name="notification" src="/notifications">
|
||||
|
|
|
@ -2,6 +2,16 @@
|
|||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
<div class="page-title"> {{.Title}} </div>
|
||||
|
||||
{{if eq .Type "remote"}}
|
||||
<form class="search-form" action="/timeline/remote" method="GET">
|
||||
<span class="post-form-field">
|
||||
<label for="instance"> Instance </label>
|
||||
<input id="instance" name="instance" value="{{.Instance}}">
|
||||
</span>
|
||||
<button type="submit"> Submit </button>
|
||||
</form>
|
||||
{{end}}
|
||||
|
||||
{{range .Statuses}}
|
||||
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue