forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
183 lines (163 loc) · 9.37 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
---
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 class="ui fixed transparent inverted teal main menu">
<div class="menu">
<div class="right menu">
<a href="{{ site.repo }}" class="item">
<i class="github icon"></i>
Contribute
</a>
</div>
<a href="#" class="item">
<i class="home icon"></i>
Home
</a>
<div class="ui dropdown item">
Menu <i class="dropdown icon"></i>
<div class="menu">
{% for section in site.data.main.sections %}
<a href="{% if forloop.first %}#{% else %}#{{ section.id }}{% endif %}" class="item">
<i class="{{ section.icon }} icon"></i>
{{ section.title }}
</a>
{% endfor %}
</div>
</div>
</div>
</div>
<div class="main container">
<div class="ui grid">
<div class="column">
<div class="banner ui 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="http://en.wikipedia.org/wiki/Two-step_verification">2FA</a>.
</div>
<div class="sub header">
Add your own favorite site by submitting a pull request on the
<a href="https://github.com/jdavis/twofactorauth">GitHub repo</a>.
</div>
</div>
{% for section in site.data.main.sections %}
<div id="{{ section.id }}" class="section">
<table class="ui table celled compact segment">
<thead>
<tr>
<th class="eleven wide"><h2>{{ section.title }}</h2></th>
<th>Docs</th>
<th>SMS</th>
<th>Phone Call</th>
<th>Email</th>
<th>Hardware Token</th>
<th>Software Implementation</th>
</tr>
</thead>
<tbody>
{% 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 %}
<img src="/img/{{ section.id }}/{{ website.img }}" class="icon" alt="{{ website.name }}">
{% endif %}
<a href="{{ website.url }}">{{ website.name }}</a>
</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>
{% else %}
{% endif %}
</td>
<td class="positive icon">
{% if website.phone %}
<i class="checkmark large icon"></i>
{% else %}
{% endif %}
</td>
<td class="positive icon">
{% if website.email %}
<i class="checkmark large icon"></i>
{% else %}
{% endif %}
</td>
<td class="positive icon">
{% if website.hardware %}
<i class="checkmark large icon"></i>
{% else %}
{% endif %}
</td>
<td class="positive icon">
{% if website.software %}
<i class="checkmark large icon"></i>
{% else %}
{% endif %}
</td>
</tr>
{% else %}
<td class="main negative">
{% if website.img %}
<img 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 main 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>
</td>
{% endif %}
{% else %}
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>
<td class="negative icon"><i class="remove large icon"></td>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</tbody>
</table>
{% unless forloop.last %}
<div class="ui divider"></div>
{% endunless %}
</div><!-- Section -->
{% endfor %}
</div><!-- Column -->
</div><!-- UI Grid -->
</div><!-- Main Container -->