mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -19,18 +19,19 @@ $data = dbFetchRow("SELECT `notes` FROM `devices` WHERE device_id = ?", array(
|
|||||||
<h3>Device Notes</h3>
|
<h3>Device Notes</h3>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-12">
|
||||||
<textarea class="form-control" rows="6" name="notes" id="device-notes"><?php
|
<textarea class="form-control" rows="6" name="notes" id="device-notes">
|
||||||
echo htmlentities($data['notes']); ?></textarea>
|
<?php echo htmlentities($data['notes']); ?>
|
||||||
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="row">
|
||||||
<div class="col-sm-10">
|
<div class="col-md-1 col-md-offset-5">
|
||||||
<?php
|
<?php
|
||||||
echo '
|
echo '
|
||||||
<button type="submit" name="btn-update-notes" id="btn-update-notes" class="btn btn-primary" data-device_id="' . $device['device_id'] . '">Submit</button>
|
<button type="submit" name="btn-update-notes" id="btn-update-notes" class="btn btn-default" data-device_id="' . $device['device_id'] . '"><i class="fa fa-check"></i> Save</button>
|
||||||
';
|
';
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user