From 132799d9f328cb8e8ec6a88e08069fc1a9d16f73 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Mon, 18 Mar 2024 02:36:27 +0100 Subject: [PATCH] Zone: re-order SRV table columns. --- src/App/Page/Zone.purs | 6 +++--- src/Bulma.purs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/Page/Zone.purs b/src/App/Page/Zone.purs index 40360eb..8c09358 100644 --- a/src/App/Page/Zone.purs +++ b/src/App/Page/Zone.purs @@ -889,12 +889,12 @@ render_resources records ] "SRV" -> [ HH.td_ [ Bulma.p rr.name ] + , HH.td_ [ Bulma.p $ maybe "" id rr.protocol ] + , HH.td_ [ Bulma.p rr.target ] + , HH.td_ [ Bulma.p $ maybe "" show rr.port ] , HH.td_ [ Bulma.p $ show rr.ttl ] , HH.td_ [ Bulma.p $ maybe "" show rr.priority ] - , HH.td_ [ Bulma.p $ maybe "" id rr.protocol ] , HH.td_ [ Bulma.p $ maybe "" show rr.weight ] - , HH.td_ [ Bulma.p $ maybe "" show rr.port ] - , HH.td_ [ Bulma.p rr.target ] , if rr.readonly then HH.td_ [ Bulma.btn_readonly ] else HH.td_ [ Bulma.btn_modify (CreateUpdateRRModal rr.rrid), Bulma.btn_delete (DeleteRRModal rr.rrid) ] diff --git a/src/Bulma.purs b/src/Bulma.purs index ab3505c..5ec7123 100644 --- a/src/Bulma.purs +++ b/src/Bulma.purs @@ -112,12 +112,12 @@ mx_table_header srv_table_header :: forall w i. HH.HTML w i srv_table_header = HH.thead_ [ HH.tr_ [ HH.th_ [ HH.text "Name" ] + , HH.th_ [ HH.text "Protocol" ] + , HH.th_ [ HH.text "Target" ] + , HH.th_ [ HH.text "Port" ] , HH.th_ [ HH.text "TTL" ] , HH.th_ [ HH.text "Priority" ] - , HH.th_ [ HH.text "Protocol" ] , HH.th_ [ HH.text "Weight" ] - , HH.th_ [ HH.text "Port" ] - , HH.th_ [ HH.text "Target" ] , HH.th_ [ HH.text "" ] ] ]