forked from google/material-design-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove legacy wrapper from layout demo code (fixes google#1082)
- Loading branch information
Showing
1 changed file
with
26 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
<!-- The drawer is always open in large screens. The header is always shown, | ||
even in small screens. --> | ||
<div class="demo-layout"> | ||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer | ||
mdl-layout--fixed-header"> | ||
<header class="mdl-layout__header"> | ||
<div class="mdl-layout__header-row"> | ||
<div class="mdl-layout-spacer"></div> | ||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable | ||
mdl-textfield--floating-label mdl-textfield--align-right"> | ||
<label class="mdl-button mdl-js-button mdl-button--icon" | ||
for="fixed-header-drawer-exp"> | ||
<i class="material-icons">search</i> | ||
</label> | ||
<div class="mdl-textfield__expandable-holder"> | ||
<input class="mdl-textfield__input" type="text" name="sample" | ||
id="fixed-header-drawer-exp" /> | ||
</div> | ||
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer | ||
mdl-layout--fixed-header"> | ||
<header class="mdl-layout__header"> | ||
<div class="mdl-layout__header-row"> | ||
<div class="mdl-layout-spacer"></div> | ||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable | ||
mdl-textfield--floating-label mdl-textfield--align-right"> | ||
<label class="mdl-button mdl-js-button mdl-button--icon" | ||
for="fixed-header-drawer-exp"> | ||
<i class="material-icons">search</i> | ||
</label> | ||
<div class="mdl-textfield__expandable-holder"> | ||
<input class="mdl-textfield__input" type="text" name="sample" | ||
id="fixed-header-drawer-exp" /> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="mdl-layout__drawer"> | ||
<span class="mdl-layout-title">Title</span> | ||
<nav class="mdl-navigation"> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
</nav> | ||
</div> | ||
<main class="mdl-layout__content"> | ||
<div class="page-content"><!-- Your content goes here --></div> | ||
</main> | ||
</header> | ||
<div class="mdl-layout__drawer"> | ||
<span class="mdl-layout-title">Title</span> | ||
<nav class="mdl-navigation"> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
<a class="mdl-navigation__link" href="">Link</a> | ||
</nav> | ||
</div> | ||
<main class="mdl-layout__content"> | ||
<div class="page-content"><!-- Your content goes here --></div> | ||
</main> | ||
</div> |