Fork project

This commit is contained in:
2025-09-19 15:59:08 +08:00
commit 2f921b6209
52 changed files with 4012 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<div class="tab-pane fade" id="router" role="tabpanel">
{% set value = get_config('whale:router_type') %}
{% set cur_type = get_config("whale:router_type", "frp") %}
<div class="form-group">
<label for="router-type">
Router type
<small class="form-text text-muted">
Select which router backend to use
</small>
</label>
<select id="router-type" class="form-control custom-select" onchange="window.updateConfigs">
{% for type in ["frp", "trp"] %}
<option value="{{ type }}" {{ "selected" if value == type }}>{{ type }}</option>
{% endfor %}
</select>
</div>
{% set template = "config/" + cur_type + ".router.config.html" %}
{% include template %}
<div class="submit-row float-right">
<button type="submit" tabindex="0" class="btn btn-md btn-primary btn-outlined">
Submit
</button>
</div>
</div>