-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatform-coverage.html
More file actions
102 lines (102 loc) · 6.05 KB
/
Copy pathplatform-coverage.html
File metadata and controls
102 lines (102 loc) · 6.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YANG Module Platform Coverage — Cisco IOS XE</title>
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://*.clarity.ms https://*.posthog.com https://*.i.posthog.com; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' https://*.clarity.ms https://*.posthog.com https://*.i.posthog.com;">
<style>
:root {
--bg: #f5f5f5; --panel: #fff; --text: #222; --muted: #666; --border: #e0e0e0;
--accent: #1565C0; --accent-dark: #0D47A1;
--switching: #1976D2; --routing: #2E7D32; --iot: #EF6C00;
--wireless: #6A1B9A; --other: #546E7A;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); }
.header { background: linear-gradient(135deg, #1565C0, #0D47A1); color: #fff; padding: 24px 20px; }
.header h1 { margin: 0 0 6px; font-size: 1.6rem; }
.header p { margin: 0; opacity: 0.9; font-size: 0.95rem; }
.header nav { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.header nav a { background: rgba(255,255,255,0.15); color: #fff; padding: 5px 12px;
text-decoration: none; border-radius: 16px; font-size: 0.85rem; }
.header nav a:hover { background: rgba(255,255,255,0.28); }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; }
.controls { background: var(--panel); padding: 16px; border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-wrap: wrap;
gap: 14px; align-items: center; margin-bottom: 16px; }
.controls label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.controls select, .controls input[type="search"] {
padding: 7px 10px; border: 1px solid var(--border); border-radius: 4px;
font-size: 0.9rem; font-family: inherit; }
.controls input[type="search"] { min-width: 240px; }
.controls button { background: var(--accent); color: #fff; border: 0; padding: 7px 14px;
border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: 500; }
.controls button:hover { background: var(--accent-dark); }
.summary { color: var(--muted); font-size: 0.85rem; margin-left: auto; }
.matrix-wrap { background: var(--panel); border-radius: 8px; overflow: auto;
box-shadow: 0 2px 8px rgba(0,0,0,0.06); max-height: calc(100vh - 260px); }
table.matrix { border-collapse: collapse; width: 100%; font-size: 0.85rem; }
table.matrix th, table.matrix td { padding: 6px 8px; text-align: center;
border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
table.matrix thead th { position: sticky; top: 0; background: #f7f7f7; z-index: 2;
font-weight: 600; }
table.matrix th.module-col, table.matrix td.module-col {
text-align: left; position: sticky; left: 0; background: var(--panel);
z-index: 1; max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
table.matrix thead th.module-col { background: #f7f7f7; z-index: 3; }
table.matrix tbody tr:hover td { background: #fafcff; }
.plat-head { display: inline-block; padding: 3px 8px; border-radius: 10px;
color: #fff; font-size: 0.75rem; font-weight: 600; }
.plat-head[data-family="switching"] { background: var(--switching); }
.plat-head[data-family="routing"] { background: var(--routing); }
.plat-head[data-family="iot"] { background: var(--iot); }
.plat-head[data-family="wireless"] { background: var(--wireless); }
.plat-head[data-family="other"] { background: var(--other); }
.yes { color: #2E7D32; font-weight: 700; font-size: 1rem; }
.no { color: #ccc; }
.module-name { color: var(--accent); text-decoration: none; }
.module-name:hover { text-decoration: underline; }
.revision { color: var(--muted); font-size: 0.75rem; margin-left: 6px; }
#status { padding: 14px 18px; color: var(--muted); font-style: italic; }
#status.error { color: #c62828; font-style: normal; }
</style>
<!-- BEGIN pwa (managed by scripts/inject_pwa.py) -->
<link rel="manifest" href="site.webmanifest">
<script src="assets/js/analytics-config.js"></script>
<script src="assets/js/sw-register.js" defer></script>
<script src="assets/js/analytics.js" defer></script>
<!-- END pwa -->
</head>
<body>
<div class="header">
<h1>YANG Module Platform Coverage</h1>
<p>Which Cisco IOS XE platforms support each YANG module, derived from per-release NETCONF capability files.</p>
<nav>
<a href="index.html">Home</a>
<a href="yang-trees/">Trees</a>
<a href="telemetry.html">Telemetry & Notifications</a>
<a href="yang-accountability.html">Module Accountability</a>
</nav>
</div>
<div class="container">
<div class="controls">
<label for="releaseSel">Release</label>
<select id="releaseSel"></select>
<label for="filter">Filter</label>
<input type="search" id="filter" placeholder="Module name substring (e.g. ospf, mpls, native)…">
<label for="platSel">Platform</label>
<select id="platSel"><option value="">(any)</option></select>
<button id="exportBtn" type="button">Export CSV</button>
<span class="summary" id="summary"></span>
</div>
<div id="status">Loading…</div>
<div class="matrix-wrap" id="matrixWrap" style="display:none;">
<table class="matrix" id="matrix"></table>
</div>
</div>
<script src="assets/js/platform-coverage.js"></script>
<script src="assets/js/sw-register.js" defer></script>
</body>
</html>