From 29c1c7f08518e1a772f0df7b4cdf840fc4f03bf7 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Mon, 11 Nov 2024 07:31:56 +0100 Subject: [PATCH] SPF dedicated interface: a few words on mechanisms and modifiers. --- src/App/Page/Zone.purs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App/Page/Zone.purs b/src/App/Page/Zone.purs index 8ba54a0..8baa9fa 100644 --- a/src/App/Page/Zone.purs +++ b/src/App/Page/Zone.purs @@ -517,7 +517,8 @@ render state -- Just v -> Bulma.box_input "vSPF" "Version" "spf1" (updateForm Field_SPF_v) v , Bulma.hr , Bulma.box_with_tag C.has_background_info_light tag_mechanisms - [ maybe (Bulma.p "You don't have any mechanism.") display_mechanisms state._currentRR.mechanisms + [ Bulma.div_content [] [Bulma.explanation [Bulma.p "Mechanisms specify which mail servers are allowed to send mail for the domain and how to evaluate the sending mail server’s IP address."] ] + , maybe (Bulma.p "You don't have any mechanism.") display_mechanisms state._currentRR.mechanisms , Bulma.hr , Bulma.h4 "New mechanism" , Bulma.selection_field "idMechanismQ" "Policy" SPF_Mechanism_q qualifier_types state.spf_mechanism_q @@ -529,7 +530,8 @@ render state ] , Bulma.hr , Bulma.box_with_tag C.has_background_success_light tag_modifiers - [ maybe (Bulma.p "You don't have any modifier.") display_modifiers state._currentRR.modifiers + [ Bulma.div_content [] [Bulma.explanation [Bulma.p "Modifiers provide additional instructions, such as explanations for SPF failures or redirecting SPF checks to another domain."] ] + , maybe (Bulma.p "You don't have any modifier.") display_modifiers state._currentRR.modifiers , Bulma.hr , Bulma.h4 "New modifier" , Bulma.selection_field "idModifierT" "Modifier" SPF_Modifier_t modifier_types state.spf_modifier_t