mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Display success/error messages across the width of the page
screenshot: http://i.imgur.com/xcuHrMF.png
This commit is contained in:
@@ -70,8 +70,6 @@ if ($_POST['editing']) {
|
|||||||
$device = dbFetchRow('SELECT * FROM `devices` WHERE `device_id` = ?', array($device['device_id']));
|
$device = dbFetchRow('SELECT * FROM `devices` WHERE `device_id` = ?', array($device['device_id']));
|
||||||
$descr = $device['purpose'];
|
$descr = $device['purpose'];
|
||||||
|
|
||||||
echo '<div class="row">
|
|
||||||
<div class="col-sm-6">';
|
|
||||||
if ($updated && $update_message) {
|
if ($updated && $update_message) {
|
||||||
print_message($update_message);
|
print_message($update_message);
|
||||||
}
|
}
|
||||||
@@ -79,9 +77,6 @@ else if ($update_message) {
|
|||||||
print_error($update_message);
|
print_error($update_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo ' </div>
|
|
||||||
</div>';
|
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
<form id='edit' name='edit' method='post' action='' role='form' class='form-horizontal'>
|
<form id='edit' name='edit' method='post' action='' role='form' class='form-horizontal'>
|
||||||
<input type=hidden name='editing' value='yes'>
|
<input type=hidden name='editing' value='yes'>
|
||||||
|
|||||||
Reference in New Issue
Block a user