proxitok/templates/components/settings/api.latte

32 lines
1 KiB
Plaintext
Raw Normal View History

{embed '../form.latte', path: '/settings/api', method: 'POST', submit: true}
2022-03-15 17:52:54 -04:00
{block fields}
<div class="field">
2022-06-28 14:41:51 -04:00
<label class="label">Use test endpoints</label>
<div class="control">
<label class="radio">
2022-09-25 13:53:00 -04:00
<input type="radio" name="api-test_endpoints" value="yes" n:attr="checked => $isTestEndpoints" />
2022-06-28 14:41:51 -04:00
<span>Yes</span>
</label>
<label class="radio">
2022-09-25 13:53:00 -04:00
<input type="radio" name="api-test_endpoints" value="no" n:attr="checked => !$isTestEndpoints" />
2022-06-28 14:41:51 -04:00
<span>No</span>
</label>
</div>
<p class="help">This <i>may</i> help bypass rate limits</p>
</div>
2022-09-25 13:53:00 -04:00
<div class="field">
<label class="label">Downloader</label>
<div class="control">
<div class="select">
<select name="api-downloader">
{foreach $downloaders as $downloader}
<option value="{$downloader}" n:attr="selected => $currentDownloader === $downloader">{$downloader|firstUpper}</option>
{/foreach}
</select>
</div>
</div>
<p class="help">Watermark downloads will <i>not</i> use third party methods</p>
</div>
2022-03-15 17:52:54 -04:00
{/block}
{/embed}