Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic year in copyright section added #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ <h4 class="section-heading">Global Sponsor</h4>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -202,6 +202,8 @@ <h4 class="section-heading">Global Sponsor</h4>
<script src="js/jquery.easing.1.3.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/copyrightyear.js"></script>


<script>
$(function () {
Expand Down
4 changes: 3 additions & 1 deletion analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ <h4 class="card-title card-step-title">
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -617,6 +617,8 @@ <h4 class="card-title card-step-title">
<script src="js/hover-effects.js"></script>
<script src="js/resource-maps.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>


<script>
$(function () {
Expand Down
4 changes: 3 additions & 1 deletion collect.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ <h2 class="section-heading col-12" style="text-align: center; margin:auto; margi
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -319,6 +319,8 @@ <h2 class="section-heading col-12" style="text-align: center; margin:auto; margi
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>


<script>
$(function () {
Expand Down
4 changes: 3 additions & 1 deletion conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h2 class="section-heading-sm">dsTitle11<br><br></h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -424,6 +424,8 @@ <h2 class="section-heading-sm">dsTitle11<br><br></h2>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>

<script>
$(function () {
var includes = $('[data-include]');
Expand Down
4 changes: 3 additions & 1 deletion faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ <h2 class="section-heading col-12" style=" margin-bottom: 32px;">faq.q5</h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -311,6 +311,8 @@ <h2 class="section-heading col-12" style=" margin-bottom: 32px;">faq.q5</h2>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>

<script>
$(function () {
var includes = $('[data-include]');
Expand Down
4 changes: 3 additions & 1 deletion imprint.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h2 class="section-heading col-12 noPadding" style="">ipt13</h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -197,6 +197,8 @@ <h2 class="section-heading col-12 noPadding" style="">ipt13</h2>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>

<script>
$(function () {
var includes = $('[data-include]');
Expand Down
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ <h2 class="section-heading" style="text-align: center;">Partner</h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -714,8 +714,10 @@ <h2 class="section-heading" style="text-align: center;">Partner</h2>
$(this).load(file);
});
});
</script>


</script>
<script src="js/copyrightyear.js"></script>

</body>

Expand Down
3 changes: 3 additions & 0 deletions js/copyrightyear.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var currentYear=new Date().getFullYear()
var copyrightYear=document.getElementById('year')
copyrightYear.innerHTML=currentYear
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
"version": "1.0.0",
"description": "enviroCar website",
"main": "index.html",
"dependencies": {
},
"devDependencies": {},
"scripts": {
"start": "start",
"test": "echo \"Error: no test specified\" && exit 1"
},
"browserslist": [
"edge 12",
"edge 18"
],
"repository": {
"type": "git",
"url": "git+https://github.com/MojioMS/enviroCar-landing-page.git"
Expand All @@ -24,4 +27,4 @@
"url": "https://github.com/MojioMS/enviroCar-landing-page/issues"
},
"homepage": "https://github.com/MojioMS/enviroCar-landing-page#readme"
}
}
4 changes: 3 additions & 1 deletion press.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h2 class="press-heading" style="clear:both">press.aight</h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -361,6 +361,8 @@ <h2 class="press-heading" style="clear:both">press.aight</h2>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>

<script>
$(function () {
var includes = $('[data-include]');
Expand Down
4 changes: 3 additions & 1 deletion research.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h2 class="section-heading" style="text-align: center;">rsc.pb1</h2>
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -244,6 +244,8 @@ <h2 class="section-heading" style="text-align: center;">rsc.pb1</h2>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
<script src="js/copyrightyear.js"></script>

<script>
$(function () {
var includes = $('[data-include]');
Expand Down
3 changes: 2 additions & 1 deletion resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,14 +405,15 @@ <h4 class="card-title card-step-title">
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>

<!-- Bootstrap core JavaScript -->
<!--<script src="js/jquery.min.js"></script>-->
<script src="js/jquery.easing.1.3.min.js"></script>
<script src="js/copyrightyear.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
Expand Down
4 changes: 3 additions & 1 deletion share.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h2 class="section-heading col-12" style="text-align: center; margin:auto; margi
<!--leerer Platz rechts im Footer-->
<div class="spaceholder col-lg-2 col-md-2 hidden-sm hidden-xs"></div>
<!--Copyright Section-->
<div class="footer-copyright text-center py-3">© 2021 Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
<div class="footer-copyright text-center py-3">© <span id="year">2021</span> Copyright by 52°North Spatial Information Research GmbH. All Rights Reserved.
</div>
</div>
</footer>
Expand All @@ -272,6 +272,8 @@ <h2 class="section-heading col-12" style="text-align: center; margin:auto; margi
<!-- Bootstrap core JavaScript -->
<!--<script src="js/jquery.min.js"></script>-->
<script src="js/jquery.easing.1.3.min.js"></script>
<script src="js/copyrightyear.js"></script>

<script src="js/popper.min.js"></script>
<script src="js/scrolling-nav.js"></script>
<script src="js/language-url.js"></script>
Expand Down