Commit b88b96f9 authored by michael.simon's avatar michael.simon
Browse files

Add option for SSH Pub Key option to service

parent cdf14ae6
......@@ -406,6 +406,7 @@ ssh_key_name=SSH Key Name
ssh_key_type=Schl\u00FCssel Typ
ssh_key_type_unknown=Unbekannter SSH Key Typ
ssh_pub_key_active=Aktiv
ssh_pub_key_capable=SSH Pub Key m\u00F6glich
ssh_pub_key_comment=Kommentar (sichtbar f\u00FCr Administratoren)
ssh_pub_key_denied=Abgelehnt
ssh_pub_key_from=Von (Netzwerkadresse)
......
......@@ -406,6 +406,7 @@ ssh_key_name=SSH Key Name
ssh_key_type=Key type
ssh_key_type_unknown=Unbekannter SSH Key Typ
ssh_pub_key_active=Active
ssh_pub_key_capable=SSH Pub Key capable
ssh_pub_key_comment=Comment (visible for administrators)
ssh_pub_key_denied=Abgelehnt
ssh_pub_key_from=From (network address)
......
......@@ -113,7 +113,7 @@
<f:selectItems value="#{editServiceBean.rulePackageList}"
var="rp" itemLabel="#{rp.knowledgeBaseName} (#{rp.packageName})" itemValue="#{rp}"/>
</h:selectOneMenu>
<h:outputText value="#{messages.image}:"/>
<h:selectOneMenu value="#{editServiceBean.selectedImage}"
converter="#{imageConverter}">
......@@ -122,6 +122,11 @@
var="img" itemLabel="#{img.name} (id #{img.id})" itemValue="#{img}"/>
</h:selectOneMenu>
<h:outputText value="#{messages.ssh_pub_key_capable}" />
<p:selectBooleanButton id="sshPubKeyField"
onLabel="#{messages.yes}" offLabel="#{messages.no}"
value="#{editServiceBean.entity.sshPubKeyCapable}"/>
<h:outputText value="#{messages.published}" />
<p:selectBooleanButton id="pubField"
onLabel="#{messages.yes}" offLabel="#{messages.no}"
......
......@@ -99,6 +99,9 @@
<h:outputText value="#{messages.published}:" />
<h:outputText value="#{showServiceBean.entity.published ? messages.yes : messages.no}" />
<h:outputText value="#{messages.ssh_pub_key_capable}:" />
<h:outputText value="#{showServiceBean.entity.sshPubKeyCapable ? messages.yes : messages.no}" />
<h:outputText value="#{messages.image}:" />
<h:panelGroup rendered="#{showServiceBean.entity.image != null}">
<p:graphicImage style="vertical-align:middle"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment