Last active
August 29, 2015 14:04
-
-
Save nelsonsilva/6498bb7fb71455062b23 to your computer and use it in GitHub Desktop.
nx_readme_hr
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="../nuxeo-elements/nx-connection.html"> | |
| <link rel="import" href="../nuxeo-elements/nx-document.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-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../nuxeo-elements/nx-layout.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| #core_toolbar { | |
| color: rgb(255, 255, 255); | |
| background-color: rgb(79, 125, 201); | |
| } | |
| #section { | |
| height: 1000px; | |
| padding: 15px; | |
| background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
| } | |
| #core_header_panel { | |
| width: 100%; | |
| height: 100%; | |
| } | |
| </style> | |
| <nx-connection url="http://demo.nuxeo.com/nuxeo" id="nx_connection"></nx-connection> | |
| <nx-document docpath="default-domain/workspaces/Human Ressources/Readme" path="/path/default-domain/workspaces/Human Ressources/Readme" auto id="nx_document"></nx-document> | |
| <core-header-panel mode="standard" id="core_header_panel"> | |
| <core-toolbar id="core_toolbar"> | |
| <nx-layout ref="heading" value="{{ $.nx_document.doc }}" mode="view" id="nx_layout"> | |
| </nx-layout> | |
| </core-toolbar> | |
| <section id="section"> | |
| <nx-layout ref="note" value="{{ $.nx_document.doc }}" mode="view" id="nx_layout1"> | |
| </nx-layout> | |
| </section> | |
| </core-header-panel> | |
| </template> | |
| <script> | |
| Polymer('my-element', { | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment