commit
This commit is contained in:
+11
-44
@@ -143,55 +143,22 @@
|
||||
</div>
|
||||
<hr>
|
||||
<div id="vpn-controls">
|
||||
<h6 class="text-white">Dashboard VPNs</h6>
|
||||
<h6 class="text-white">Available VPNs</h6>
|
||||
{% if available_vpn_configs %}
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-triton" data-vpn-name="Triton">
|
||||
<label class="form-check-label" for="vpn-triton">Triton</label>
|
||||
</div>
|
||||
</li>
|
||||
{% for vpn_name in available_vpn_configs %}
|
||||
{% set toggle_id = 'vpn-toggle-' ~ loop.index %}
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-star" data-vpn-name="Star">
|
||||
<label class="form-check-label" for="vpn-star">Star</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-bluebonnet" data-vpn-name="Bluebonnet">
|
||||
<label class="form-check-label" for="vpn-bluebonnet">Bluebonnet</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-lonestar" data-vpn-name="Lonestar">
|
||||
<label class="form-check-label" for="vpn-lonestar">Lonestar</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-production" data-vpn-name="Production">
|
||||
<label class="form-check-label" for="vpn-production">Production</label>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<hr class="my-2">
|
||||
<h6 class="text-white">HPE P5G Support VPNs</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-us-support" data-vpn-name="US-Support">
|
||||
<label class="form-check-label" for="vpn-us-support">US Support</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="form-check form-switch text-white">
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="vpn-eu-support" data-vpn-name="EU-Support">
|
||||
<label class="form-check-label" for="vpn-eu-support">EU Support</label>
|
||||
<input class="form-check-input vpn-toggle" type="checkbox" role="switch" id="{{ toggle_id }}" data-vpn-name="{{ vpn_name }}">
|
||||
<label class="form-check-label" for="{{ toggle_id }}">{{ vpn_name }}</label>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p class="text-white-50 small mb-0">No VPN configs detected.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="b-example-vr"></div>
|
||||
@@ -326,4 +293,4 @@
|
||||
</script>
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user