mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-04 13:52:06 +08:00
Currently, this uses 3 tabs, overview, networking, and settings. This change exposed that the firewall rule display and restart action were undertested, so this adds appropriate tests.
13 lines
396 B
Text
13 lines
396 B
Text
<% @page_title = @vm.name %>
|
|
|
|
<%== part("object/show",
|
|
object: @vm,
|
|
tabs: [
|
|
["Overview", "overview", "hero-squares-plus"],
|
|
["Networking", "networking", "hero-globe-alt"],
|
|
["Settings", "settings", "hero-cog-8-tooth"]
|
|
],
|
|
type: "vm",
|
|
breadcrumb_label: "Virtual Machines",
|
|
right_header: part("components/vm_state_label", state: @vm.display_state, extra_class: "text-md")
|
|
) %>
|