Created
March 22, 2015 21:32
-
-
Save poulfoged/f1ab88bdf4b485972b29 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-ajax/core-ajax.html"> | |
<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-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../smoothie-chart/smoothie-chart.html"> | |
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../code-mirror/code-mirror.html"> | |
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_ajax { | |
left: 1040px; | |
top: 450px; | |
position: absolute; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#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_fab { | |
left: 1450px; | |
top: 910px; | |
position: absolute; | |
} | |
#section { | |
width: 100%; | |
height: 100%; | |
border: 5px solid rgb(204, 204, 204); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#core_field { | |
left: 20px; | |
top: 980px; | |
position: absolute; | |
} | |
#code_mirror { | |
width: 400px; | |
height: 300px; | |
} | |
#cool_clock { | |
width: 400px; | |
height: 300px; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
} | |
</style> | |
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax> | |
<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 valueattr="label" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item> | |
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item> | |
</core-menu> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" flex></core-input> | |
</core-field> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<paper-slider value="42" id="paper_slider"></paper-slider> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast> | |
<section id="section1"></section> | |
<smoothie-chart id="smoothie_chart"></smoothie-chart> | |
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert> | |
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert> | |
<code-mirror value="<polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element>" id="code_mirror"><polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element></code-mirror> | |
<cool-clock id="cool_clock"></cool-clock> | |
<ace-element id="ace_element">function test() { | |
var x = true; | |
}</ace-element> | |
<chart-js id="chart_js"></chart-js> | |
</section> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment