-
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.
added iron:layout as dependency to pattern-library package
- Loading branch information
Showing
3 changed files
with
37 additions
and
38 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,42 +1,41 @@ | ||
<body> | ||
|
||
<template name="myHeader"> | ||
<div class="ui inverted fixed main menu"> | ||
<div class="left menu"> | ||
<a class="active item"> | ||
<i class="home icon"></i> Home | ||
</a> | ||
<a class="item"> | ||
<i class="mail icon"></i> Messages | ||
</a> | ||
</div> | ||
<div class="right menu"> | ||
<div class="item"> | ||
<div class="ui transparent icon input"> | ||
<input type="text" placeholder="Search..."> | ||
<i class="search link icon"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
{{# Layout template="gridpage" }} | ||
|
||
<template name="myBody"> | ||
<!--div class="ui page grid"--> | ||
<div class="ui three buttons"> | ||
<button class="ui active button">One</button> | ||
<button class="ui button">Two</button> | ||
<button class="ui button">Three</button> | ||
</div> | ||
<!--/div--> | ||
</template> | ||
{{# contentFor "header" }} | ||
<div class="ui inverted fixed main menu"> | ||
<div class="left menu"> | ||
<a class="active item"> | ||
<i class="home icon"></i> Home | ||
</a> | ||
<a class="item"> | ||
<i class="mail icon"></i> Messages | ||
</a> | ||
</div> | ||
<div class="right menu"> | ||
<div class="item"> | ||
<div class="ui transparent icon input"> | ||
<input type="text" placeholder="Search..."> | ||
<i class="search link icon"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{/ contentFor }} | ||
|
||
<template name="myFooter"> | ||
xxxxxxxxxxxxxxx | ||
</template> | ||
<!--div class="ui page grid"--> | ||
<div class="ui three buttons"> | ||
<button class="ui active button">One</button> | ||
<button class="ui button">Two</button> | ||
<button class="ui button">Three</button> | ||
</div> | ||
<!--/div--> | ||
|
||
<body> | ||
{{# contentFor "footer" }} | ||
xxxxxxxxxxxxxxx | ||
{{/ contentFor }} | ||
|
||
{{> gridpage header="myHeader" body="myBody" footer="myFooter" }} | ||
{{/ Layout }} | ||
|
||
</body> | ||
|
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
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,9 +1,9 @@ | ||
|
||
<template name="gridpage"> | ||
{{> UI.dynamic template=header }} | ||
{{> yield "header" }} | ||
<div class="ui page grid"> | ||
{{> UI.dynamic template=body }} | ||
{{> yield }} | ||
</div> | ||
{{> UI.dynamic template=footer }} | ||
{{> yield "footer" }} | ||
</template> | ||
|