You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.2 KiB

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="apple-touch-icon" sizes="180x180" href="/simple/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/simple/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/simple/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/simple/favicons/manifest.json">
<link rel="mask-icon" href="/simple/favicons/safari-pinned-tab.svg" color="#b33333">
<link rel="shortcut icon" href="/simple/favicons/favicon.ico">
<meta name="msapplication-config" content="/simple/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/simple/style.css">
</head>
<body onload="ready()">
<script type="text/javascript">
function ready() {
var ignoreDirectories = 0; // set how many directories should be ignored
var ignoreAsNoLink = false; // set whether to ignore as 'do not display' or ignore as 'no links in breadcrub, but visible'
var path = document.location.pathname;
var segments = path.split("/");
var breadcrumbs = '/ ';
var currentPath = "/";
var homeLink = "/";
for (var i = 0; i<segments.length; i++) {
if (segments[i] != '') {
currentPath += segments[i] + '/';
if (ignoreDirectories >= i) {
if (ignoreAsNoLink) {
breadcrumbs += segments[i] + ' / ';
}
homeLink = currentPath;
} else {
breadcrumbs += '<a href="' + currentPath + '">' + segments[i] + '</a> / ';
}
}
}
if (ignoreDirectories !== 0) {
document.getElementById('homelink').setAttribute('href', homeLink);
if (path === homeLink) {
document.querySelector('tr:nth-child(3)').remove();
}
}
var elements = document.getElementsByClassName('header__breadcrumbs');
var n = elements.length;
for (i = 0; i < n; i++) {
var e = elements[i];
e.innerHTML = breadcrumbs;
}
}
</script>
<div class="gradient top"></div>
<div class="container">
<div class="header">
<div class="header__wrapper">
<div class="header__home"><a id="homelink" href="/"><img src="/simple/icons/home.png"/></a></div>
<div class="header__breadcrumbs">/ </div>
<br />
</div>
</div>
<div class="files">