vpnmanager/templates/manager/editwifi.html

23 lines
803 B
HTML

{% extends "base.html" %}
{% block content %}
<form action="#" method="post">
{% csrf_token %}
<div class="form-group">
<label for="serial">Common Name (Serial)</label>
<input type="text" class="form-control" name="serial" id="serial" value="{{ wifi.serial }}"></input>
</div>
<div class="form-group">
<label for="ssid">WiFi SSID</label>
<input type="text" class="form-control" name="ssid" id="ssid" value="{{ wifi.ssid }}"></input>
</div>
<div class="form-group">
<label for="secret">WiFi WPA2 Key</label>
<input type="text" class="form-control" id="key" name="key" value="{{ wifi.key }}"></input>
</div>
<button type="submit" class="btn btn-success">Apply Changes</button>
<a class="btn btn-danger" href="/" role="button">Cancel</a>
</form>
{% endblock %}