forked from h5bp/html5please-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tpl.button.html
45 lines (41 loc) · 1.15 KB
/
tpl.button.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
<div class="caniuse">
<% supported %>
<div class="caniuse-ico caniuse-ico-<%= browserid %>"></div>
<div class="caniuse-msg">
<h6>Congratulations!</h6>
<p>Your browser supports the requested features.</p>
</div>
<% /supported %>
<% supported_with_upgrade %>
<div class="caniuse-ico caniuse-ico-<%= browserid %>"></div>
<div class="caniuse-msg">
<h6>This page is not fully supported.</h6>
<p><a class="caniuse-url" href="<%= browserurl %>" rel="external" target="_blank">Please update to the latest version of your browser.</a></p>
</div>
<% /supported_with_upgrade %>
<% unsupported %>
<div class="caniuse-ico"></div>
<div class="caniuse-msg">
<h6>This page is not fully supported.</h6>
<p>Please upgrade to one of the following browsers.</p>
</div>
<% /unsupported %>
<div class="caniuse-nfo">
<% unsupported %>
<div class="caniuse-browsers">
<%= alternatives %>
</div>
<% /unsupported %>
<% supported_with_upgrade %>
<div class="caniuse-browsers">
<%= alternatives %>
</div>
<% /supported_with_upgrade %>
<div class="caniuse-features">
<b>
Requested features
</b>
<%= features %>
</div>
</div>
</div>