Skip to content

Commit

Permalink
fix input fields spacing issues
Browse files Browse the repository at this point in the history
Signed-off-by: Th3M3 <[email protected]>
  • Loading branch information
Th3M3 committed Apr 6, 2020
1 parent 3dc9290 commit ff5e4ee
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions custom_dns.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group col-md-6">
<label for="domain">Domain:</label>
<input id="domain" type="text" class="form-control" placeholder="Add a domain (example.com or sub.example.com)">
</div>
<div class="col-md-6">
<div class="form-group col-md-6">
<label for="ip">IP Address:</label>
<input id="ip" type="text" class="form-control" placeholder="Associated IP address">
</div>
Expand Down
8 changes: 4 additions & 4 deletions groups-adlists.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<label for="ex1">Address:</label>
<div class="form-group col-md-6">
<label for="new_address">Address:</label>
<input id="new_address" type="text" class="form-control" placeholder="http://..., https://..., file://...">
</div>
<div class="col-md-6">
<label for="ex2">Comment:</label>
<div class="form-group col-md-6">
<label for="new_comment">Comment:</label>
<input id="new_comment" type="text" class="form-control" placeholder="Adlist description (optional)">
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions groups-clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<label for="ex1">Known clients:</label>
<div class="form-group col-md-6">
<label for="select">Known clients:</label>
<select id="select" class="form-control" placeholder="">
<option disabled selected>Loading...</option>
</select><br>
<input id="ip-custom" type="text" class="form-control" disabled placeholder="Client IP address (IPv4 or IPv6, CIDR subnetting available, optional)">
</div>
<div class="col-md-6">
<label for="ex3">Comment:</label>
<div class="form-group col-md-6">
<label for="new_comment">Comment:</label>
<input id="new_comment" type="text" class="form-control" placeholder="Client description (optional)">
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-6">
<label for="ex1">Name:</label>
<div class="form-group col-md-6">
<label for="new_name">Name:</label>
<input id="new_name" type="text" class="form-control" placeholder="Group name">
</div>
<div class="col-md-6">
<label for="ex2">Description:</label>
<div class="form-group col-md-6">
<label for="new_desc">Description:</label>
<input id="new_desc" type="text" class="form-control" placeholder="Group description (optional)">
</div>
</div>
Expand Down
10 changes: 6 additions & 4 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,8 @@ function convertseconds($argument)
<input type="text" name="custom1val" class="form-control"
<?php if (isset($custom1)){ ?>value="<?php echo $custom1; ?>"<?php } ?>>
</div>
</div>
<div class="form-group">
<label>Custom 2 (IPv4)</label>
<div class="input-group">
<div class="input-group-addon">
Expand All @@ -716,6 +718,8 @@ function convertseconds($argument)
<input type="text" name="custom3val" class="form-control"
<?php if (isset($custom3)){ ?>value="<?php echo $custom3; ?>"<?php } ?>>
</div>
</div>
<div class="form-group">
<label>Custom 4 (IPv6)</label>
<div class="input-group">
<div class="input-group-addon">
Expand Down Expand Up @@ -975,10 +979,8 @@ function convertseconds($argument)
</div>
<h4>Administrator Email Address</h4>
<div class="form-group">
<div class="input-group">
<input type="text" class="form-control" name="adminemail"
value="<?php echo htmlspecialchars($adminemail); ?>">
</div>
<input type="text" class="form-control" name="adminemail"
value="<?php echo htmlspecialchars($adminemail); ?>">
</div>
<input type="hidden" name="field" value="webUI">
<input type="hidden" name="token" value="<?php echo $token ?>">
Expand Down

0 comments on commit ff5e4ee

Please sign in to comment.