Skip to content

Commit fc35bac

Browse files
gergo85Smankusors
authored andcommitted
chore: fix links url and add meta tags
1 parent 352dd7b commit fc35bac

22 files changed

+648
-679
lines changed

test/html/autocomplete.html

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
<html>
2-
1+
<!doctype html>
2+
<html lang="en">
33
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
66

77
<title>Materialize - Documentation</title>
88

99
<!-- Favicons -->
10-
<link rel="apple-touch-icon-precomposed" href="images/favicon/apple-touch-icon-152x152.png">
10+
<link rel="apple-touch-icon-precomposed" href="../../docs/images/favicon/apple-touch-icon-152x152.png">
1111
<meta name="msapplication-TileColor" content="#FFFFFF">
1212
<meta name="msapplication-TileImage" content="images/favicon/mstile-144x144.png">
13-
<link rel="icon" href="../../images/favicon/favicon-32x32.png" sizes="32x32">
13+
<link rel="icon" href="../../docs/images/favicon/favicon-32x32.png" sizes="32x32">
1414

1515
<!-- Android 5 Chrome Color -->
1616
<meta name="theme-color" content="#EE6E73">
1717

18-
<link href="../../bin/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
19-
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
20-
21-
<link href="../../css/prism.css" rel="stylesheet" />
18+
<link href="../../dist/css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection">
19+
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
2220

21+
<link href="../../docs/css/prism.css" rel="stylesheet">
2322
</head>
24-
2523
<body>
2624

2725
<div class="container">
@@ -129,13 +127,15 @@ <h5>Pre-populate chips</h5>
129127
</div>
130128
</div>
131129
</div>
132-
</div> -->
130+
</div>
131+
-->
133132

134133
</div>
135134

136-
<!-- Scripts-->
135+
<!-- Scripts -->
137136
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
138-
<script src="../../bin/materialize.js"></script>
137+
<script src="../../dist/js/materialize.js"></script>
138+
139139
<script>
140140
const defaultData = {
141141
"Apple": null,
@@ -181,15 +181,14 @@ <h5>Pre-populate chips</h5>
181181
allowUnsafeHTML: true
182182
}
183183

