Skip to content

Commit

Permalink
Merge pull request #761 from shusonialumnwi/Update-Year-In-Footer
Browse files Browse the repository at this point in the history
modified date in footer to reflect the current year
  • Loading branch information
birm authored Mar 17, 2024
2 parents 53c8a7a + 245b73d commit a69659c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/Info.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ <h3 class="text-center h3 mb-2" style="margin-top:8px;margin-bottom:10px;">Infor
</div>

<footer class="text-center text-white bg-dark p-3 mt-2">
<p class="p">Copyright © 2021 caMicroscope</p>
<p class="p" id="copy-right-text"></p>
</footer>
</div>
<script src="../common/footer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script>
</body>
<script>
Expand Down
4 changes: 3 additions & 1 deletion apps/signup/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2 style="margin-top: -.5em;">User Signup</h2>
<div class="text-center" onclick="loginPage()">Already have an account? </div>
</div>
<footer class="text-center text-white bg-dark p-3">
<p class="p">Copyright © 2021 caMicroscope</p>
<p class="p" id="copy-right-text"></p>
</footer>
<!-- popup -->
<div id="popup-container"></div>
Expand All @@ -121,6 +121,8 @@ <h2 style="margin-top: -.5em;">User Signup</h2>
integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8"
crossorigin="anonymous"></script>
<script src="../../common/util.js"></script>
<script src="../../common/footer.js"></script>


</body>
</html>
3 changes: 2 additions & 1 deletion apps/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,12 @@ <h5 class="modal-title" id="slideNameChangeModalLabel">Slide name change confirm


<footer class="text-center text-white bg-dark p-3">
<p class="p">Copyright © 2021 caMicroscope</p>
<p class="p"id="copy-right-text"></p>
</footer>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-p34f1UUtsS3wqzfto5wAAmdvj+osOnFyQFpp4Ua3gs/ZVWx6oOypYoCJhGGScy+8" crossorigin="anonymous"></script>
<script src="./table.js"></script>
<script src="../common/footer.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions common/footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$('#copy-right-text').html(`Copyright © ${new Date().getFullYear()} caMicroscope`)

0 comments on commit a69659c

Please sign in to comment.