Skip to content

Commit

Permalink
[WebUI] 2/2 Services - Removing the colon symbol to the right of a co…
Browse files Browse the repository at this point in the history
…ntrol label (librenms#13705)

In order to make the Services Add or Edit pages while adding a Service more visually consistent with other pages in the system, removed the colon simbol ":" to the very right of each control description, where present.

Regards
GG
  • Loading branch information
ilGino authored Jan 24, 2022
1 parent aaf8e37 commit 20495d6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions includes/html/modal/new_service.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
</div>
</div>
<div class="form-group row">
<label for='name' class='col-sm-3 control-label'>Name: </label>
<label for='name' class='col-sm-3 control-label'>Name </label>
<div class="col-sm-9">
<input type='text' id='name' name='name' class='form-control input-sm' placeholder=''/>
</div>
<div class='col-sm-9'>
</div>
</div>
<div class="form-group row">
<label for='stype' class='col-sm-3 control-label'>Check Type: </label>
<label for='stype' class='col-sm-3 control-label'>Check Type </label>
<div class="col-sm-9">
<select id='stype' name='stype' placeholder='type' class='form-control has-feedback'>
<?php echo $stype?>
Expand All @@ -65,23 +65,23 @@
</div>
</div>
<div class='form-group row'>
<label for='desc' class='col-sm-3 control-label'>Description: </label>
<label for='desc' class='col-sm-3 control-label'>Description </label>
<div class='col-sm-9'>
<textarea id='desc' name='desc' class='form-control' rows='5'></textarea>
</div>
<div class='col-sm-9'>
</div>
</div>
<div class="form-group row">
<label for='ip' class='col-sm-3 control-label'>Remote Host: </label>
<label for='ip' class='col-sm-3 control-label'>Remote Host </label>
<div class="col-sm-9">
<input type='text' id='ip' name='ip' class='form-control has-feedback' placeholder='IP Address or Hostname'/>
</div>
<div class='col-sm-9'>
</div>
</div>
<div class="form-group row">
<label for='param' class='col-sm-3 control-label'>Parameters: </label>
<label for='param' class='col-sm-3 control-label'>Parameters </label>
<div class="col-sm-9">
<input type='text' id='param' name='param' class='form-control has-feedback' placeholder=''/>
</div>
Expand All @@ -94,14 +94,14 @@
</div>
</div>
<div class="form-group row">
<label for='ignore' class='col-sm-3 control-label'>Ignore alert tag: </label>
<label for='ignore' class='col-sm-3 control-label'>Ignore alert tag </label>
<div class="col-sm-9">
<input type="hidden" name="ignore" id='ignore' value="0">
<input type='checkbox' id='ignore_box' name='ignore_box' onclick="$('#ignore').attr('value', $('#ignore_box').prop('checked')?1:0);">
</div>
</div>
<div class="form-group row">
<label for='disabled' class='col-sm-3 control-label'>Disable polling and alerting: </label>
<label for='disabled' class='col-sm-3 control-label'>Disable polling and alerting </label>
<div class="col-sm-9">
<input type='hidden' id='disabled' name='disabled' value="0">
<input type='checkbox' id='disabled_box' name='disabled_box' onclick="$('#disabled').attr('value', $('#disabled_box').prop('checked')?1:0);">
Expand Down

0 comments on commit 20495d6

Please sign in to comment.