~roadmr/canonical-identity-provider/webauthn-register-endpoint-part-2-the-registration

« back to all changes in this revision

Viewing changes to src/webui/templates/device/code-list.html

Merged webauthn-register-endpoint into webauthn-register-endpoint-part-2-the-registration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% load i18n %}
2
 
<div id="codes" class="yui3-g-r codelist" data-qa-id="codelist">
3
 
    <ol class="yui3-u-1-5">
 
2
<div id="codes" data-qa-id="codelist">
 
3
    <ol class="p-list">
4
4
    {% for code in codes %}
5
 
      <li>{% spaceless %}
 
5
      <li class="p-list__item">{% spaceless %}
6
6
        {% if forloop.counter0 < counter|default:0 %}
7
7
          <strike>{{ code }}</strike>
8
8
        {% else %}
9
9
          {{ code }}
10
10
        {% endif %}
11
11
      {% endspaceless %}</li>
12
 
        {% if forloop.counter|divisibleby:"5" and not forloop.last %}
13
 
        {%endif%}
14
12
      {% endfor %}
15
13
    </ol>
16
14
</div>
17
15
 
18
16
<style media="print">
19
 
header, .menu, footer, p { display: none; }
 
17
header, .p-sidebar, footer, p { display: none; }
20
18
#codes ol { list-style:none; margin:0; padding:0 }
21
19
</style>