Api endpoint setting is now readonly

This will stay readonly until the API is actually used for something.
This commit is contained in:
purple 2023-05-17 10:38:00 +02:00
parent 5a990957df
commit 9c2ac5c3ea

View file

@ -76,9 +76,9 @@
</div>
<div class="col-xs-4">
<label class="control-label">Endpoint</label>
<select class="form-control" name="api:endpoint">
<select class="form-control" name="api:endpoint" readonly>
<option value="api.ptero.shop">api.ptero.shop (default)</option>
<option value="blueprint.prpl.wtf" @if($bp->dbGet('api:endpoint') == "blueprint.prpl.wtf") selected @endif>blueprint.prpl.wtf</option>
<option value="none" @if($bp->dbGet('api:endpoint') == "none") selected @endif>none</option>
</select>
<p class="text-muted small">Select your preferred API endpoint.</p>
</div>