Add cookies policy.

This commit is contained in:
Viktor Kovacs 2021-04-02 12:35:35 +02:00
parent 0b77192ac5
commit f76408ae1c
4 changed files with 87 additions and 1 deletions

View File

@ -60,7 +60,13 @@ def CreateDestinationDir (config, rootDir, websiteDir, version, testBuild):
'o3dv/o3dv.website.min.js'
]
for htmlFileName in ['index.html', 'embed.html', os.path.join ('info', 'index.html')]:
htmlFileNames = [
'index.html',
'embed.html',
os.path.join ('info', 'index.html'),
os.path.join ('info', 'cookies.html')
]
for htmlFileName in htmlFileNames:
htmlFilePath = os.path.join (websiteDir, htmlFileName)
replacer = Tools.TokenReplacer (htmlFilePath, False)
replacer.ReplaceTokenFileLinks ('<!-- libs start -->', '<!-- libs end -->', libFiles, None)

74
website/info/cookies.html Normal file
View File

@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="icon" type="image/png" href="../assets/images/3dviewer_net_favicon.png">
<title>Online 3D Viewer Cookies Policy</title>
<link rel="stylesheet" type="text/css" href="info.css">
<!-- meta start -->
<!-- meta end -->
<!-- analytics start -->
<!-- analytics end -->
</head>
<body>
<div class="main">
<h1><a href=".">Online 3D Viewer Cookies Policy</a></h1>
<p>
Like most similar websites, <a href="https://3dviewer.net">Online 3D Viewer</a> (the "Website") uses cookies.
On this page we explain more about cookies and how we use them.
</p>
<h2>What are cookies?</h2>
<p>
Cookies are a small text files that are stored in your web browser that allows Online 3D Viewer or a third party to recognize you.
Cookies can be used to collect, store and share bits of information about your activities across websites, including on
Online 3D Viewer Website.
</p>
<p>
Cookies might be used for the following purposes:
</p>
<ul>
<li>To provide analytics</li>
<li>To store your preferences</li>
</ul>
<p>
Online 3D Viewer uses both session cookies and persistent cookies.
</p>
<p>
A session cookie is used to identify a particular visit to our Website. These cookies expire after a short time,
or when you close your web browser after using our Website. We use these cookies to identify you during a single browsing session,
such as when you visit our Website.
</p>
<p>
A persistent cookie will remain on your devices for a set period of time specified in the cookie.
We use these cookies where we need to identify you over a longer period of time. For example,
we would use a persistent cookie to store your preferences on the Website.
</p>
<h2>How do third parties use cookies on the Website?</h2>
<p>
Third party companies like analytics companies use cookies to collect user information on an anonymous basis.
They may use that information to build a profile of your activities on the Online 3D Viewer Website and
other websites that you've visited.
</p>
<h2>What are your cookies options?</h2>
<p>
If you don't like the idea of cookies or certain types of cookies, you can change your browser's settings to
delete cookies that have already been set and to not accept new cookies. To learn more about how to do this,
visit the help pages of your browser.
</p>
<p>
Please note, however, that if you delete cookies or do not accept them, you might not be able to use all of
the features we offer, you may not be able to store your preferences, and some of our pages might not display properly.
</p>
</div>
</body>
</html>

View File

@ -42,6 +42,7 @@
<li><a href="#embed_selfhost">Self-hosted viewer</a></li>
</ol>
<li><a href="#exporting_models">Exporting models</a></li>
<li><a href="#cookies_policy">Cookies policy</a></li>
</ol>
</p>
@ -225,6 +226,10 @@
After that select the format you would like to export to, and download the resulting files one by one.
</p>
<h2 id="cookies_policy">Cookies policy</h2>
<p>
You can check the policy at the <a href="cookies.html">Cookies Policy</a> page.
</p>
</div>
</body>

View File

@ -74,6 +74,7 @@ h3
p
{
text-align: justify;
margin: 10px 0px;
line-height: 25px;
}