-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvisualization.html
More file actions
81 lines (74 loc) · 3.23 KB
/
visualization.html
File metadata and controls
81 lines (74 loc) · 3.23 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WDProp: Language Codes: John Samuel</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="wdprop.js"></script>
<script src="visualization.js"></script>
</head>
<body onload="initVisualization()">
<div id="mobile-menu-toggle" onclick="toggleMobileMenu()">
<span></span>
<span></span>
<span></span>
</div>
<div id="header">
<div id="logo"><a href="./index.html">WDProp</a>
<span id="subtitle">Everything about Wikidata properties</span>
</div>
<div id="theme-toggle" onclick="toggleTheme()" title="Toggle theme"></div>
</div>
<div id="sidebar">
<div id="sidebarlinks">
<ul>
<li><a href="./index.html">📊 Dashboard</a></li>
<li><a href="./languages.html">🌍 Languages</a></li>
<li><a href="./datatypes.html">📊 Data types</a></li>
<li><a href="./properties.html">🔧 Properties</a></li>
<li><a href="./classes.html">📦 Property Classes</a></li>
<li><a href="./provenance.html">📜 Provenance</a></li>
<li><a href="./search.html">🔍 Search</a></li>
<li><a href="./compare.html">⚖️ Compare</a></li>
<li><a href="templates/translated.html">💬 Property Discussion</a></li>
<li><a href="./wikiprojects.html">🚀 Wikiprojects</a></li>
<li><a href="./wdprop.html">ℹ️ About</a> </li>
</ul>
</div>
</div>
<div id="content">
<!-- Hero with search -->
<div class="viz-hero">
<h2 class="viz-hero-title">Language Codes</h2>
<p class="viz-hero-subtitle">All languages supported by Wikidata properties — search by code or name</p>
<div class="viz-search-wrap">
<span class="viz-search-icon">🔍</span>
<input id="viz-search" type="text" class="viz-search-field" placeholder="e.g. French, de, be-tarask…" autocomplete="off" />
</div>
</div>
<!-- Status / error messages -->
<div id="viz-loading" class="wdprop-loading" style="display:block;"></div>
<p id="viz-error" class="viz-status viz-status-error" style="display:none;">Failed to fetch data. Please check your connection and try again.</p>
<!-- Table -->
<div class="viz-table-wrapper">
<div class="viz-table-header">
<span class="viz-table-count">Showing <strong id="viz-count">…</strong> languages</span>
</div>
<table class="viz-table">
<thead>
<tr>
<th>Code</th>
<th>Language</th>
</tr>
</thead>
<tbody id="viz-tbody">
</tbody>
</table>
</div>
</div>
<div id="footer">
<p id="footertext">Powered by <a href="https://www.wikidata.org/">Wikidata</a> and <a href="https://mediawiki.org/">MediaWiki</a> API</p>
</div>
</body>
</html>