add gdpr notice
This commit is contained in:
parent
ece3e3367f
commit
bea3f3b053
5 changed files with 38 additions and 2 deletions
|
|
@ -1858,6 +1858,17 @@
|
|||
// send init-done event
|
||||
API.event.emit('init-done', STATS);
|
||||
|
||||
// show gdpr if it's never been seen
|
||||
if (!SDB.gdpr) {
|
||||
$('gdpr').style.display = 'flex';
|
||||
}
|
||||
|
||||
// dismiss gdpr alert
|
||||
$('gotit').onclick = () => {
|
||||
$('gdpr').style.display = 'none';
|
||||
SDB.gdpr = Date.now();
|
||||
};
|
||||
|
||||
// lift curtain
|
||||
$('curtain').style.display = 'none';
|
||||
|
||||
|
|
|
|||
|
|
@ -952,3 +952,21 @@ th, tr, td {
|
|||
left: -100%;
|
||||
top: -100%;
|
||||
}
|
||||
|
||||
#gdpr {
|
||||
position: absolute;
|
||||
display: none;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
z-index: 1000;
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid black;
|
||||
background-color: white;
|
||||
}
|
||||
#gotit {
|
||||
font-weight: bold;
|
||||
font-size: larger;
|
||||
padding: 5px 20px 5px 20px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -323,5 +323,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="gdpr" class="noshow">
|
||||
<p>this site uses cookies to preserve application preferences</p>
|
||||
<button id="gotit">got it</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -92,7 +92,10 @@
|
|||
<div class="grow"></div>
|
||||
<div class="footer">
|
||||
<div><b>Kiri:Moto is entirely open source</b>!</div>
|
||||
<div>Contributions welcome</div>
|
||||
<div style="display:inline-block">
|
||||
<a target="_paypal" href="https://paypal.me/gridspace3d?locale.x=en_US">Donations</a> and
|
||||
<a target="_github" href="https://github.com/GridSpace/grid-apps">Contributions</a> welcome
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ kiri.lang['en-us'] = {
|
|||
se_save: "save",
|
||||
|
||||
// FDM SLICING
|
||||
sl_menu: "slice",
|
||||
sl_menu: "slicing",
|
||||
sl_lahi_s: "layer height",
|
||||
sl_lahi_l: "height of each slice\nlayer in millimeters",
|
||||
sl_shel_s: "shell count",
|
||||
|
|
|
|||
Loading…
Reference in a new issue