...
 
Commits (3)
This diff is collapsed.
......@@ -572,6 +572,13 @@ blockquote+p, .project-infos+blockquote {
margin-bottom: 20px;
}
.project.article img.in-body-half{
clear: both;
float: left;
width: 30%;
margin-bottom: 20px;
}
.project.article img.thumb{
clear: both;
......
......@@ -4,6 +4,31 @@
<script type="application/javascript" src="assets/js/toc.min.js"></script>
<div id="myModal" class="modal fade in" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="false">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="exampleModalLabel">Cookies and GDPR on oceanspast.org</h3>
</div>
<div class="modal-body">
<small>This website uses cookies for trafic analytics and user management, if you do not wish your visit to be logged, we encourage you to <a href="https://www.eff.org/deeplinks/2012/06/how-turn-do-not-track-your-browser">set your browser to 'do not track'</a> which will disable all cookies for this site. Visitors with user accounts are welcome to <a href="GDPR.php">review our cookie and GDPR policy at any time.</a></small>
<small>
<hr>
<div id="dnt-status">
</div>
</small>
</div>
<div class="modal-footer">
<button type="button" id="myModalClose" class="btn btn-secondary close" data-dismiss="modal" data-target="#myModal">Understood</button>
</div>
</div>
</div>
</div>
<!-- <script type="text/javascript">
// $( "nav.closed" ).click(function() {
// console.log("hey");
......@@ -28,6 +53,7 @@ $('#menu').click(function () {
};
});
$('#toc').toc({
'selectors': 'h1,h2,h3', //elements to use as headings
'container': 'body', //element to find all selectors in
......@@ -46,4 +72,24 @@ $('#menu').click(function () {
return $heading[0].tagName.toLowerCase();
}
});
$(document).ready(function () {
//if cookie hasn't been set...
if (document.cookie.indexOf("CookiePolicyAccepted=true")<0) {
$("#myModal").modal("show");
//Modal has been shown, now set a cookie so it never comes back
$("#myModalClose").click(function () {
$("#myModal").modal("hide");
});
document.cookie = "CookiePolicyAccepted=true; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/";
};
if (navigator.doNotTrack == 1) {
var dntStatus = "<button type='button' class='btn btn-outline-success'>Your browser is set to *Do not track*</button>";
document.getElementById("dnt-status").innerHTML = dntStatus;
} else {
var dntStatus = "<button type='button' class='btn btn-outline-info'>Your browser currently allows tracking</button>";
document.getElementById("dnt-status").innerHTML = dntStatus;
};
});
</script>
......@@ -17,7 +17,7 @@
<meta property="og:title" content="Oceans Past Initiative"/>
<meta property="og:description" content="The OPI is a global research network for marine historical research. Our goal is to enhance knowledge of how the diversity, distribution and abundance of marine life in the oceans has changed to better indicate future changes."/>
<meta property="og:type" content="article"/>
<meta property="og:image" content="http://oceanspa.wwwnl1-ss2.a2hosted.com/assets/img/opilogo.png"/>
<meta property="og:image" content="assets/img/OPI.svg"/>
<style>
body {
......
This diff is collapsed.
......@@ -5,20 +5,23 @@
<nav id="menu" class="nav-collapse"><a href="#">
<ul>
<li class="head-li"><a href="about.php">about</a></li>
<li class="secondaryitem"><a href="about.php#board">board</a></li>
<li class="secondaryitem"><a href="about.php">about</a></li>
<li class="secondaryitem"><a href="steering_committee.php">steering committee</a></li>
<li class="secondaryitem"><a href="constitution.php">constitution</a></li>
<li class="secondaryitem"><a href="institutions.php">institutions and supporting partners</a></li>
</ul>
<ul>
<li class="head-li"><a href="projects.php">projects</a></li>
<li class="secondaryitem"> <a href="projects.php#ICES"> ICES WGHIST</a></li>
<li class="secondaryitem"> <a href="projects.php#EU-COST"> EU COST Action Network</a></li>
<li class="secondaryitem"> <a href="projects.php#publications"> publications</a></li>
<li class="secondaryitem">---</li>
<li class="secondaryitem"> <a href="projects.php#EU-COST"> EU COST Action Network</a></li>
<li class="secondaryitem"> <a href="projects.php#OPP"> OPP</a></li>
<li class="secondaryitem"> <a href="projects.php#HMAP-db"> HMAP DBs</a></li>
</ul>
<ul>
<li class="head-li"> <a href="conferences.php"> conferences</a></li>
<li class="secondaryitem"><a href="conferences.php">Oceans Past VIII (2020)</a></li>
<li class="secondaryitem"><a href="opviii.php">Oceans Past VIII (2020)</a></li>
<li class="secondaryitem"><a href="opvii.php">Oceans Past VII</a></li>
<li class="secondaryitem"><a href="conferences.php">Access conference archive</a></li>
</ul>
......@@ -42,8 +45,7 @@
}
} ?>
<p class="menu-footer">the OPI is proudly supported by Erasmus + <br><a href="GDPR.php">access the OPI GDPR policy</a> </p>
<p class="menu-footer">the OPI is supported by <a href="institutions.php">many institutions and supporting parties</a><br><a href="GDPR.php">access the OPI GDPR policy</a> </p>
</ul>
</a></nav>
......
This diff is collapsed.