SPF dedicated interface: a few words on mechanisms and modifiers.

beta
Philippe Pittoli 2024-11-11 07:31:56 +01:00
parent eff7261b1d
commit 29c1c7f085
1 changed files with 4 additions and 2 deletions

View File

@ -517,7 +517,8 @@ render state
-- Just v -> Bulma.box_input "vSPF" "Version" "spf1" (updateForm Field_SPF_v) v -- Just v -> Bulma.box_input "vSPF" "Version" "spf1" (updateForm Field_SPF_v) v
, Bulma.hr , Bulma.hr
, Bulma.box_with_tag C.has_background_info_light tag_mechanisms , 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 servers IP address."] ]
, maybe (Bulma.p "You don't have any mechanism.") display_mechanisms state._currentRR.mechanisms
, Bulma.hr , Bulma.hr
, Bulma.h4 "New mechanism" , Bulma.h4 "New mechanism"
, Bulma.selection_field "idMechanismQ" "Policy" SPF_Mechanism_q qualifier_types state.spf_mechanism_q , Bulma.selection_field "idMechanismQ" "Policy" SPF_Mechanism_q qualifier_types state.spf_mechanism_q
@ -529,7 +530,8 @@ render state
] ]
, Bulma.hr , Bulma.hr
, Bulma.box_with_tag C.has_background_success_light tag_modifiers , 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.hr
, Bulma.h4 "New modifier" , Bulma.h4 "New modifier"
, Bulma.selection_field "idModifierT" "Modifier" SPF_Modifier_t modifier_types state.spf_modifier_t , Bulma.selection_field "idModifierT" "Modifier" SPF_Modifier_t modifier_types state.spf_modifier_t