mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-19 08:58:17 +02:00
Add peer expiration
This commit is contained in:
parent
2d67540e13
commit
2ecb92eef6
94 changed files with 43258 additions and 49 deletions
|
@ -17,7 +17,7 @@
|
|||
<div class="mb-3 row">
|
||||
<label for="WGPInterface" class="col-sm-3 col-form-label user-select-none">Interface</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-select" name="Interface" aria-label="Default select example">
|
||||
<select class="form-select" name="Interface" id="WGPInterface" aria-label="Default select example">
|
||||
@foreach (var server in Servers)
|
||||
{
|
||||
<option value="@server.Name">@server.Name</option>
|
||||
|
@ -71,7 +71,16 @@
|
|||
<div class="mb-3 row">
|
||||
<label for="WGPKeepAlive" class="col-sm-3 col-form-label user-select-none">Persistent Keepalive</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" id="WGPKeepAlive" name="KeepAlive" placeholder="--:--:--">
|
||||
<input type="number" class="form-control" id="WGPKeepAlive" name="KeepAlive">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="WGPExpire" class="col-sm-3 col-form-label user-select-none">Expire</label>
|
||||
<div class="input-group w-75 col-sm-9 date-input" id="WGPExpire" data-td-target-input="nearest" data-td-target-toggle="nearest">
|
||||
<input id="WGPExpire" type="text" name="Expire" class="form-control" data-td-target="#WGPExpire" />
|
||||
<span class="input-group-text" data-td-target="#WGPExpire" data-td-toggle="datetimepicker">
|
||||
<i class="fas fa-calendar"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-5 row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue