Add privacy policy to demos that use storage

This commit is contained in:
Rachel Fenichel
2020-08-05 19:43:28 -07:00
parent ba228ec235
commit 1fd7622cf0
5 changed files with 29 additions and 0 deletions

View File

@@ -566,3 +566,14 @@ td.taboff:hover {
.shadowBlock>.blocklyPathDark {
display: none;
}
/* Privacy link */
.privacyLink {
font-family: Roboto, Arial, Helvetica, sans-serif;
font-size: small;
text-decoration: none;
}
.privacyButton {
float: right;
}

View File

@@ -50,6 +50,8 @@
<button id="helpButton" title="View documentation in new window.">
<span>Help</span>
</button>
<button class="privacyButton" title="Open Google privacy policy"><a class="privacyLink" href="https://policies.google.com/privacy">Privacy</a>
</button>
</h1>
<div id="tabContainer">
<div id="blockFactory_tab" class="tab tabon">Block Factory</div>

View File

@@ -27,6 +27,7 @@
</td>
<td class="farSide">
<select id="languageMenu"></select>
<a class="privacyLink" href="https://policies.google.com/privacy">Privacy</a>
</td>
</tr>
<tr>

View File

@@ -174,3 +174,10 @@ button {
display: table-cell;
}
}
/* Privacy link */
.privacyLink {
font-family: Roboto, Arial, Helvetica, sans-serif;
font-size: small;
text-decoration: none;
}

View File

@@ -21,6 +21,11 @@
background-color: #f9edbe;
border: solid 1px #f0c36d;
}
.privacyLink {
font-family: Roboto, Arial, Helvetica, sans-serif;
font-size: small;
text-decoration: none;
}
</style>
</head>
<body>
@@ -93,4 +98,7 @@
</script>
</body>
<footer>
<a class="privacyLink" href="https://policies.google.com/privacy">Privacy</a>
</footer>
</html>