forked from 2factorauth/twofactorauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
163 lines (150 loc) · 7.34 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
---
layout: default
message: Security is important, @TWITTERHANDLE. We'd like if you supported two factor auth.
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>Google Auth</th>
<th>Authy</th>
<th class="two wide">Custom</th>
</tr>
</thead>
<tbody>
{% assign sorted_websites = section.websites | sort: 'name' %}
{% for website in sorted_websites %}
<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>
{% if website.doc %}
<td class="positive icon">
<a href="{{ website.doc }}">
<i class="external url link icon"></i>
</a>
</td>
{% else %}
<td class="positive icon"></td>
{% endif %}
{% if website.sms %}
<td class="positive icon">
<i class="checkmark large icon"></i>
</td>
{% else %}
<td class="negative icon">
<i class="remove large icon"></i>
</td>
{% endif %}
{% if website.goog %}
<td class="positive icon">
<i class="checkmark large icon"></i>
</td>
{% else %}
<td class="negative icon">
<i class="remove large icon"></i>
</td>
{% endif %}
{% if website.authy %}
<td class="positive icon">
<i class="checkmark large icon"></i>
</td>
{% else %}
<td class="negative icon">
<i class="remove large icon"></i>
</td>
{% endif %}
{% if website.custom %}
<td class="positive icon">
{% for item in website.custom %}
{% if item.url %}
<a href="{{ item.url }}"><i class="{{ item.icon }} link small icon"></i></a>
{% else %}
<i class="{{ item.icon }} small icon"></i>
{% endif %}
{% endfor %}
</td>
{% else %}
<td class="negative icon">
<i class="remove large icon"></i>
</td>
{% endif %}
</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>
</td>
{% if website.twitter %}
<td class="twitter main negative" colspan="5">
<a class="ui twitter mini button" href="https://twitter.com/share?url={{site.url|cgi_escape}}&text={{page.message|replace:'TWITTERHANDLE',website.twitter|cgi_escape}}&hashtags={{page.hash|cgi_escape}}" target="_blank"><i class="twitter icon"></i> Tell them to support 2FA</a>
</td>
{% 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>
{% endif %}
{% endif %}
{% endfor %}
</tbody>
</table>
{% unless forloop.last %}
<div class="ui divider"></div>
{% endunless %}
</div><!-- Section -->
{% endfor %}
</div><!-- Column -->
</div><!-- UI Grid -->
</div><!-- Main Container -->