All checks were successful
Deploy on webserver / Build site and deploy on success (push) Successful in 2m16s
31 lines
No EOL
1.1 KiB
HTML
31 lines
No EOL
1.1 KiB
HTML
<section>
|
|
<script>
|
|
const HUGO_ICONS = {
|
|
folder: `{{ partial "icon.html" "mdi-folder" | safeJS }}`,
|
|
folderOpen: `{{ partial "icon.html" "mdi-folder-open" | safeJS }}`,
|
|
file: `{{ partial "icon.html" "mdi-file" | safeJS }}`
|
|
};
|
|
</script>
|
|
<h1 class="mt-2 mb-2 text-2xl font-extrabold text-neutral-900 dark:text-neutral inline-flex items-center">
|
|
Distributions
|
|
</h1>
|
|
<div class="distribution-tabs">
|
|
<div class="distribution-selector">
|
|
<select id="distribution-select" class="text-neutral-900 dark:text-neutral">
|
|
<option value="">Select a distribution...</option>
|
|
{{ range $index, $items := . }}
|
|
<option value="{{ .commit }}">{{ .display_label }}</option>
|
|
{{ end }}
|
|
</select>
|
|
</div>
|
|
<div class="tab-content">
|
|
{{ range $index, $items := . }}
|
|
<div id="{{ .commit }}" class="tab-pane">
|
|
<ul id="filetree{{.commit}}"></ul>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
<script src="/filetree.js"></script>
|
|
<link rel="stylesheet" href="/filetree.css">
|
|
</section> |