Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1299667
_dnssec_form.html.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 19, 12:09 AM
Size
1 KB
Mime Type
text/plain
Expires
Fri, Nov 21, 12:09 AM (16 h, 3 m)
Engine
blob
Format
Raw Data
Handle
293452
Attached To
rWEBDNS WebDNS (edet4)
_dnssec_form.html.erb
View Options
<%=
bootstrap_form_for
(
@domain
,
layout
:
:horizontal
,
label_col
:
'col-sm-2'
,
control_col
:
'col-sm-6'
)
do
|
f
|
%>
<%=
f
.
hidden_field
:group_id
%>
<%=
f
.
static_control
:name
%>
<%=
f
.
select
:dnssec
,
[[
'Enable'
,
true
]
,
[
'Disable'
,
false
]]
%>
<%
dnssec_was_or_is
=
@domain
.
dnssec_changed?
?
@domain
.
dnssec_was
:
@domain
.
dnssec
%>
<%
if
dnssec_was_or_is
%>
<%=
f
.
static_control
label
:
'Dnssec policy'
do
%>
<%=
@domain
.
dnssec_policy
.
try
(
:name
)
%>
<%
end
%>
<%=
f
.
static_control
:dnssec_parent_authority
,
label
:
'Parent Authority'
%>
<%=
f
.
static_control
:dnssec_parent
,
label
:
'Parent zone'
%>
<%
else
%>
<fieldset id="dnssec_fieldset"
<%=
'disabled'
if
!
@domain
.
dnssec?
%>
>
<%=
f
.
collection_radio_buttons
:dnssec_policy_id
,
DnssecPolicy
.
all
,
:id
,
->
(
policy
)
{
dnssec_policy_human
(
policy
)
},
help
:
'You will not be able to change policy once dnssec is enabled.'
%>
<%=
f
.
select
:dnssec_parent_authority
,
Domain
.
dnssec_parent_authorities
,
include_blank
:
true
,
label
:
'Parent authority'
,
help
:
'WebDNS will manage DS records automatically, handling initial setup and key rollovers.'
%>
<%=
f
.
text_field
:dnssec_parent
,
value
:
guess_parent_zone
(
@domain
.
name
),
label
:
'Parent zone'
,
help
:
'The parent zone to publish the DS records.'
%>
</fieldset>
<%
end
%>
<%=
f
.
submit
'Save'
,
class
:
'btn btn-primary col-sm-offset-2'
%>
<%
end
%>
Event Timeline
Log In to Comment