Files
PixivFE/template/settings.jet.html
T
2023-07-06 10:27:00 +07:00

71 lines
1.9 KiB
HTML

<div class="container">
<h2>Settings</h2>
{{ if isset(Message) }} {{ Message }} {{ end }}
<form action="/settings/token" method="post">
<fieldset class="settings-fieldset">
<legend>Custom token</legend>
<p>
Experimental, set this to enable the landing page. Proceed with caution.
</p>
<p>
You will get logged out automatically after 1 day or when the server
restarts.
</p>
<input type="text" name="token" autocomplete="off" />
<input type="submit" value="Apply" />
</fieldset>
</form>
<fieldset class="settings-fieldset">
<form action="/settings/image_server" method="post">
<legend>Image proxy server</legend>
<input
type="radio"
name="image-proxy"
id="image-proxy"
value="i.pixiv.cat"
/>
<label for="image-proxy">i.pixiv.cat</label>
<br />
<input
type="radio"
name="image-proxy"
id="image-proxy"
value="px2.rainchan.win"
/>
<label for="image-proxy">px2.rainchan.win</label>
<br />
<input
type="radio"
name="image-proxy"
id="image-proxy"
value="px3.rainchan.win"
/>
<label for="image-proxy">px3.rainchan.win</label>
<br />
<input
type="radio"
name="image-proxy"
id="image-proxy"
value="px.s.rainchan.win"
/>
<label for="image-proxy">px.s.rainchan.win</label>
<br />
<br />
<input type="submit" value="Apply" />
</form>
<form action="/settings/image_server" method="post">
<label for="image-proxy">Custom image proxy server</label>
<br />
<input
type="text"
name="image-proxy"
id="image-proxy"
placeholder="Paste the address here..."
autocomplete="off"
/>
<br />
<input type="submit" value="Apply" />
</form>
</fieldset>
</div>