34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<p>
|
|
<?= linkToDocs('glue-record', 'Documentation sur le glue record'); ?>
|
|
</p>
|
|
|
|
<form method="post">
|
|
<label for="action">Action</label>
|
|
<select name="action" id="action">
|
|
<option value="add">Ajouter</option>
|
|
<option value="delete">Retirer</option>
|
|
</select>
|
|
<fieldset>
|
|
<legend>Domaine</legend>
|
|
<div class="elForm">
|
|
<label for="subdomain">Sous-domaine</label>
|
|
<br>
|
|
<input required="" id="subdomain" placeholder="ns1" name="subdomain" type="text">
|
|
</div>
|
|
<div class="elForm">
|
|
<label for="suffix">Domaine</label>
|
|
<br>
|
|
<select required="" name="suffix" id="suffix">
|
|
<option value="" disabled="" selected="">---</option>
|
|
<?php
|
|
foreach(regListUserDomains() as $suffix)
|
|
echo ' <option value="' . $suffix . '">' . $suffix . '</option>' . LF;
|
|
?>
|
|
</select>
|
|
</div>
|
|
</fieldset>
|
|
<label for="ip">IP</label><br>
|
|
<input required="" pattern="^[a-f0-9:.]+$" id="ip" name="ip" minlength="2" maxlength="39" size="40" type="text" placeholder="<?= PLACEHOLDER_IPV4 ?> ou <?= PLACEHOLDER_IPV6 ?>">
|
|
<br>
|
|
<input type="submit" value="Appliquer">
|
|
</form>
|