-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #923 from dvoytenko/experiments2
Experiments.html page for our CDN
- Loading branch information
Showing
7 changed files
with
411 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# AMP Experiments | ||
|
||
The features that are released but not yet ready for the wide use are protected | ||
by the experiment. The developers and users can opt-in into these features | ||
before they are fully released. | ||
|
||
Experiments UI is a available at: | ||
|
||
[https://cdn.ampproject.org/experiments.js](https://cdn.ampproject.org/experiments.js) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>AMP Experiments</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<script async src="../../dist/experiments/experiments.max.js"></script> | ||
<style> | ||
body { | ||
max-width: 600px; | ||
margin: auto; | ||
font-family: Roboto, verdana, arial, sans-serif; | ||
} | ||
|
||
.header-title { | ||
color: #1b1464; | ||
font-family: Roboto, verdana, arial, sans-serif; | ||
letter-spacing: 2px; | ||
padding-left: 0; | ||
padding-top: 18px; | ||
text-transform: uppercase; | ||
width: 10%; | ||
display: inline-block; | ||
padding: 10px 15px; | ||
text-decoration: none; | ||
} | ||
|
||
.hero { | ||
padding: 16px; | ||
background-color: #147bc1; | ||
color: #fff; | ||
} | ||
|
||
.content { | ||
margin: 16px; | ||
display: block; | ||
} | ||
|
||
.desc { | ||
padding: 16px; | ||
display: block; | ||
color: orange; | ||
} | ||
|
||
a { | ||
color: #3ab3eb; | ||
text-decoration: none; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
padding: 4px; | ||
} | ||
|
||
.button-cell { | ||
text-align: center; | ||
} | ||
|
||
button { | ||
min-width: 60px; | ||
} | ||
|
||
tr[data-on='0'] button { | ||
background: #aaa; | ||
color: #777; | ||
} | ||
|
||
tr[data-on='1'] button { | ||
background: green; | ||
color: #fff; | ||
} | ||
|
||
.on, .off { | ||
display: none; | ||
} | ||
|
||
tr[data-on='0'] .off { | ||
display: block; | ||
} | ||
|
||
tr[data-on='1'] .on { | ||
display: block; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<header> | ||
<div class="tab header-title"> | ||
Accelerated | ||
Mobile | ||
Pages | ||
Project | ||
</div> | ||
</header> | ||
|
||
<section class="hero"> | ||
<h1>AMP Experiments</h1> | ||
</section> | ||
|
||
<section class="desc"> | ||
Please excercise caution. These features are not yet release to the public. | ||
Some of these features might still be in the security or privacy reviews. | ||
Please consult the documentation for each specific feature for details. | ||
</section> | ||
|
||
<section class="content"> | ||
<table id="experiments-table" border=1></table> | ||
</section> | ||
</body> | ||
</html> |
Oops, something went wrong.