blob: 84bf137b1d63230bb7c39dc026f3cd586a665a43 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!doctype html>
2<!--
3 Material Design Lite
4 Copyright 2015 Google Inc. All rights reserved.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 https://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License
17-->
18<html lang="en">
19 <head>
20 <meta charset="utf-8">
21 <meta http-equiv="X-UA-Compatible" content="IE=edge">
22 <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
23 <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
24 <title>Material Design Lite</title>
25
26 <!-- Add to homescreen for Chrome on Android -->
27 <meta name="mobile-web-app-capable" content="yes">
28 <link rel="icon" sizes="192x192" href="images/android-desktop.png">
29
30 <!-- Add to homescreen for Safari on iOS -->
31 <meta name="apple-mobile-web-app-capable" content="yes">
32 <meta name="apple-mobile-web-app-status-bar-style" content="black">
33 <meta name="apple-mobile-web-app-title" content="Material Design Lite">
34 <link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png">
35
36 <!-- Tile icon for Win8 (144x144 + tile color) -->
37 <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
38 <meta name="msapplication-TileColor" content="#3372DF">
39
40 <link rel="shortcut icon" href="images/favicon.png">
41
42 <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
43 <!--
44 <link rel="canonical" href="http://www.example.com/">
45 -->
46
47 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
48 <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
49 <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.cyan-light_blue.min.css">
50 <link rel="stylesheet" href="styles.css">
51 <style>
52 #view-source {
53 position: fixed;
54 display: block;
55 right: 0;
56 bottom: 0;
57 margin-right: 40px;
58 margin-bottom: 40px;
59 z-index: 900;
60 }
61 </style>
62 </head>
63 <body>
64 <div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
65 <header class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
66 <div class="mdl-layout__header-row">
67 <span class="mdl-layout-title">Home</span>
68 <div class="mdl-layout-spacer"></div>
69 <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable">
70 <label class="mdl-button mdl-js-button mdl-button--icon" for="search">
71 <i class="material-icons">search</i>
72 </label>
73 <div class="mdl-textfield__expandable-holder">
74 <input class="mdl-textfield__input" type="text" id="search">
75 <label class="mdl-textfield__label" for="search">Enter your query...</label>
76 </div>
77 </div>
78 <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="hdrbtn">
79 <i class="material-icons">more_vert</i>
80 </button>
81 <ul class="mdl-menu mdl-js-menu mdl-js-ripple-effect mdl-menu--bottom-right" for="hdrbtn">
82 <li class="mdl-menu__item">About</li>
83 <li class="mdl-menu__item">Contact</li>
84 <li class="mdl-menu__item">Legal information</li>
85 </ul>
86 </div>
87 </header>
88 <div class="demo-drawer mdl-layout__drawer mdl-color--blue-grey-900 mdl-color-text--blue-grey-50">
89 <header class="demo-drawer-header">
90 <img src="images/user.jpg" class="demo-avatar">
91 <div class="demo-avatar-dropdown">
92 <span>hello@example.com</span>
93 <div class="mdl-layout-spacer"></div>
94 <button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
95 <i class="material-icons" role="presentation">arrow_drop_down</i>
96 <span class="visuallyhidden">Accounts</span>
97 </button>
98 <ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn">
99 <li class="mdl-menu__item">hello@example.com</li>
100 <li class="mdl-menu__item">info@example.com</li>
101 <li class="mdl-menu__item"><i class="material-icons">add</i>Add another account...</li>
102 </ul>
103 </div>
104 </header>
105 <nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800">
106 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>Home</a>
107 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">inbox</i>Inbox</a>
108 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">delete</i>Trash</a>
109 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">report</i>Spam</a>
110 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">forum</i>Forums</a>
111 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">flag</i>Updates</a>
112 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">local_offer</i>Promos</a>
113 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">shopping_cart</i>Purchases</a>
114 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">people</i>Social</a>
115 <div class="mdl-layout-spacer"></div>
116 <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">help_outline</i><span class="visuallyhidden">Help</span></a>
117 </nav>
118 </div>
119 <main class="mdl-layout__content mdl-color--grey-100">
120 <div class="mdl-grid demo-content">
121 <div class="demo-charts mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid">
122 <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop">
123 <use xlink:href="#piechart" mask="url(#piemask)" />
124 <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan font-size="0.2" dy="-0.07">%</tspan></text>
125 </svg>
126 <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop">
127 <use xlink:href="#piechart" mask="url(#piemask)" />
128 <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text>
129 </svg>
130 <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop">
131 <use xlink:href="#piechart" mask="url(#piemask)" />
132 <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text>
133 </svg>
134 <svg fill="currentColor" width="200px" height="200px" viewBox="0 0 1 1" class="demo-chart mdl-cell mdl-cell--4-col mdl-cell--3-col-desktop">
135 <use xlink:href="#piechart" mask="url(#piemask)" />
136 <text x="0.5" y="0.5" font-family="Roboto" font-size="0.3" fill="#888" text-anchor="middle" dy="0.1">82<tspan dy="-0.07" font-size="0.2">%</tspan></text>
137 </svg>
138 </div>
139 <div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col">
140 <svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph">
141 <use xlink:href="#chart" />
142 </svg>
143 <svg fill="currentColor" viewBox="0 0 500 250" class="demo-graph">
144 <use xlink:href="#chart" />
145 </svg>
146 </div>
147 <div class="demo-cards mdl-cell mdl-cell--4-col mdl-cell--8-col-tablet mdl-grid mdl-grid--no-spacing">
148 <div class="demo-updates mdl-card mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-desktop">
149 <div class="mdl-card__title mdl-card--expand mdl-color--teal-300">
150 <h2 class="mdl-card__title-text">Updates</h2>
151 </div>
152 <div class="mdl-card__supporting-text mdl-color-text--grey-600">
153 Non dolore elit adipisicing ea reprehenderit consectetur culpa.
154 </div>
155 <div class="mdl-card__actions mdl-card--border">
156 <a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect">Read More</a>
157 </div>
158 </div>
159 <div class="demo-separator mdl-cell--1-col"></div>
160 <div class="demo-options mdl-card mdl-color--deep-purple-500 mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--3-col-tablet mdl-cell--12-col-desktop">
161 <div class="mdl-card__supporting-text mdl-color-text--blue-grey-50">
162 <h3>View options</h3>
163 <ul>
164 <li>
165 <label for="chkbox1" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
166 <input type="checkbox" id="chkbox1" class="mdl-checkbox__input">
167 <span class="mdl-checkbox__label">Click per object</span>
168 </label>
169 </li>
170 <li>
171 <label for="chkbox2" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
172 <input type="checkbox" id="chkbox2" class="mdl-checkbox__input">
173 <span class="mdl-checkbox__label">Views per object</span>
174 </label>
175 </li>
176 <li>
177 <label for="chkbox3" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
178 <input type="checkbox" id="chkbox3" class="mdl-checkbox__input">
179 <span class="mdl-checkbox__label">Objects selected</span>
180 </label>
181 </li>
182 <li>
183 <label for="chkbox4" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect">
184 <input type="checkbox" id="chkbox4" class="mdl-checkbox__input">
185 <span class="mdl-checkbox__label">Objects viewed</span>
186 </label>
187 </li>
188 </ul>
189 </div>
190 <div class="mdl-card__actions mdl-card--border">
191 <a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-color-text--blue-grey-50">Change location</a>
192 <div class="mdl-layout-spacer"></div>
193 <i class="material-icons">location_on</i>
194 </div>
195 </div>
196 </div>
197 </div>
198 </main>
199 </div>
200 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" style="position: fixed; left: -1000px; height: -1000px;">
201 <defs>
202 <mask id="piemask" maskContentUnits="objectBoundingBox">
203 <circle cx=0.5 cy=0.5 r=0.49 fill="white" />
204 <circle cx=0.5 cy=0.5 r=0.40 fill="black" />
205 </mask>
206 <g id="piechart">
207 <circle cx=0.5 cy=0.5 r=0.5 />
208 <path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 1 0.95 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)" />
209 </g>
210 </defs>
211 </svg>
212 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 250" style="position: fixed; left: -1000px; height: -1000px;">
213 <defs>
214 <g id="chart">
215 <g id="Gridlines">
216 <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="27.3" x2="468.3" y2="27.3" />
217 <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="66.7" x2="468.3" y2="66.7" />
218 <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="105.3" x2="468.3" y2="105.3" />
219 <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="144.7" x2="468.3" y2="144.7" />
220 <line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="184.3" x2="468.3" y2="184.3" />
221 </g>
222 <g id="Numbers">
223 <text transform="matrix(1 0 0 1 485 29.3333)" fill="#888888" font-family="'Roboto'" font-size="9">500</text>
224 <text transform="matrix(1 0 0 1 485 69)" fill="#888888" font-family="'Roboto'" font-size="9">400</text>
225 <text transform="matrix(1 0 0 1 485 109.3333)" fill="#888888" font-family="'Roboto'" font-size="9">300</text>
226 <text transform="matrix(1 0 0 1 485 149)" fill="#888888" font-family="'Roboto'" font-size="9">200</text>
227 <text transform="matrix(1 0 0 1 485 188.3333)" fill="#888888" font-family="'Roboto'" font-size="9">100</text>
228 <text transform="matrix(1 0 0 1 0 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">1</text>
229 <text transform="matrix(1 0 0 1 78 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">2</text>
230 <text transform="matrix(1 0 0 1 154.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">3</text>
231 <text transform="matrix(1 0 0 1 232.1667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">4</text>
232 <text transform="matrix(1 0 0 1 309 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">5</text>
233 <text transform="matrix(1 0 0 1 386.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">6</text>
234 <text transform="matrix(1 0 0 1 464.3333 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">7</text>
235 </g>
236 <g id="Layer_5">
237 <polygon opacity="0.36" stroke-miterlimit="10" points="0,223.3 48,138.5 154.7,169 211,88.5
238 294.5,80.5 380,165.2 437,75.5 469.5,223.3 "/>
239 </g>
240 <g id="Layer_4">
241 <polygon stroke-miterlimit="10" points="469.3,222.7 1,222.7 48.7,166.7 155.7,188.3 212,132.7
242 296.7,128 380.7,184.3 436.7,125 "/>
243 </g>
244 </g>
245 </defs>
246 </svg>
247 <a href="https://github.com/google/material-design-lite/blob/mdl-1.x/templates/dashboard/" target="_blank" id="view-source" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored mdl-color-text--white">View Source</a>
248 <script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
249 </body>
250</html>