librenms-librenms/includes/html/print-service-add.inc.php
ilGino aaf8e37c09 [WebUI] 1/2 Services - Removing the colon symbol to the right of a control label (#13704)
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
2022-01-24 22:20:05 +01:00

81 lines
2.8 KiB
PHP

<?php
echo "
<form id='addsrv' name='addsrv' method='post' action='' class='form-horizontal' role='form'>
" . csrf_field() . "
<div><h2>Add Service</h2></div>
<div class='alert alert-info'>Service will created for the specified Device.</div>
<div class='well well-lg'>
<div class='form-group'>
<label for='name' class='col-sm-2 control-label'>Name</label>
<div class='col-sm-5'>
<input name='name' id='name' class='form-control input-sm'>
</div>
<div class='col-sm-5'>
</div>
</div>
<div class='form-group'>
<input type='hidden' name='addsrv' value='yes'>
<label for='device' class='col-sm-2 control-label'>Device</label>
<div class='col-sm-5'>
<select name='device' class='form-control input-sm'>
$devicesform
</select>
</div>
<div class='col-sm-5'>
</div>
</div>
<div class='form-group'>
<label for='type' class='col-sm-2 control-label'>Check Type</label>
<div class='col-sm-5'>
<select name='type' id='type' class='form-control input-sm'>
$servicesform
</select>
</div>
<div class='col-sm-5'>
</div>
</div>
<div class='form-group'>
<label for='descr' class='col-sm-2 control-label'>Description</label>
<div class='col-sm-5'>
<textarea name='descr' id='descr' class='form-control input-sm' rows='5'></textarea>
</div>
<div class='col-sm-5'>
</div>
</div>
<div class='form-group'>
<label for='ip' class='col-sm-2 control-label'>Remote Host</label>
<div class='col-sm-5'>
<input name='ip' id='ip' class='form-control input-sm' placeholder='IP Address or Hostname'>
</div>
<div class='col-sm-5'>
</div>
</div>
<div class='form-group'>
<label for='params' class='col-sm-2 control-label'>Parameters</label>
<div class='col-sm-5'>
<input name='params' id='params' class='form-control input-sm'>
</div>
</div>
<div class='form-group'>
<div class='col-sm-12 alert alert-info'>
<label class='control-label text-left input-sm'>Parameters may be required and will be different depending on the service check.</label>
</div>
</div>
<div class='form-group'>
<label for='ignore' class='col-sm-2 control-label'>Ignore Alert Tag</label>
<div class='col-sm-5'>
<input name='ignore' id='ignore' type='checkbox'>
</div>
</div>
<div class='form-group'>
<label for='disabled' class='col-sm-2 control-label'>Disable Polling and Alerting </label>
<div class='col-sm-5'>
<input name='disabled' id='disabled' type='checkbox'>
</div>
</div>
<hr>
<center><button type='submit' name='Submit' class='btn btn-default input-sm'>Add Service</button></center>
</div>
</form>";