added a warning about the manual only supporting the 1.12 version atm
All checks were successful
/ web (push) Successful in 27s
All checks were successful
/ web (push) Successful in 27s
This commit is contained in:
parent
22eea8ed56
commit
3d557cb8a3
3 changed files with 16 additions and 6 deletions
|
@ -16,9 +16,19 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Cookie notification -->
|
||||
<div id="cookieinfo"></div>
|
||||
<script src="../scripts/cookieinfo.js"></script>
|
||||
<div id="notices">
|
||||
<!-- Cookie notification -->
|
||||
<div id="cookieinfo"></div>
|
||||
<script src="../scripts/cookieinfo.js"></script>
|
||||
|
||||
<!-- Notification about the fact that the manual is currently stuck on 1.12 -->
|
||||
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||
<strong>This manual currently uses information from the 1.12.2 version of the mod.</strong> To get information about Actually Additions for 1.20 and later versions, please use the in-game manual for the time being.
|
||||
<button type="button" class="close" data-dismiss="alert" id="version-notif-close">
|
||||
<span>×</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<a href="https://ellpeck.de">🏠 Main Site</a>
|
||||
|
|
|
@ -80,7 +80,7 @@ body {
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
#cookieinfo {
|
||||
#notices {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
left: 50%;
|
||||
|
|
|
@ -4,12 +4,12 @@ if (localStorage.getItem("notification") !== "true") {
|
|||
This site uses your browser's local storage to store information about your browsing activity.
|
||||
<br>For more information, check out the <a href="/privacy">privacy policy</a>.
|
||||
<br>Have a nice day!
|
||||
<button type="button" class="close" data-dismiss="alert" id="notif-close">
|
||||
<button type="button" class="close" data-dismiss="alert" id="cookie-notif-close">
|
||||
<span>×</span>
|
||||
</button>
|
||||
</div>
|
||||
`);
|
||||
$("#notif-close").on("click", function () {
|
||||
$("#cookie-notif-close").on("click", function () {
|
||||
localStorage.setItem("notification", "true");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue