2020-05-24 20:02:49 +02:00
|
|
|
<div class="open-chal-resp">
|
|
|
|
{{#if loading}}
|
|
|
|
<div class="open-chal-resp__head">
|
2020-06-01 07:30:00 +02:00
|
|
|
<p>
|
2020-11-25 18:20:53 +01:00
|
|
|
<i class="open-chal-resp__icon fa fa-spinner spin"></i> {{res 'openChalRespLoading'}}
|
2020-06-01 07:30:00 +02:00
|
|
|
</p>
|
2020-05-24 20:02:49 +02:00
|
|
|
</div>
|
|
|
|
{{else if error}}
|
|
|
|
<div class="open-chal-resp__head">
|
2020-06-01 07:30:00 +02:00
|
|
|
<p>
|
|
|
|
<i class="open-chal-resp__icon fa fa-ban"></i> {{error}}
|
|
|
|
</p>
|
|
|
|
{{#if showEmptyMacWarning}}
|
|
|
|
<p>{{res 'openChalRespErrorEmptyMac'}}</p>
|
|
|
|
{{/if}}
|
2020-05-24 20:02:49 +02:00
|
|
|
</div>
|
|
|
|
{{else}}
|
2020-06-01 07:30:00 +02:00
|
|
|
<div class="open-chal-resp__head">
|
|
|
|
<p>
|
|
|
|
{{res 'openChalRespSelectYubiKey'}}:
|
|
|
|
</p>
|
|
|
|
</div>
|
2020-05-24 20:02:49 +02:00
|
|
|
<div>
|
|
|
|
{{#each yubiKeys as |yk|}}
|
2020-05-30 08:10:19 +02:00
|
|
|
<div class="open-chal-resp__item"
|
|
|
|
data-vid="{{yk.vid}}"
|
|
|
|
data-pid="{{yk.pid}}"
|
|
|
|
data-serial="{{yk.serial}}"
|
|
|
|
data-slot="{{yk.slot}}"
|
|
|
|
>
|
2020-05-31 14:13:08 +02:00
|
|
|
{{yk.fullName}}, {{res 'yubiKeySlot'}} {{yk.slot}}
|
2020-05-24 20:02:49 +02:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|