-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdatabrowser.html
More file actions
81 lines (73 loc) · 2.68 KB
/
Copy pathdatabrowser.html
File metadata and controls
81 lines (73 loc) · 2.68 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, viewport-fit=cover"/>
<title>SolidOS</title>
<script>
document.addEventListener('DOMContentLoaded', function() {
panes.runDataBrowser()
var header = document.getElementById('mainSolidUiHeader')
if (!header) return
var syncHeaderHeight = function () {
var height = header.getBoundingClientRect().height
if (height > 0) {
var rootFontSize = parseFloat(
getComputedStyle(document.documentElement).fontSize
)
document.documentElement.style.setProperty(
'--app-header-height',
(height / rootFontSize) + 'rem'
)
}
}
syncHeaderHeight()
if ('ResizeObserver' in window) {
new ResizeObserver(syncHeaderHeight).observe(header)
} else {
window.addEventListener('resize', syncHeaderHeight)
}
})
</script>
</head>
<body id="PageBody" data-app-shell="databrowser">
<solid-ui-provider>
<!-- Skip-navigation link (accessibility) -->
<a href="#MainContent" class="skip-link">Skip to main content</a>
<!-- Header — populated by solid-panes createHeader(), plus responsive menu toggle -->
<!-- Main content area — single visible region at a time -->
<div class="app-main" tabindex="-1" aria-live="polite">
<div class="app-shell">
<main id="MainContent" class="app-view">
<!--
Outline view: the primary RDF-subject browser.
JS appends property-table <div>s (not <tr>s) here.
-->
<table
id="OutlineView"
class="outline-view"
aria-label="Resource browser"
>
<!--
Pane icon tray (nav) and pane content are injected here by
OutlineManager.GotoSubject / propertyTable / outlineExpand.
Each subject block is a <article class="subject-block">.
-->
</table>
<!--
Global Dashboard: preferences, profile, contacts, etc.
Hidden by default; toggled by showDashboard / closeDashboard.
-->
<section
id="GlobalDashboard"
class="global-dashboard"
aria-label="Dashboard"
hidden
>
<!-- globalAppTabs appends tab widget here -->
</section>
</main> <!-- .app-view -->
</div> <!-- .app-shell -->
</solid-ui-provider>
</body>
</html>