mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-12 06:48:45 +00:00
improve true remote timeline
This commit is contained in:
parent
eedd9d2c5c
commit
0f33427d5b
6 changed files with 160 additions and 23 deletions
|
@ -14,10 +14,23 @@
|
|||
<button type="submit"> Submit </button>
|
||||
</form>
|
||||
{{if eq .Instance ""}}
|
||||
<a href="/timeline/tremote"> True remote timeline viewer </a>
|
||||
{{else}}
|
||||
<a href="/timeline/tremote?instance={{.Instance}}"> Look via True remote timeline viewer (works with mastodon API compatible instances) </a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{if eq .Type "tremote"}}
|
||||
<form class="search-form" action="/timeline/tremote" method="GET">
|
||||
<span class="post-form-field">
|
||||
<label for="instance"> Instance </label>
|
||||
<input id="instance" name="instance" value="{{.Instance}}" placeholder="example.com:optional_param">
|
||||
<select id="instance_type" name="instance_type" title="Select instance type">
|
||||
<option value="mastodon-compatible" default>Mastodon compatible</option>
|
||||
<option value="misskey"{{if eq .InstanceType "misskey"}}selected{{end}}>Misskey</option>
|
||||
</select>
|
||||
</span>
|
||||
<button type="submit"> Submit </button>
|
||||
</form>
|
||||
{{end}}
|
||||
{{if eq .Type "tag"}}
|
||||
<form class="search-form" action="/timeline/tag" method="GET">
|
||||
<span class="post-form-field">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue