-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
175 lines (169 loc) · 6.44 KB
/
index.html
File metadata and controls
175 lines (169 loc) · 6.44 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Dataverse People</title>
<script>
(function (l) {
if (l.search[1] === "/") {
var basePath = l.hostname.endsWith(".github.io")
? l.pathname.replace(/\/$/, "")
: "";
var decoded = l.search
.slice(1)
.split("&")
.map(function (segment) {
return segment.replace(/~and~/g, "&");
})
.join("?");
window.history.replaceState(null, "", basePath + decoded + l.hash);
}
})(window.location);
</script>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div class="page-shell">
<header class="hero">
<h1><a class="hero-home-link" href="./">Dataverse People</a></h1>
<p class="hero-copy">
Members of the <a href="https://dataverse.org" target="_blank">Dataverse</a> community.
</p>
<a
class="hero-project-link"
href="https://dataverse.org"
target="_blank"
rel="noreferrer"
aria-label="Open the Dataverse project website"
>
<img
class="hero-project-logo"
src="./assets/dataverse-project-logo.svg"
alt="Dataverse project logo"
/>
</a>
</header>
<main class="layout">
<section id="overview-panel" class="panel stats-panel" aria-label="Overview">
<div class="stat-card">
<span class="stat-label">Members</span>
<strong id="profile-count">0</strong>
</div>
<div class="stat-card">
<span class="stat-label">Installations</span>
<strong id="installation-count">0</strong>
</div>
<div class="stat-card">
<span class="stat-label">Countries</span>
<strong id="country-count">0</strong>
</div>
<div class="stat-card">
<span class="stat-label">Continents</span>
<strong id="continent-count">0</strong>
</div>
</section>
<section id="filters-panel" class="panel controls-panel" aria-label="Filters">
<label class="field">
<span>Search</span>
<input
id="search-input"
type="search"
placeholder="Name, installation, country..."
/>
</label>
<label class="field">
<span>Installation</span>
<select id="installation-filter">
<option value="">All installations</option>
</select>
</label>
<label class="field">
<span>Country</span>
<select id="country-filter">
<option value="">All countries</option>
</select>
</label>
<label class="field">
<span>Continent</span>
<select id="continent-filter">
<option value="">All continents</option>
</select>
</label>
<button id="reset-button" class="ghost-button" type="button">
Reset filters
</button>
</section>
<section id="results-panel" class="results-header" aria-label="Results summary">
<div>
<h2>Members</h2>
<p id="results-copy">Loading directory…</p>
</div>
</section>
<section id="card-grid" class="card-grid" aria-live="polite"></section>
<section id="member-route-actions" class="member-route-actions" hidden>
<a class="ghost-button" href="./">Back to all members</a>
</section>
<section class="source-note source-note-footer" aria-label="Data source note">
<span id="source-badge" class="badge">Snapshot</span>
<span id="updated-at">Waiting for data</span>
</section>
<section class="project-footer-link" aria-label="Project source code">
<p class="project-footer-copy">Feedback and contributions are welcome! ❤️ You can make people.dataverse.org better!</p>
<div class="project-footer-actions">
<a
class="project-footer-anchor"
href="https://github.com/gdcc/people.dataverse.org"
target="_blank"
rel="noreferrer"
>
<img class="project-footer-icon" src="./assets/github.svg" alt="" aria-hidden="true" />
<span>Open the project on GitHub</span>
</a>
<a
class="project-footer-anchor"
href="https://dataverse.zulipchat.com/#narrow/channel/375707-community/topic/people.2Edataverse.2Eorg/with/583596564"
target="_blank"
rel="noreferrer"
>
<img class="project-footer-icon" src="./assets/zulip.svg" alt="" aria-hidden="true" />
<span>Join the discussion on Zulip</span>
</a>
</div>
</section>
</main>
</div>
<template id="member-card-template">
<article class="member-card">
<div class="member-card-header">
<a class="member-avatar-link" href="#">
<img class="member-avatar" alt="" loading="lazy" />
</a>
<div class="member-heading">
<h3 class="member-name"></h3>
<div class="member-identities">
<div class="member-github-row" hidden>
<a class="member-display-name" target="_blank" rel="noreferrer">
<img class="member-display-icon" src="./assets/github.svg" alt="" aria-hidden="true" />
<span class="member-display-handle"></span>
</a>
</div>
<a class="member-zulip-link" hidden target="_blank" rel="noreferrer">
<img class="member-display-icon" src="./assets/zulip.svg" alt="" aria-hidden="true" />
<span class="member-zulip-label">Zulip</span>
</a>
</div>
</div>
</div>
<p class="member-bio" hidden></p>
<dl class="member-meta"></dl>
<section class="member-see-also" hidden>
<h4 class="member-see-also-title">See also</h4>
<a class="member-see-also-link" target="_blank" rel="noreferrer"></a>
</section>
<div class="member-links"></div>
</article>
</template>
<script type="module" src="./app.js"></script>
</body>
</html>