Created
April 27, 2015 12:57
-
-
Save dispix/f28fd2237267326e2093 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#paper_input { | |
left: 10px; | |
top: 0px; | |
position: relative; | |
} | |
#main { | |
left: 10px; | |
top: 80px; | |
position: absolute; | |
width: 90%; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: 0px; | |
top: 100px; | |
position: absolute; | |
width: 100%; | |
background-color: rgb(0, 188, 212); | |
} | |
#section { | |
left: 10px; | |
top: 10px; | |
position: relative; | |
background-color: rgb(105, 151, 184); | |
} | |
#core_item2 { | |
left: 1090px; | |
top: 480px; | |
} | |
#paper_item { | |
left: 630px; | |
top: 370px; | |
position: absolute; | |
} | |
#input { | |
padding: 5px; | |
margin: 5px; | |
} | |
#input1 { | |
padding: 5px; | |
margin: 5px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"></core-toolbar> | |
<core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" icon="settings" label="Air Humide" horizontal center layout></core-item> | |
<core-item id="core_item1" icon="settings" label="Autre" horizontal center layout active></core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<div id="main" tool start one flex> | |
<div id="inputs"> | |
<input committedvalue="{{ $.paper_item1.committedValue1 }}" preventinvalidinput id="input" placeholder="Température" is="core-input" type="number" one flex> | |
<input committedvalue="{{ $.paper_item2.committedValue2 }}" preventinvalidinput id="input1" placeholder="Hygrométrie" is="core-input" type="number" one flex> | |
</div> | |
<div id="outputs"> | |
<section id="section" vertical layout> | |
<paper-item id="paper_item1" icon="settings" label="Température"></paper-item> | |
<paper-item id="paper_item2" icon="settings" label="Hygrométrie"></paper-item> | |
</section> | |
</div> | |
</div> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
committedValue1: '', | |
committedValue2: '' | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment