class

Cl8r::Server::Assets

Inherits Reference < Object

Embedded HTML, CSS, and interactive JavaScript assets for the Web Inspector. Provides real-time instant search, hardware inventory, IPAM capacity progress bars, interactive visual rack elevations, switch patch panel schedules, and subsystem scaffolding tabs.

Constants

EMBEDDED_CSS = {{ read_file("/tmp/tmp.mocIjE/src/src/cl8r/server/../../../resources/web/cockpit.css") }}
EMBEDDED_JS = {{ read_file("/tmp/tmp.mocIjE/src/src/cl8r/server/../../../resources/web/cockpit.js") }}
EMBEDDED_PRINT_CSS = {{ read_file("/tmp/tmp.mocIjE/src/src/cl8r/server/../../../resources/web/printer.css") }}

Class methods

build_client_cluster_json(cluster : Model::ResolvedCluster, indent : String | Nil = nil) : String
Source
dashboard(cluster : Model::ResolvedCluster, readme_rst : String | Nil = nil) : String
Source
diagrams_view(cluster : Model::ResolvedCluster, topology_d2 : String, wiring_d2 : String, racks_d2 : String, topology_svg : String | Nil, wiring_svg : String | Nil, racks_svg : String | Nil) : String
Source
docs_view(cluster : Model::ResolvedCluster, rst_result : Generators::GenerationResult) : String
Source
ipam_view(cluster : Model::ResolvedCluster) : String
Source
layout(title : String, content : String, active_tab : String = "dashboard", cluster : Model::ResolvedCluster | Nil = nil) : String
Source
logical_view(cluster : Model::ResolvedCluster) : String
Source
nodes_view(cluster : Model::ResolvedCluster) : String
Source
racks_view(cluster : Model::ResolvedCluster) : String
Source
readme_view(cluster : Model::ResolvedCluster, readme_rst : String | Nil = nil) : String
Source
security_view(cluster : Model::ResolvedCluster) : String
Source
subsystems_view(cluster : Model::ResolvedCluster) : String
Source
wiring_view(cluster : Model::ResolvedCluster) : String
Source