forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (143 loc) · 7.09 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
layout: default
link: Tell them to support 2FA
tweet: Security is important, @TWITTERHANDLE. We'd like it if you supported two factor auth.
link_progress: Thank them for working on 2FA
tweet_progress: Thanks for working on support for two factor auth, @TWITTERHANDLE!
hash: SupportTwoFactorAuth
---
<div id="header">
{% include header.html page='home' %}
</div>
<div id="main">
<div class="ui center aligned icon header">
<i class="circular mobile icon"></i>
<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-step_verification">2FA</a>.
</div>
<div id="{{ first.id }}" class="sub header">
Add your own favorite site by submitting a pull request on the
<a href="https://github.com/2factorauth/twofactorauth">GitHub repo</a>.
</div>
</div>
<div class="ui grid container">
<div class="column">
{% for section in site.data.main.sections %}
<div class="section" id="{{ section.id }}">
<table class="ui celled unstackable table">
<thead>
<tr>
<th class="single line"><h3>{{ section.title }}</h3></th>
<th>Docs</th>
<th>SMS</th>
<th>Phone Call</th>
<th>Email</th>
<th>Hardware Token</th>
<th>Software Token</th>
</tr>
</thead>
<tbody>
{% comment %}
Peform a downcase and sort on the list of websites to ensure the list is in
alphabetical order.
{% endcomment %}
{% assign section_file = site.data[section.id] %}
{% capture website_names %}
{% for website in section_file.websites %}
{{ website.name | downcase }}
{% unless forloop.last %},{% endunless %}
{% endfor %}
{% endcapture %}
{% assign lowercase_names = website_names | split:',' | sort %}
{% for item in (0..lowercase_names.size) %}
{% capture lowercase_name %}{{ lowercase_names[item] | strip | strip_newlines }}{% endcapture %}
{% for website in section_file.websites %}
{% assign current_name = website.name | downcase %}
{% if lowercase_name == current_name %}
<tr>
{% if website.tfa %}
<td class="main positive">
{% if website.img %}
<noscript><img src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}"></noscript>
<img src="/img/placeholder.png" data-src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}">
{% endif %}
<a href="{{ website.url }}">{{ website.name }}</a>
{% include exception.html website=website %}
</td>
<td class="positive icon">
{% if website.doc %}
<a href="{{ website.doc }}"><i class="external url link large icon"></i></a>
{% endif %}
</td>
<td class="positive icon">
{% if website.sms %}
<i class="checkmark large icon"></i>
{% endif %}
</td>
<td class="positive icon">
{% if website.phone %}
<i class="checkmark large icon"></i>
{% endif %}
</td>
<td class="positive icon">
{% if website.email %}
<i class="checkmark large icon"></i>
{% endif %}
</td>
<td class="positive icon">
{% if website.hardware %}
<i class="checkmark large icon"></i>
{% endif %}
</td>
<td class="positive icon">
{% if website.software %}
<i class="checkmark large icon"></i>
{% endif %}
</td>
{% else %}
<td class="main negative">
{% if website.img %}
<noscript><img src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}"></noscript>
<img src="/img/placeholder.png" data-src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}">
{% endif %}
<a href="{{ website.url }}">{{ website.name }}</a>
{% if website.status %}
<span class="progress">
<a class="ui mini orange button" href="{{website.status}}" target="_blank">
<i class="star icon"></i> In Progress!
</a>
</span>
{% endif %}
</td>
{% if website.twitter %}
<td class="twitter negative" colspan="6">
{% if website.status %}
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.tweet_progress|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> {{page.link_progress}}</a>
{% else %}
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.tweet|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> {{page.link}}</a>
{% endif %}
</td>
{% else %}
<td class="negative icon"><i class="remove large icon"></i></td>
<td class="negative icon"><i class="remove large icon"></i></td>
<td class="negative icon"><i class="remove large icon"></i></td>
<td class="negative icon"><i class="remove large icon"></i></td>
<td class="negative icon"><i class="remove large icon"></i></td>
<td class="negative icon"><i class="remove large icon"></i></td>
{% endif %}
{% endif %}
</tr>
{% endif %}
{% endfor %}
{% endfor %}
</tbody>
</table>
{% unless forloop.last %}
<div class="ui divider"></div>
{% endunless %}
</div><!-- Section -->
{% endfor %}
</div><!-- Column -->
</div><!-- UI Grid -->
</div>