diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/nav.tmpl | 7 | ||||
-rw-r--r-- | templates/root.tmpl | 2 | ||||
-rw-r--r-- | templates/timeline.tmpl | 10 |
3 files changed, 15 insertions, 4 deletions
diff --git a/templates/nav.tmpl b/templates/nav.tmpl index fdff885..98f0532 100644 --- a/templates/nav.tmpl +++ b/templates/nav.tmpl @@ -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> diff --git a/templates/root.tmpl b/templates/root.tmpl index ef25c90..b1305f5 100644 --- a/templates/root.tmpl +++ b/templates/root.tmpl @@ -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"> diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl index eabb3ed..bde050a 100644 --- a/templates/timeline.tmpl +++ b/templates/timeline.tmpl @@ -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}} |