Verified Commit 264bee67 authored by Tharyrok's avatar Tharyrok
Browse files

Upgrade Form

parent cea0b639
......@@ -29,16 +29,22 @@ class OpenvpnType extends AbstractType
'label' => 'Certificate Signing Request',
'help' => 'Copies the contents of the xxx.csr file generated with this command : openssl req -new -nodes -newkey ec:<(openssl ecparam -name secp384r1 -rand /dev/urandom) -keyout user.key -out user.csr -subj "/CN=Neutrinet/"',
])
->add('ipv4', CheckboxType::class, [
'label' => 'one ip v4',
'help' => 'Check this box to have a v4 ip with your vpn.',
'required' => false
->add('ipv6', CheckboxType::class, [
'label' => 'one ip v6',
'help' => 'your one ipv6.',
'required' => true,
'data' => true,
'disabled' => true
])
->add('ipv6_block', CheckboxType::class, [
'label' => 'one range /56 ip v6',
'help' => 'Check this box to have a v6 ip range (Useful if you want to provide ip v6 to your subnets, for example, the wifi of the brick)',
'required' => false
])
->add('ipv4', CheckboxType::class, [
'label' => 'one ip v4',
'help' => 'Check this box to have a v4 ip with your vpn.',
'required' => false
])
->add('save', SubmitType::class)
;
......
<nav class="sb-sidenav accordion sb-sidenav-light" id="sidenavAccordion">
<div class="sb-sidenav-footer">
<div class="small">Logged in as:</div>
<ul class="navbar-nav ms-auto me-0 me-md-3 my-2 my-md-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Tharyrok</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item active" href="#!">Tharyrok</a></li>
<li><hr class="dropdown-divider" /></li>
<li><a class="dropdown-item" href="#!">Neutrinet</a></li>
<li><a class="dropdown-item" href="#!">Campus</a></li>
<li><a class="dropdown-item" href="#!">GnuRagist</a></li>
</ul>
</li>
</ul>
</div>
<div class="sb-sidenav-menu">
<div class="nav">
<div class="sb-sidenav-menu-heading">Core</div>
......@@ -18,8 +33,4 @@
</a>
</div>
</div>
<div class="sb-sidenav-footer">
<div class="small">Logged in as:</div>
Start Bootstrap
</div>
</nav>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment