1
1
<!DOCTYPE html>
2
2
< html class ="pl-c-html ">
3
-
4
- < head >
5
- < title id ="title "> Pattern Lab</ title >
6
- < meta charset ="UTF-8 ">
7
- < meta name ="viewport " content ="initial-scale=1, width=device-width, viewport-fit=cover ">
8
- < meta name ="theme-color " content ="#ababab " />
9
- < link rel ="stylesheet " href ="styleguide/css/pattern-lab.css " media ="all " />
10
-
11
- </ head >
12
-
13
- < body class ="pl-c-body ">
14
-
15
- < pl-layout >
16
- < pl-header > </ pl-header >
17
-
18
- <!-- wrapper so the iframe + modal can switch flex directions in vertical vs horizontal layouts -->
19
- < div class ="pl-c-viewport-modal-wrapper ">
20
- ${require('./partials/iframe.html') }
21
- < pl-drawer > </ pl-drawer >
22
- </ div >
23
- </ pl-layout >
24
-
25
-
26
-
27
- < script type ="text/mustache " class ="pl-js-ish-controls-template ">
28
- $ { require ( './partials/controls.html' ) }
29
- </ script >
30
-
31
- <!-- the template for the modal slider -->
32
- < script type ="text/mustache " class ="pl-js-panel-template-base ">
33
- $ { require ( './partials/base-template.html' ) }
34
- </ script >
35
-
36
- <!-- the template for code-related tabs in the code view slider -->
37
- < script type ="text/mustache " id ="pl-panel-template-code ">
38
- $ { require ( './partials/panel-code-template.html' ) }
39
- </ script >
40
-
41
- <!-- load Pattern Lab data -->
42
- < script src ="styleguide/data/patternlab-data.js " defer > </ script >
43
- < script src ="annotations/annotations.js " defer > </ script >
44
- < script src ="styleguide/js/patternlab-viewer.js " defer > </ script >
45
-
46
- < script >
47
- // Check that service workers are registered
48
- // @todo : uncomment once cache-busting strategy is in place
49
- // if ('serviceWorker' in navigator) {
50
- // // Use the window load event to keep the page load performant
51
- // window.addEventListener('load', () => {
52
- // navigator.serviceWorker.register('/sw.js');
53
- // });
54
- // }
55
- </ script >
56
-
57
-
58
- </ body >
59
-
60
- </ html >
3
+ < head >
4
+ < title id ="title "> Pattern Lab</ title >
5
+ < meta charset ="UTF-8 " />
6
+ < meta
7
+ name ="viewport "
8
+ content ="initial-scale=1, width=device-width, viewport-fit=cover "
9
+ />
10
+ < meta name ="theme-color " content ="#ababab " />
11
+ < link rel ="stylesheet " href ="styleguide/css/pattern-lab.css " media ="all " />
12
+ </ head >
13
+
14
+ < body class ="pl-c-body ">
15
+ < pl-layout >
16
+ < pl-header > </ pl-header >
17
+
18
+ < div class ="pl-c-viewport-modal-wrapper ">
19
+ < pl-iframe > </ pl-iframe >
20
+ < pl-drawer > </ pl-drawer >
21
+ </ div >
22
+ </ pl-layout >
23
+
24
+ <!-- the template for the modal slider -->
25
+ < script type ="text/mustache " class ="pl-js-panel-template-base ">
26
+ $ { require ( './partials/base-template.html' ) }
27
+ </ script >
28
+
29
+ <!-- the template for code-related tabs in the code view slider -->
30
+ < script type ="text/mustache " id ="pl-panel-template-code ">
31
+ $ { require ( './partials/panel-code-template.html' ) }
32
+ </ script >
33
+
34
+ <!-- load Pattern Lab data -->
35
+ < script src ="styleguide/data/patternlab-data.js " defer > </ script >
36
+ < script src ="annotations/annotations.js " defer > </ script >
37
+ < script src ="styleguide/js/patternlab-viewer.js " defer > </ script >
38
+
39
+ < script >
40
+ // Check that service workers are registered
41
+ // @todo : uncomment once cache-busting strategy is in place
42
+ // if ('serviceWorker' in navigator) {
43
+ // // Use the window load event to keep the page load performant
44
+ // window.addEventListener('load', () => {
45
+ // navigator.serviceWorker.register('/sw.js');
46
+ // });
47
+ // }
48
+ </ script >
49
+ </ body >
50
+ </ html >
0 commit comments