-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (107 loc) · 4.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Index of Git Pages</title>
<meta name="description" content="Index page for all Chris Najman Git Pages websites.">
<link rel="stylesheet" href="./css/index.css">
<link rel="icon" type="image/svg+xml" href="./favicon.svg">
<script src="./js/index.js" type="module"></script>
</head>
<body>
<a href="#main-content" class="element-invisible element-focusable skip-link">Skip to main content</a>
<form id="theme-picker" class="theme-picker">
<button id="btn-theme-toggle" class="btn-theme-toggle" aria-pressed>
<svg role="img" class="theme-icon" id="theme-darkmode">
<use href="./img/sprite.svg#moon"></use>
</svg>
<svg role="img" class="theme-icon hide" id="theme-lightmode">
<use href="./img/sprite.svg#sun"></use>
</svg>
<span>Dark Mode:</span> <span id="mode" class="mode"></span>
<span class="btn-theme-state" aria-hidden="true"></span>
</button>
</form>
<div class="page-layout">
<header class="page-header" id="page-header">
<svg role="img" class="icon-logo">
<use href="./img/sprite.svg#icon-logo"></use>
</svg>
<h1>Index of Git Pages</h1>
</header>
<div class="filters-wrapper">
<form id="filters" class="filters">
<h2>Filters:</h2>
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="apps">Apps</button>
<button class="filter-btn" data-filter="snippets">Snippets</button>
<button class="filter-btn" data-filter="challenges">Challenges</button>
<button class="filter-btn" data-filter="frameworks">Frameworks</button>
<button class="filter-btn" data-filter="course">Course</button>
<button class="filter-btn" data-filter="misc">Misc</button>
</form>
</div>
<main class="main">
<article class="article" id="main-content" tabindex="0">
<h2 class="article-header" id="category-heading">All</h2>
<p id="loading-message" class="loading-message"></p>
<p id="category-intro">All Git Pages, most recent first.</p>
<ul class="items-list" id="items-list" role="list"></ul>
<div class="back-to-filters"><a href="#filters">Back to filters</a></div>
</article>
</main>
<footer class="page-footer">
<ul role="list">
<li><a href="https://github.com/chrisnajman/git-pages-index" target="_blank"
rel="noopener noreferrer">GitHub Repository</a></li>
</ul>
</footer>
</div>
<span class="scroll-watcher" aria-hidden="true"></span>
<template id="item-template">
<li class="item-container" data-category>
<div class="item-container-content">
<header class="item-header">
<h3 data-title></h3>
<div class="first-commit">
<h4>First commit:</h4>
<span data-commit></span>
</div>
</header>
<div class="img-desc"><img data-src width="250" src="./img/placeholder.png" aria-hidden="true"
class="lazy-loaded-image lazy" alt="">
<div class="desc-features">
<div>
<h4>Description</h4>
<p class="description" data-description></p>
</div>
<div class="features">
<h4>Features</h4>
<ul data-features role="list"></ul>
</div>
<div class="category">
<h4>Category:</h4>
<p data-item-category></p>
</div>
</div>
</div>
<div class="links">
<div>
<h4 class="visually-hidden"><span data-title></span>:</h4>
<a class="git-link" data-repo-link target="_blank" rel="noopener noreferrer"
title="Opens in a new tab">Git
repository</a>
</div>
<div>
<h4 class="visually-hidden"><span data-title></span>:</h4>
<a class="git-link" data-page-link target="_blank" rel="noopener noreferrer"
title="Opens in a new tab">Git
Page</a>
</div>
</div>
</div>
</li>
</template>
</body>
</html>