2022-03-29 13:30:31 -04:00
|
|
|
{embed '../form.latte', path: '/settings/api', method: 'POST', submit: true}
|
2022-03-15 17:52:54 -04:00
|
|
|
{block fields}
|
2022-03-11 14:50:11 -05:00
|
|
|
<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>
|
2022-03-11 14:50:11 -05:00
|
|
|
</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}
|