-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
161 lines (148 loc) · 8.1 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex,nofollow" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="msapplication-starturl" content="/">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@mytwittername" />
<meta name="twitter:title" content="Progressive Responsive Layout" />
<meta name="twitter:description" content="Classic but progressive template for data-driven pages." />
<meta name="twitter:image" content="https://dev.rasal.de/PRL/img/screenshot.png" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Progressive Responsive Layout" />
<meta property="og:description" content="Classic but progressive template for data-driven pages." />
<meta property="og:url" content="https://dev.rasal.de/PRL/" />
<meta property="og:image" content="https://dev.rasal.de/PRL/img/screenshot.png" />
<title>Progressive Responsive Layout</title>
<meta name="description" content="Classic but progressive template for data-driven pages." />
<meta name="author" content="KoljaL" />
<meta name="copyright" content="MIT" />
<link rel="manifest" href="manifest.json">
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="img/browser/icon.svg" type="image/svg+xml">
<link rel="stylesheet" href="./css/layout.css">
<style>
</style>
</head>
<body>
<div id="PRL">
<header>
<img src="img/browser/icon.svg" alt="RPL" />
<h1 class="page_name">P-R-L</h1>
</header>
<nav>
<div class="sidebar_header">
<span id="toggleSidebar"></span>
<span class="sidebar_title">Menu</span>
<span id="expandSubLists"></span>
</div>
<div class="sidebar_body">
<ul>
<li data-link="dino">
<span class="link_text"><span class="icon link_icon"></span>Dinosaur</span>
<ul class="subList">
<li data-link="link1.1"><span class="link_text">Link 1.1</span></li>
<li data-link="link1.2"><span class="link_text">Link 1.2</span></li>
<li data-link="link1.3"><span class="link_text">Link 1.3</span></li>
<li data-link="link1.4"><span class="link_text">Link 1.4</span></li>
<li data-link="link1.5"><span class="link_text">Link 1.5</span></li>
<li data-link="link1.6"><span class="link_text">Link 1.6</span></li>
</ul>
</li>
<li data-link="solar">
<span class="link_text"><span class="icon speech_icon"></span>Solarsystem</span>
</li>
<li data-link="link3">
<span class="link_text"><span class="icon user_icon"></span>Link 3</span>
<ul class="subList">
<li data-link="link3.1"><span class="link_text">Link 3.1</span></li>
<li data-link="link3.2"><span class="link_text">Link 3.2</span></li>
<li data-link="link3.3"><span class="link_text">Link 3.3</span></li>
<li data-link="link3.4"><span class="link_text">Link 3.4</span></li>
</ul>
</li>
<li data-link="form">
<span class="link_text"><span class="icon email_icon"></span>Form</span>
<ul class="subList">
<li data-link="form2"><span class="link_text">Form 2</span></li>
<li data-link="form3"><span class="link_text">Form 3</span></li>
<li data-link="link4.3"><span class="link_text">Link 4.3</span></li>
</ul>
</li>
<li data-link="flex">
<span class="link_text"><span class="icon calendar_icon"></span>Flex</span>
<ul class="subList">
<li data-link="link5.1"><span class="link_text">Link 5.1</span></li>
<li data-link="link5.2"><span class="link_text">Link 5.2</span></li>
</ul>
</li>
<li data-link="link6">
<span class="link_text"><span class="icon file_icon"></span>Link 6</span>
<ul class="subList">
<li data-link="link6.1"><span class="link_text">Link 6.1</span></li>
<li data-link="link6.2"><span class="link_text">Link 6.2</span></li>
<li data-link="link6.3"><span class="link_text">Link 6.3</span></li>
<li data-link="link6.4"><span class="link_text">Link 6.4</span></li>
<li data-link="link6.5"><span class="link_text">Link 6.5</span></li>
<li data-link="link6.6"><span class="link_text">Link 6.6</span></li>
</ul>
</li>
<li data-link="link7">
<span class="link_text"><span class="icon updown_icon"></span>Link 7</span>
<ul class="subList">
<li data-link="link7.1"><span class="link_text">Link 7.1</span></li>
<li data-link="link7.2"><span class="link_text">Link 7.2</span></li>
<li data-link="link7.3"><span class="link_text">Link 7.3</span></li>
<li data-link="link7.4"><span class="link_text">Link 7.4</span></li>
<li data-link="link7.5"><span class="link_text">Link 7.5</span></li>
<li data-link="link7.6"><span class="link_text">Link 7.6</span></li>
</ul>
</li>
</ul>
</div>
<div class="sidebar_footer"></div>
</nav>
<main id="main">
<h2>Content</h2>
<h3>...</h3>
</main>
<footer>
<div class="withLove">
<a href="https://github.com/KoljaL/ClassicResponsiveLayout" title="Link to Github Repository" target="_blank">
Made with
<svg viewBox="0 0 1792 1792" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" style="height: 0.5rem">
<path fill="#8E1B1B" d="M896 1664q-26 0-44-18l-624-602q-10-8-27.5-26T145 952.5 77 855 23.5 734 0 596q0-220 127-344t351-124q62 0 126.5 21.5t120 58T820 276t76 68q36-36 76-68t95.5-68.5 120-58T1314 128q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18z"></path>
</svg>
by
<img src="https://rasal.de/img/ClassicResponsiveLayout-15.png" alt="ClassicResponsiveLayout" />
</a>
</div>
</footer>
</div>
<script src="./js/layout.js">
</script>
<script>
function demoContent(file) {
fetch('demo/' + file + '.html')
.then(function(response) {
if (response.ok) {
return response.text()
} else {
throw Error(response.statusText);
}
return response;
}).then(function(response) {
document.getElementById('main').innerHTML = response;
}).catch(function(error) {
document.getElementById('main').innerHTML = "<h1>no file <small style='font-size: .5em'> just a demo</small></h1>";
});
}
// demoContent('flex')
</script>
</body>
</html>