Commit 0da7ea01 authored by michael.simon's avatar michael.simon
Browse files

add graphics for backup tan list

parent 808fff55
...@@ -72,6 +72,14 @@ ...@@ -72,6 +72,14 @@
</h:link> </h:link>
</h:panelGroup> </h:panelGroup>
</div> </div>
<div class="serviceBlockLink">
<h:panelGroup rendered="#{authorizationBean.isSshPubKeyCapable(registry.service)}">
<span class="ui-icon ui-icon-locked" style="display:inline-block; vertical-align: bottom;" />
<h:link outcome="/service/set-sshkey.xhtml" value="#{messages.set_ssh_pub_key}">
<f:param name="registryId" value="#{registry.id}" />
</h:link>
</h:panelGroup>
</div>
</div> </div>
</ui:repeat> </ui:repeat>
</div> </div>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
width="60"
height="116"
viewBox="0 0 59.999999 116"
xml:space="preserve"
sodipodi:docname="tanlist.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata59"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs57" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1266"
inkscape:window-height="700"
id="namedview55"
showgrid="false"
inkscape:zoom="2.0210151"
inkscape:cx="35.226787"
inkscape:cy="120.69228"
inkscape:window-x="174"
inkscape:window-y="78"
inkscape:window-maximized="0"
inkscape:current-layer="Capa_1" />
<g
id="g22"
transform="matrix(0.15883741,0,0,0.15883741,-6.9783568,21.026976)"
style="stroke-width:6.29574585">
<g
id="g20"
style="stroke-width:6.29574585">
<path
d="m 398.33,18.319 c 0.011,-1.331 -0.203,-2.506 -0.503,-3.613 C 398.411,8.191 394.583,1.31 386.234,1.529 280.907,4.291 175.605,0.168 70.272,0 61.505,-0.015 57.671,7.686 58.752,14.439 c -0.353,1.176 -0.591,2.44 -0.577,3.875 1.592,125.685 5.909,306.276 6.048,431.981 0,2.823 0.799,5.113 2.074,6.927 0.774,5.326 4.608,10.034 11.527,9.866 62.972,-1.569 148.536,-4.312 212.938,-5.946 0.808,0.081 1.671,0.051 2.569,-0.071 1.224,-0.03 2.493,-0.061 3.707,-0.092 2.488,-0.061 4.52,-0.802 6.2,-1.898 52.999,-4.642 103.443,-31.829 105.668,-92.744 0.091,-2.605 -0.508,-4.758 -1.549,-6.49 0.23,-95.619 -9.977,-245.876 -9.027,-341.528 z m -65.41,324.343 c -7.414,0.041 -14.574,5.83 -11.263,14.716 6.662,17.885 9.709,40.096 -0.533,57.198 -12.391,20.683 -34.495,20.119 -55.513,22.77 -12.853,1.62 -26.517,0.762 -39.476,1.133 -10.083,0.284 -137.763,3.397 -137.763,3.895 -0.297,-121.008 -4.301,-296.901 -5.918,-417.882 97.248,0.422 194.466,3.761 291.709,1.681 -0.33,88.93 8.363,232.536 8.958,321.436 -15.087,-4.753 -30.676,-6.77 -46.778,-5.692 -1.255,0.085 -2.372,0.374 -3.423,0.745 z m 9.501,82.69 c 9.765,-16.635 12.207,-37.063 7.13,-59.193 11.76,0.457 23.354,2.727 34.342,7.383 0.046,0.143 0.076,0.29 0.127,0.422 -3.564,26.226 -20.159,42.319 -41.599,51.388 z"
id="path2"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 143.121,159.906 c -18.568,0 -18.568,29.072 0,29.072 18.57,0 18.57,-29.072 0,-29.072 z"
id="path4"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="M 318.773,159.906 H 197.829 c -18.568,0 -18.568,29.072 0,29.072 h 120.939 c 18.575,0.004 18.575,-29.072 0.005,-29.072 z"
id="path6"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 143.121,95.943 c -18.568,0 -18.568,29.072 0,29.072 18.57,0 18.57,-29.072 0,-29.072 z"
id="path8"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="M 318.773,95.943 H 197.829 c -18.568,0 -18.568,29.072 0,29.072 h 120.939 c 18.575,0.005 18.575,-29.072 0.005,-29.072 z"
id="path10"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 140.242,247.125 c 18.567,0 18.567,-29.068 0,-29.068 -18.571,0 -18.571,29.068 0,29.068 z"
id="path12"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 318.773,218.057 h -128.14 c -18.57,0 -18.57,29.068 0,29.068 h 128.14 c 18.57,0 18.57,-29.068 0,-29.068 z"
id="path14"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 143.121,286.383 c -18.568,0 -18.568,29.071 0,29.071 18.57,0 18.57,-29.071 0,-29.071 z"
id="path16"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
<path
d="m 317.331,286.383 c -33.128,-0.005 -95.031,-0.106 -128.14,-1.457 -18.573,-0.752 -18.499,28.325 0,29.071 33.104,1.346 95.012,1.452 128.14,1.457 18.57,0 18.57,-29.071 0,-29.071 z"
id="path18"
inkscape:connector-curvature="0"
style="stroke-width:6.29574585" />
</g>
</g>
<g
id="g24"
transform="translate(0,-351.09201)">
</g>
<g
id="g26"
transform="translate(0,-351.09201)">
</g>
<g
id="g28"
transform="translate(0,-351.09201)">
</g>
<g
id="g30"
transform="translate(0,-351.09201)">
</g>
<g
id="g32"
transform="translate(0,-351.09201)">
</g>
<g
id="g34"
transform="translate(0,-351.09201)">
</g>
<g
id="g36"
transform="translate(0,-351.09201)">
</g>
<g
id="g38"
transform="translate(0,-351.09201)">
</g>
<g
id="g40"
transform="translate(0,-351.09201)">
</g>
<g
id="g42"
transform="translate(0,-351.09201)">
</g>
<g
id="g44"
transform="translate(0,-351.09201)">
</g>
<g
id="g46"
transform="translate(0,-351.09201)">
</g>
<g
id="g48"
transform="translate(0,-351.09201)">
</g>
<g
id="g50"
transform="translate(0,-351.09201)">
</g>
<g
id="g52"
transform="translate(0,-351.09201)">
</g>
</svg>
\ No newline at end of file
...@@ -47,11 +47,15 @@ ...@@ -47,11 +47,15 @@
<h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/> <h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/>
<h:graphicImage width="60px" value="#{resource['img/tanlist.svg']}" alt="Backup TAN List" rendered="#{token.tokenType == 'HMAC'}"/>
</p:outputPanel> </p:outputPanel>
<p:outputPanel> <h:panelGroup>
<div><h:outputText value="#{token.tokenType}" /></div> <h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HMAC' and token.serial.startsWith('OATH')}"/>
<div><h:outputText value="#{token.isactive}" /></div> <h:outputText value="#{messages.twofa_tokentype_totp}" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/>
</p:outputPanel> <h:outputText value="#{messages.twofa_tokentype_totp_hardware}" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/>
<h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HOTP'}"/>
<h:outputText value="#{messages.twofa_tokentype_yubikey}" rendered="#{token.tokenType == 'yubico'}"/>
</h:panelGroup>
</p:panelGrid> </p:panelGrid>
</p:panel> </p:panel>
</p:dataGrid> </p:dataGrid>
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/> <h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/>
<h:graphicImage width="60px" value="#{resource['img/tanlist.svg']}" alt="Backup TAN List" rendered="#{token.tokenType == 'HMAC'}"/>
</p:outputPanel> </p:outputPanel>
<p:outputPanel> <p:outputPanel>
<h:panelGrid columns="2"> <h:panelGrid columns="2">
...@@ -52,7 +53,7 @@ ...@@ -52,7 +53,7 @@
<h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HMAC' and token.serial.startsWith('OATH')}"/> <h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HMAC' and token.serial.startsWith('OATH')}"/>
<h:outputText value="#{messages.twofa_tokentype_totp}" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/> <h:outputText value="#{messages.twofa_tokentype_totp}" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/>
<h:outputText value="#{messages.twofa_tokentype_totp_hardware}" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/> <h:outputText value="#{messages.twofa_tokentype_totp_hardware}" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/>
<h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HOTP'}"/> <h:outputText value="#{messages.twofa_tokentype_tanlist}" rendered="#{token.tokenType == 'HMAC'}"/>
<h:outputText value="#{messages.twofa_tokentype_yubikey}" rendered="#{token.tokenType == 'yubico'}"/> <h:outputText value="#{messages.twofa_tokentype_yubikey}" rendered="#{token.tokenType == 'yubico'}"/>
</h:panelGroup> </h:panelGroup>
...@@ -82,6 +83,7 @@ ...@@ -82,6 +83,7 @@
<h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/smartphone.svg']}" alt="Smartphone" rendered="#{token.tokenType == 'TOTP' and token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/> <h:graphicImage width="60px" value="#{resource['img/kittoken_small.png']}" alt="Hardware Token" rendered="#{token.tokenType == 'TOTP' and not token.serial.startsWith('TOTP')}"/>
<h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/> <h:graphicImage width="60px" value="#{resource['img/yubikey_small.png']}" alt="Yubikey" rendered="#{token.tokenType == 'yubico'}"/>
<h:graphicImage width="60px" value="#{resource['img/tanlist.svg']}" alt="Backup TAN List" rendered="#{token.tokenType == 'HMAC'}"/>
</p:outputPanel> </p:outputPanel>
<p:outputPanel> <p:outputPanel>
<h:panelGrid columns="2" style="margin-bottom: 16px;"> <h:panelGrid columns="2" style="margin-bottom: 16px;">
......
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