forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (42 loc) · 1.67 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: default
---
<div id="main">
<img alt="" id="logo" src="/img/icons/icon.svg">
<h2>Two Factor Auth (2FA)</h2>
<div class="sub header">List of websites and whether or not they support
<a href="https://en.wikipedia.org/wiki/Two-factor_authentication">2FA</a>.
</div>
</div>
<div class="col-11 col-md-8 col-lg-6" id="outerSearchBox">
<i class="fas fa-search fa-2x" id="searchIcon"></i>
<input aria-label="search" id="innerSearchBox" type="search">
</div>
<div class="row justify-content-start category-row">
{% assign rowcount = 0 %}
{% assign tailcount = site.data.sections.size | modulo: 5 %}
{% for section in site.data.sections %}
{% assign rowend = forloop.index | modulo: 5 %}
{% if rowend == 0 or forloop.index == forloop.length %}
{% include category-button.html %}
{% if forloop.index == forloop.length and tailcount != 0 %}
{% for c in (tailcount..4) %}
<div class="col"></div>
{% endfor %}
{% endif %}
{% include mobile-table.html id-param=section.id title-param=section.title %}
{% assign offcount = 5 | times: rowcount %}
{% for section in site.data.sections limit: 5 offset: offcount %}
{% include desktop-table.html id-param=section.id title-param=section.title %}
{% endfor %}
{% if forloop.index != forloop.length %}
{% assign rowcount = rowcount | plus: '1' %}
<div class="w-100 d-none d-md-block"></div>
{% endif %}
{% else %}
{% include category-button.html %}
{% include mobile-table.html id-param=section.id title-param=section.title %}
{% endif %}
{% endfor %}
</div>
<h2 id="no-results">No results found.</h2>