-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
369 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/public | ||
/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
body { | ||
font-size: 16px; | ||
padding: 0; | ||
margin: 0; | ||
height: 100vh; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Use correct header image and set correct color | ||
|
||
switch (location.hostname) | ||
{ | ||
case "mainframe.io": | ||
document.getElementById("img-logo-ktt").style.display = "none"; | ||
document.getElementById("img-icon-lang").src = "/media/img/lang/icon.dark.svg"; | ||
document.getElementsByTagName("html")[0].dataset["bsTheme"] = "dark"; | ||
break; | ||
default: | ||
document.getElementById("img-logo-mainframe").style.display = "none"; | ||
document.getElementById("img-icon-lang").src = "/media/img/lang/icon.light.svg"; | ||
document.getElementsByTagName("html")[0].dataset["bsTheme"] = "light"; | ||
break; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<footer class="mt-auto"> | ||
<p style="text-align: center;"> | ||
© 2024 <a href="{{config.base_url}}">Kreativität trifft Technik</a> | License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a> | <a href="/impressum.dark.html">Impressum</a> | ||
</p> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{lang}}" data-bs-theme="dark"> | ||
<head> | ||
{% block head %} | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="{{config.description}}"> | ||
<meta name="author" content="{{config.author}}"> | ||
|
||
{% block title %} | ||
{% if section.title %} | ||
<title>{{ section.title }} | {{ config.title }}</title> | ||
{% else %} | ||
<title>{{ config.title }}</title> | ||
{% endif %} | ||
{% endblock title %} | ||
{% endblock head %} | ||
|
||
{% block css %} | ||
<link rel="stylesheet" href="/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/site.css"> | ||
{% endblock css %} | ||
</head> | ||
<body> | ||
<div class="container" style="padding-top: 10px;"> | ||
{% block navbar %} | ||
{% include "navbar.html" %} | ||
{% endblock navbar %} | ||
|
||
{% block content %} | ||
<div id="content"> | ||
{{section.content}} | ||
</div> | ||
{% endblock content %} | ||
|
||
{% block footer %} | ||
{% include "footer.html" %} | ||
{% endblock footer %} | ||
</div> | ||
|
||
{% block javascript %} | ||
<script src="/js/bootstrap.bundle.min.js" integrity="sha384-{{ get_hash(path="static/js/bootstrap.bundle.min.js", sha_type=384, base64=true) | safe }}"></script> | ||
<script src="/js/site.js" integrity="sha384-{{ get_hash(path="static/js/site.js", sha_type=384, base64=true) | safe }}"></script> | ||
{% endblock javascript %} | ||
</body> | ||
</html> |
Oops, something went wrong.