18 Commits

Author SHA1 Message Date
124e742518 Check if vlan->port exists (#13305) 2021-10-01 07:42:27 -05:00
c5b63bde86 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
2021-09-10 08:07:08 -05:00
94ee737f3d Allow device actions to appear in device list and improve docs (#13177)
* Improve Device menu links and documentation

* device list actions functionality

* phpstan :/
2021-08-27 22:48:57 -05:00
b9e6a5975f add urlencode for location link in device view (#13076) 2021-07-28 10:49:28 +02:00
9b627eceb0 Update latency.blade.php (#12684)
Fix devices latency tab calendar position
2021-03-31 02:02:40 +02:00
305f97161a Fix regressions from cfd9dce620f7205357e96cf22d65d6ad26759d69 (#12344) 2020-11-24 00:16:41 +01:00
cfd9dce620 Convert Virtual Machine pages to Laravel (#12287)
* Convert Virtual Machine pages to Laravel

* wip

* wip

* wip

* wip

* wip

* wip

* delete

* wip

* wip

* move powerStateLabel
2020-11-11 01:15:20 +01:00
1bc868e781 Fix - only get shortlabel from vlan if it has ports (#12267) 2020-10-28 17:58:17 +01:00
3bfafc857f Convert Device>vlan view to Laravel (#12163)
* Convert Device>vlan view to Laravel
2020-10-14 19:40:44 -05:00
0e99b472c2 Add Blade Submenu component (#12159) 2020-09-29 23:11:05 -05:00
98e478843f Only show smokeping link if the url is configured (#11992) 2020-08-04 14:40:48 +02:00
ff3926d28e Fix latency.blade.php to show smokeping integration (#11980) 2020-07-30 00:35:34 -05:00
6dba2555a7 Convert blade to panel component (#11957) 2020-07-23 23:13:00 -05:00
2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
0a5c3cc747 Fix Device::isUnderMaintenance() add location relation 2020-06-14 12:39:10 -05:00
051d06f5d6 Fix CSRF Token in Latency tab (#11703) 2020-05-26 11:15:03 -05:00
370c7f5662 Added link to smokeping interface + smokeping options to global settings (#11610)
Co-authored-by: Daniel Baeza <d.baeza@tvt-datos.es>
2020-05-20 08:25:27 -05:00
055abcf443 Device page dropdown hero button, Performance -> Latency (#11328)
* Throw some shit together, rough outline.

* Reorganize tabs, use tab controllers

* Implement performance (into the latency tab)

* Update resources/views/device/header.blade.php

Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Add more tabs

* All controllers created

* Implement routes

* Implement smokeping

* routing and auth

* fix smokeping check

* Implement device dropdown menu

* Update deviceUrl to new style

* Use Gates

* Fix style

* use more appropriate gates

* add show-config gate
remove Laravel helper

* Only show vlan tab if VLANs exist for the device :D

* Fix rancid file check will return false

* revert over-zealous file name changes

* don't need to request the location parameter, just cast to string to avoid bugs when not found

* Move latency tab (ping/performance) to the position of performance instead of ping.

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-04-29 07:25:13 -05:00