Skip to content

Commit

Permalink
Fix split the text in second line issue in load balancer forms
Browse files Browse the repository at this point in the history
  • Loading branch information
byucesoy committed Dec 9, 2024
1 parent f4e889f commit 7a0e454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/networking/load_balancer/create.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
{name: "src_port", type: "number", label: "Load Balancer Port", required: "required", placeholder: "80", opening_tag: "<div class='col-span-6 col-start-1 md:col-end-3 xl:col-end-2'>"},
{name: "dst_port", type: "number", label: "Application Port", required: "required", placeholder: "80", opening_tag: "<div class='col-span-6 col-start-1 md:col-start-3 md:col-end-5 xl:col-start-2 xl:col-end-3'>"},
{name: "monitoring", type: "section", label: "Monitoring", content: "The health check endpoint is used in combination with the Application Port. Make sure it returns 200."},
{name: "health_check_endpoint", type: "text", label: "HTTP Health Check Endpoint", placeholder: "/up", opening_tag: "<div class='col-span-6 col-start-1 md:col-end-3 xl:col-end-2'>"},
{name: "health_check_protocol", type: "select", label: "Health Check Protocol", required: "required", content_generator: ContentGenerator::LoadBalancer.method(:select_option), opening_tag: "<div class='col-span-6 col-start-1 md:col-start-3 md:col-end-5 xl:col-start-2 xl:col-end-3'>"}
{name: "health_check_endpoint", type: "text", label: "HTTP Health Check Endpoint", placeholder: "/up", opening_tag: "<div class='col-span-6 col-start-1 md:col-end-3'>"},
{name: "health_check_protocol", type: "select", label: "Health Check Protocol", required: "required", content_generator: ContentGenerator::LoadBalancer.method(:select_option), opening_tag: "<div class='col-span-6 col-start-1 md:col-start-3 md:col-end-5'>"}
]

action = "#{@project_data[:path]}/load-balancer"
Expand Down

0 comments on commit 7a0e454

Please sign in to comment.