184-
document.addEventListener('DOMContentLoaded', function () {
184+
document.addEventListener('DOMContentLoaded', function() {
185185
M.Autocomplete.init(document.getElementById('autocomplete-1'), a1);
186186
M.Autocomplete.init(document.getElementById('autocomplete-2'), a2);
187187
M.Autocomplete.init(document.getElementById('autocomplete-3'), a3);
188188
M.Autocomplete.init(document.getElementById('autocomplete-4'), a4);
189189
M.Autocomplete.init(document.getElementById('autocomplete-5'), a5);
190190
});
191-
192191
</script>
193-
</body>
194192

193+
</body>
195194
</html>

test/html/badges.html

Lines changed: 76 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,92 @@
1-
<html>
1+
<!doctype html>
2+
<html lang="en">
23
<head>
3-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
4-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
56

6-
<title>Materialize - Documentation</title>
7+
<title>Materialize - Documentation</title>
78

8-
<!-- Favicons -->
9-
<link rel="apple-touch-icon-precomposed" href="images/favicon/apple-touch-icon-152x152.png">
10-
<meta name="msapplication-TileColor" content="#FFFFFF">
11-
<meta name="msapplication-TileImage" content="images/favicon/mstile-144x144.png">
12-
<link rel="icon" href="images/favicon/favicon-32x32.png" sizes="32x32">
9+
<!-- Favicons -->
10+
<link rel="apple-touch-icon-precomposed" href="../../docs/images/favicon/apple-touch-icon-152x152.png">
11+
<meta name="msapplication-TileColor" content="#FFFFFF">
12+
<meta name="msapplication-TileImage" content="images/favicon/mstile-144x144.png">
13+
<link rel="icon" href="../../docs/images/favicon/favicon-32x32.png" sizes="32x32">
1314

14-
<!-- Android 5 Chrome Color -->
15-
<meta name="theme-color" content="#EE6E73">
15+
<!-- Android 5 Chrome Color -->
16+
<meta name="theme-color" content="#EE6E73">
1617

17-
<link href="../../../bin/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
18-
<!-- <link href="css/ghpages-materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />-->
19-
<!-- <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>-->
20-
<link href="../../../css/prism.css" rel="stylesheet" />
21-
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
18+
<link href="../../dist/css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection">
19+
<!-- <link href="../../docs/css/ghpages-materialize.css" type="text/css" rel="stylesheet" media="screen,projection"> -->
20+
<!-- <link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css"> -->
21+
<link href="../../docs/css/prism.css" rel="stylesheet">
22+
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
2223
</head>
23-
2424
<body>
2525

2626
<div style="padding-right: 300px;">
27-
<h3>Badges</h3>
28-
29-
<h4>Collection</h4>
30-
<div class="row">
31-
<div class="col s4">
32-
<div class="collection">
33-
<a href="#!" class="collection-item"><span class="badge">1</span>Alan</a>
34-
<a href="#!" class="collection-item"><span class="new badge">4</span>Alan</a>
35-
<a href="#!" class="collection-item"><span class="new badge blue">4</span>Alan</a>
36-
<a href="#!" class="collection-item"><span class="new badge black-text">4</span>Alan</a>
37-
<a href="#!" class="collection-item">Alan</a>
38-
<a href="#!" class="collection-item"><span class="badge">14</span>Really long text Really long text Really long text Really long text Really long text Really long text</a>
39-
<a href="#!" class="collection-item"><span class="new badge">4</span>Really long text Really long text Really long text Really long text Really long text Really long text</a>
40-
27+
<h3>Badges</h3>
28+
29+
<h4>Collection</h4>
30+
<div class="row">
31+
<div class="col s4">
32+
<div class="collection">
33+
<a href="#!" class="collection-item"><span class="badge">1</span>Alan</a>
34+
<a href="#!" class="collection-item"><span class="new badge">4</span>Alan</a>
35+
<a href="#!" class="collection-item"><span class="new badge blue">4</span>Alan</a>
36+
<a href="#!" class="collection-item"><span class="new badge black-text">4</span>Alan</a>
37+
<a href="#!" class="collection-item">Alan</a>
38+
<a href="#!" class="collection-item"><span class="badge">14</span>Really long text Really long text Really long text Really long text Really long text Really long text</a>
39+
<a href="#!" class="collection-item"><span class="new badge">4</span>Really long text Really long text Really long text Really long text Really long text Really long text</a>
40+
</div>
4141
</div>
4242
</div>
43-
</div>
44-
45-
<h4>Dropdown</h4>
46-
<div class="row">
47-
<div class="col s4">
48-
<ul id="dropdown2" class="dropdown-content">
49-
<li><a href="#!">one<span class="badge">1</span></a></li>
50-
<li><a href="#!">two<span class="new badge">1</span></a></li>
51-
<li><a href="#!">two<span class="new badge blue">1</span></a></li>
52-
<li><a href="#!">two<span class="new badge black-text">1</span></a></li>
53-
<li><a href="#!">three</a></li>
54-
<li><a href="#!"><span class="badge">1</span>Really long text Really long text Really long text Really long text Really long text Really long text</a></li>
55-
<li><a href="#!"><span class="new badge">1</span>Really long text Really long text Really long text Really long text Really long text Really long text</a></li>
56-
</ul>
57-
<a class="btn dropdown-trigger" href="#!" data-target="dropdown2">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
58-
</div>
59-
<div class="col s4">
60-
<ul id="dropdown3" class="dropdown-content">
61-
<li><a href="#!">one<span class="badge">1</span></a></li>
62-
<li><a href="#!">two<span class="new badge">1</span></a></li>
63-
<li><a href="#!">two<span class="new badge blue">1</span></a></li>
64-
<li><a href="#!">two<span class="new badge black-text">1</span></a></li>
65-
<li><a href="#!">three</a></li>
66-
<li><a href="#!">Really long text Really long text Really long text Really long text Really long text<span class="badge">1</span></a></li>
67-
<li><a href="#!">Really long text Really long text Really long text Really long text Really long text<span class="new badge">1</span></a></li>
68-
6943

70-
</ul>
71-
<a class="btn dropdown-trigger" href="#!" data-constrainwidth="false" data-target="dropdown3">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
44+
<h4>Dropdown</h4>
45+
<div class="row">
46+
<div class="col s4">
47+
<ul id="dropdown2" class="dropdown-content">
48+
<li><a href="#!">one<span class="badge">1</span></a></li>
49+
<li><a href="#!">two<span class="new badge">1</span></a></li>
50+
<li><a href="#!">two<span class="new badge blue">1</span></a></li>
51+
<li><a href="#!">two<span class="new badge black-text">1</span></a></li>
52+
<li><a href="#!">three</a></li>
53+
<li><a href="#!"><span class="badge">1</span>Really long text Really long text Really long text Really long text Really long text Really long text</a></li>
54+
<li><a href="#!"><span class="new badge">1</span>Really long text Really long text Really long text Really long text Really long text Really long text</a></li>
55+
</ul>
56+
<a class="btn dropdown-trigger" href="#!" data-target="dropdown2">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
57+
</div>
58+
<div class="col s4">
59+
<ul id="dropdown3" class="dropdown-content">
60+
<li><a href="#!">one<span class="badge">1</span></a></li>
61+
<li><a href="#!">two<span class="new badge">1</span></a></li>
62+
<li><a href="#!">two<span class="new badge blue">1</span></a></li>
63+
<li><a href="#!">two<span class="new badge black-text">1</span></a></li>
64+
<li><a href="#!">three</a></li>
65+
<li><a href="#!">Really long text Really long text Really long text Really long text Really long text<span class="badge">1</span></a></li>
66+
<li><a href="#!">Really long text Really long text Really long text Really long text Really long text<span class="new badge">1</span></a></li>
67+
</ul>
68+
<a class="btn dropdown-trigger" href="#!" data-constrainwidth="false" data-target="dropdown3">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
69+
</div>
7270
</div>
73-
</div>
7471

75-
<h4>Nav</h4>
76-
<nav>
77-
<div class="nav-wrapper">
78-
<a href="" class="brand-logo">Logo</a>
79-
<ul id="nav-mobile" class="right hide-on-med-and-down">
80-
<li><a href="">sass</a></li>
81-
<li><a href="">sass <span class="new badge">4</span></a></li>
82-
<li><a href="">sass <span class="new badge blue">4</span></a></li>
83-
<li><a href="">sass <span class="new badge black-text">4</span></a></li>
84-
<li><a href="">sass <span class="badge">4</span></a></li>
85-
</ul>
86-
</div>
87-
</nav>
72+
<h4>Nav</h4>
73+
<nav>
74+
<div class="nav-wrapper">
75+
<a href="" class="brand-logo">Logo</a>
76+
<ul id="nav-mobile" class="right hide-on-med-and-down">
77+
<li><a href="">sass</a></li>
78+
<li><a href="">sass <span class="new badge">4</span></a></li>
79+
<li><a href="">sass <span class="new badge blue">4</span></a></li>
80+
<li><a href="">sass <span class="new badge black-text">4</span></a></li>
81+
<li><a href="">sass <span class="badge">4</span></a></li>
82+
</ul>
83+
</div>
84+
</nav>
8885
</div>
8986

9087
<ul id="slide-out" class="sidenav fixed" style="right: 0; left: auto;">
91-
<li>
92-
<a href="#!">Orders <span class="new badge">4</span></a>
93-
</li>
94-
<li>
95-
<a href="#!">Second Sidebar Link <span class="badge">4</span></a>
96-
</li>
88+
<li><a href="#!">Orders <span class="new badge">4</span></a></li>
89+
<li><a href="#!">Second Sidebar Link <span class="badge">4</span></a></li>
9790
</ul>
9891

9992
<h4>Collapsible</h4>
@@ -124,19 +117,15 @@ <h4>Collapsible</h4>
124117
</div>
125118
</div>
126119

127-
128-
129-
<!-- Scripts-->
120+
<!-- Scripts -->
130121
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
131-
<script src="../../../bin/materialize.js"></script>
132-
<!-- <script src="js/velocity.min.js"></script>-->
133-
<!-- <script src="js/leanModal.js"></script>-->
122+
<script src="../../dist/css/materialize.js"></script>
134123

135124
<script>
136-
$(document).ready(function(){
125+
$(document).ready(function() {
137126
$('select').select();
138127
});
139128
</script>
140129

141130
</body>
142-
</html>
131+
</html>

test/html/buttons.html

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,46 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
6-
<title>Documentation - Materialize</title>
7-
<!-- CSS -->
8-
<link href="../../../bin/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
9-
</head>
10-
<body>
11-
12-
<div class="row">
13-
<div class="col s6 container">
14-
<h4>
15-
Anchors
16-
</h4>
17-
<a class="btn-flat waves-effect waves-red" href="#">
18-
btn-flat waves-red
19-
</a>
20-
<a class="btn-flat btn-large waves-effect waves-red" href="#">
21-
btn-flat btn-large waves-red
22-
</a>
23-
<h4>
24-
Buttons
25-
</h4>
26-
<button class="btn-flat waves-effect waves-red">
27-
btn-flat waves-red
28-
</button>
29-
<button class="btn-flat btn-large waves-effect waves-red">
30-
btn-flat btn-large waves-red
31-
</button>
32-
</div>
33-
</div>
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
346

7+
<title>Documentation - Materialize</title>
358

9+
<!-- Favicons -->
10+
<link rel="apple-touch-icon-precomposed" href="../../docs/images/favicon/apple-touch-icon-152x152.png">
11+
<meta name="msapplication-TileColor" content="#FFFFFF">
12+
<meta name="msapplication-TileImage" content="images/favicon/mstile-144x144.png">
13+
<link rel="icon" href=../../docs/images/favicon/favicon-32x32.png" sizes="32x32">
14+
15+
<!-- Android 5 Chrome Color -->
16+
<meta name="theme-color" content="#EE6E73">
17+
18+
<link href="../../dist/css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection">
19+
</head>
20+
<body>
21+
22+
<div class="row">
23+
<div class="col s6 container">
24+
<h4>Anchors</h4>
25+
<a class="btn-flat waves-effect waves-red" href="#">
26+
btn-flat waves-red
27+
</a>
28+
<a class="btn-flat btn-large waves-effect waves-red" href="#">
29+
btn-flat btn-large waves-red
30+
</a>
31+
<h4>Buttons</h4>
32+
<button class="btn-flat waves-effect waves-red">
33+
btn-flat waves-red
34+
</button>
35+
<button class="btn-flat btn-large waves-effect waves-red">
36+
btn-flat btn-large waves-red
37+
</button>
38+
</div>
39+
</div>
40+
41+
<!-- Scripts -->
3642
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
37-
<script src="../../../bin/materialize.js"></script>
38-
39-
<script type="text/javascript">
40-
$( document ).ready(function() {
41-
42-
});
43-
44-
43+
<script src="../../dist/css/materialize.js"></script>
4544

46-
</script>
47-
</body>
45+
</body>
4846
</html>

0 commit comments

Comments
 (0)