Initial commit

This commit is contained in:
2023-08-18 21:57:16 +03:00
parent f71a710ede
commit 1734bcdea3
23 changed files with 1634 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Browser">
<title>Index of </title>
<link rel="shortcut icon" href="https://picocss.com/favicon.ico">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"
integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous"/>
<!-- Pico.css -->
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
<!-- Custom template-->
<link rel="stylesheet" href="/stylesheet.css">
<style></style>
</head>
<body>
<header class="container">
<h5>Browse</h5>
<nav>
<ul class="breadcrumbs">
<li><a href="/"><i class="fa fa-home"></i></a></li>
{{#breadcrumbs}}
<li><a href="/?path={{fullName}}">{{name}}</a></li>
{{/breadcrumbs}}
</ul>
</nav>
</header>
<!-- Main -->
<main class="container">
<!-- Tables -->
<section id="tables">
<figure>
<table role="grid">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Date</th>
<th scope="col">Size</th>
</tr>
</thead>
<tbody>
{{#files}}
<tr>
<th scope="row">
{{#dir}}
<a href="/?path={{fullName}}">
<i class="fa fa-folder"></i>
{{name}}
</a>
{{/dir}}
{{^dir}}
<a href="/edit?path={{fullName}}">
<i class="fa fa-file"></i>
{{name}}
</a>
{{/dir}}
</th>
<td>{{modifiedAt}}</td>
<td>{{size}}</td>
</tr>
{{/files}}
</tbody>
</table>
</figure>
</section><!-- ./ Tables -->
</main><!-- ./ Main -->
<!-- Footer -->
<footer class="container">
<details role="list">
<summary aria-haspopup="listbox" role="button" class="secondary">Theme</summary>
<ul role="listbox">
<li><a href="#" data-theme-switcher="auto">Auto</a></li>
<li><a href="#" data-theme-switcher="light">Light</a></li>
<li><a href="#" data-theme-switcher="dark">Dark</a></li>
</ul>
</details>
<small>Built with <a href="https://picocss.com">Pico</a> • <a
href="https://github.com/picocss/examples/blob/master/basic-template/">Source code</a></small>
</footer><!-- ./ Footer -->
<!-- Minimal theme switcher -->
<script src="../js/minimal-theme-switcher.js"></script>
</body>
</html>