mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
New Blade Components: x-device-link, x-port-link, x-graph-row, x-popup (#13197)
* working popover * popup component * cleanup * finalize device-link component * attributes WIP * working graph component * widgets WIP * More dynamic configs * Graph row component * Build CSS so we can use a dark theme * graph row set columns * only one popup visible at a time. * Just set graph row width statically * responsive WIP * rsponsive option for graph-row "working" * remove @deviceLink and @portLink * fix non-responsive graph row * update js/css * fix style * bad type? * types * types * types #3 * remove testing code * full rebel, no closing tags for meta and link * match previous formatting * fix vlans display * restore newline * remove silly comment * remove unused line * style I guess
This commit is contained in:
@@ -203,13 +203,10 @@ class DeviceController extends TableController
|
||||
*/
|
||||
private function getHostname($device)
|
||||
{
|
||||
$hostname = Url::deviceLink($device);
|
||||
|
||||
if ($this->isDetailed()) {
|
||||
$hostname .= '<br />' . $device->name();
|
||||
}
|
||||
|
||||
return $hostname;
|
||||
return (string) view('device.list.hostname', [
|
||||
'device' => $device,
|
||||
'detailed' => $this->isDetailed(),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user