Skip to content

Commit

Permalink
added icons
Browse files Browse the repository at this point in the history
  • Loading branch information
dagnelies committed Feb 24, 2024
1 parent d5539a3 commit 9fd7581
Show file tree
Hide file tree
Showing 310 changed files with 345 additions and 191 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 0 additions & 33 deletions build-authenticators-images.py

This file was deleted.

27 changes: 24 additions & 3 deletions demos/authenticators.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,49 @@
width: 100%;
}
.authenticators th {
text-align: center;
text-align: center !important;
}
.authenticators img {
width: 32px;
height: 32px;
}
.dark {
background-color: black;
color: white;
}
.table td {
vertical-align: middle;
}
</style>
</head>

<body>
<main id="app" class="section container">
<h1 class="title">Authenticators list</h1>
<p>Includes both hardware and software authenticators.</p>

<p>This list includes both hardware and software authenticators and all icons are available as png 64x64.</p>
<ul>
<li><code>https://webauthn.passwordless.id/authenticators/{aaguid}-light.png</code></li>
<li><code>https://webauthn.passwordless.id/authenticators/{aaguid}-dark.png&nbsp;</code></li>
</ul>
<hr/>

<table class="authenticators table is-striped is-narrow is-hoverable">
<thead>
<th style="width: 40px">Light</th>
<th style="width: 40px">Dark</th>
<th>AAGUID</th>
<th>Name</th>
</thead>
<tbody>
<tr v-for="(name, aaguid) in authenticatorMetadata">
<td>
<td class="light">
<img :src="'/authenticators/' + aaguid + '-light.png'" />
</td>
<td class="dark">
<img :src="'/authenticators/' + aaguid + '-dark.png'" />
</td>
<td style="font-family: monospace">
{{aaguid}}
</td>
<td>
Expand Down
1 change: 1 addition & 0 deletions demos/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ <h2 class="title">Registration</h2>

<p>Resulting into:</p>

<p v-if="registration.parsed"><img :src="registration.parsed.authenticator.icon_light" /> {{registration.parsed.authenticator.name}}</p>
<pre>{{registration.parsed ?? '...'}}</pre>


Expand Down
2 changes: 1 addition & 1 deletion dist/webauthn.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9fd7581

Please sign in to comment.