1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

small input groups for upstream dns servers

This commit is contained in:
glaszig 2020-02-29 19:07:31 +01:00
parent 3ce99eeaa7
commit 9c3c27cb71

View File

@ -102,7 +102,7 @@
<div class="js-dhcp-upstream-servers"> <div class="js-dhcp-upstream-servers">
<?php foreach ($upstreamServers as $server): ?> <?php foreach ($upstreamServers as $server): ?>
<div class="form-group input-group js-dhcp-upstream-server"> <div class="form-group input-group input-group-sm js-dhcp-upstream-server">
<input type="text" class="form-control" name="server[]" value="<?php echo $server ?>"> <input type="text" class="form-control" name="server[]" value="<?php echo $server ?>">
<div class="input-group-append"> <div class="input-group-append">
<button class="btn btn-outline-secondary js-remove-dhcp-upstream-server" type="button"><i class="fas fa-minus"></i></button> <button class="btn btn-outline-secondary js-remove-dhcp-upstream-server" type="button"><i class="fas fa-minus"></i></button>
@ -130,7 +130,7 @@
</div> </div>
<template id="dhcp-upstream-server"> <template id="dhcp-upstream-server">
<div class="form-group input-group js-dhcp-upstream-server"> <div class="form-group input-group input-group-sm js-dhcp-upstream-server">
<input type="text" class="form-control" name="server[]" value="{{ server }}"> <input type="text" class="form-control" name="server[]" value="{{ server }}">
<div class="input-group-append"> <div class="input-group-append">
<button class="btn btn-outline-secondary js-remove-dhcp-upstream-server" type="button"><i class="fas fa-minus"></i></button> <button class="btn btn-outline-secondary js-remove-dhcp-upstream-server" type="button"><i class="fas fa-minus"></i></button>