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

change optics

parent 2dc7b6ec
accept_tou=Ich habe die Nutzungsbedingungen gelesen und bin einverstanden.
set_ssh_pub_key=SSH Key setzen
add_ssh_pub_key=SSH Key hochladen
ssh_key_type=Schl\u00FCssel Typ
ssh_pub_key_command=SSH Key f\u00FCr benannte Kommandos
ssh_pub_key_interactiv=SSH Key f\u00FCr eine interaktive Shell
set_ssh_pub_key_for=SSH Key freischalten\:
......
aa_entities=Attribute authorities
set_ssh_pub_key=Set SSH Key
add_ssh_pub_key=Add SSH Key
ssh_key_type=Key type
accept_tou=I have read and accepted the terms of use.
access_check=Check access
ssh_pub_key_command=SSH Key for named commands
......
......@@ -346,4 +346,9 @@ div.serviceBlockLink {
.ui-panel, .ui-panelgrid {
margin-bottom: 16px;
}
.ui-panel.grayback .ui-panel-titlebar {
color: #000000;
background: #dddddd;
}
\ No newline at end of file
......@@ -24,10 +24,38 @@
<ui:define name="content">
<h:form id="form">
<p:panel id="panel" header="#{messages.my_ssh_keys}">
<div><p:messages showDetail="true" /></div>
<p:dataGrid var="key" value="#{userSshKeyManagementBean.keyList.toArray()}" columns="1"
layout="grid" style="margin-bottom: 16px;">
<f:facet name="header">#{messages.my_ssh_keys}</f:facet>
<p:panel styleClass="grayback" style="margin-bottom: 0px;">
<f:facet name="header">
<i class="fa fa-fw fa-key"></i>
<b><h:outputText value="#{key.pubKeyEntity.name}"/></b>
</f:facet>
<h:panelGrid columns="2">
<p:outputLabel for="@next" value="#{messages.ssh_key_type}:"/>
<h:outputText value="#{key.pubKeyEntity.keyType}"/>
<p:outputLabel for="@next" value="#{messages.fingerprint} (SHA256):"/>
<h:panelGroup>
<h:outputText value="#{key.fingerprint}" rendered="#{not empty key.publicKey}"/>
<h:outputText value="#{messages.unknown}" rendered="#{empty key.publicKey}"/>
</h:panelGroup>
</h:panelGrid>
<p:commandLink id="delete" action="#{userSshKeyManagementBean.deleteKey(key.pubKeyEntity.name)}" immediate="true" update="@form">
<h:panelGroup styleClass="ui-icon ui-icon-trash" />
<p:confirm header="#{messages.confirm_header}" message="#{messages.confirm}" />
</p:commandLink>
</p:panel>
</p:dataGrid>
<!--
<p:dataTable var="key" value="#{userSshKeyManagementBean.keyList.toArray()}">
<p:column>
<f:facet name="header"><h:outputText value="#{messages.ssh_key_name}:"/></f:facet>
......@@ -62,7 +90,8 @@
</p:commandLink>
</p:column>
</p:dataTable>
-->
<p:panel id="panel" header="#{messages.add_ssh_pub_key}">
<p:panelGrid id="baseData" columns="2">
<bw:inputText id="sshKeyName" label="#{messages.ssh_key_name}:"
value="#{userSshKeyManagementBean.newName}" required="true"/>
......
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