servnest/pg-view/ns/srv.php
2023-07-17 21:15:18 +02:00

29 lines
821 B
PHP

<?php declare(strict_types=1); ?>
<form method="post">
<?php require ROOT_PATH . '/pg-view/ns/form.ns.php'; ?>
<label for="priority"><?= _('Priority') ?></label>
<br>
<input id="priority" min="0" max="65535" value="0" placeholder="0" name="priority" type="number">
<br>
<label for="weight"><?= _('Weight') ?></label>
<br>
<input id="weight" min="0" max="65535" value="0" placeholder="0" name="weight" type="number">
<br>
<label for="port"><?= _('Port') ?></label>
<br>
<input id="port" min="0" max="65535" placeholder="32768" name="port" type="number">
<br>
<label for="target"><?= _('Target') ?></label>
<br>
<input id="target" minlenght="1" maxlength="128" placeholder="service.<?= PLACEHOLDER_DOMAIN ?>." name="target" type="text">
<br>
<input type="submit" value="<?= _('Apply') ?>">
</form>