vpn.keks.cloud/resources/views/vpn/new.blade.php

29 lines
917 B
PHP
Raw Normal View History

2020-11-08 02:07:10 +00:00
<!-- Stored in resources/views/child.blade.php -->
@extends('layout.app')
@section('title', 'VPN')
@section('content')
<div class="row"">
<div class="col-md-12">
<h1>New VPN</h1>
<form method="post">
@csrf
<label>Device Name</label>
<input name="name" class="form-control" placeholder="wg0">
<label>Display Name</label>
<input name="display_name" class="form-control">
<label>Listening Port</label>
<input name="port" class="form-control" placeholder="51820">
<label>Private Key</label>
<input name="private_key" class="form-control" placeholder="Create new if empty">
<label>Network</label>
<input name="network" class="form-control" placeholder="10.0.1.1/24">
<br><br>
<input type="submit" class="btn btn-success" value="Create">
</form>
</div>
</div>
@endsection