Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. <link rel="import" href="../vip-layout/vip-layout.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #vip_layout {
  14. left: 80px;
  15. top: 160px;
  16. position: absolute;
  17. }
  18. </style>
  19. <vip-layout id="vip_layout" layout='[{"name":"main","horizontal":true,"styles":{"background-color":"#FFECB3"},"children":[{"name":"controls","vertical":true,"center":true},{"name":"areavideoenriquecido","horizontal":true,"styles":{"flex":"3 1 0px"},"children":[{"name":"chapters","vertical":true,"styles":{"flex":"none"}},{"name":"mainvideoenriquecido","vertical":true,"styles":{"flex":"3 1 0px"}}]}]}]' flex hidden>
  20. </vip-layout>
  21. <template id="t" repeat="{{ layout }}"></template>
  22. <section id="{{ name }}" layout flex horizontal>
  23. <template id="template" ref="t" repeat="{{ children }}"></template>
  24. <section id="{{ name }}" layout flex center vertical>
  25. <template ref="t" repeat="{{ children }}"></template>
  26. </section>
  27. <section id="{{ name }}" layout flex horizontal>
  28. <template ref="t" repeat="{{ children }}"></template>
  29. <section id="{{ name }}" layout flex vertical>
  30. <template ref="t" repeat="{{ children }}"></template>
  31. </section>
  32. <section id="{{ name }}" layout flex vertical>
  33. <template ref="t" repeat="{{ children }}"></template>
  34. </section>
  35. </section>
  36. </section>
  37. <template id="t" repeat="{{ layout }}"></template>
  38. <section id="{{ name }}" layout flex horizontal>
  39. <template ref="t" repeat="{{ children }}"></template>
  40. <section id="{{ name }}" layout flex center vertical>
  41. <template ref="t" repeat="{{ children }}"></template>
  42. </section>
  43. <section id="{{ name }}" layout flex horizontal>
  44. <template ref="t" repeat="{{ children }}"></template>
  45. <section id="{{ name }}" layout flex vertical>
  46. <template ref="t" repeat="{{ children }}"></template>
  47. </section>
  48. <section id="{{ name }}" layout flex vertical>
  49. <template ref="t" repeat="{{ children }}"></template>
  50. </section>
  51. </section>
  52. </section>
  53. <template id="t" repeat="{{ layout }}"></template>
  54. <section id="{{ name }}" layout flex horizontal>
  55. <template ref="t" repeat="{{ children }}"></template>
  56. <section id="{{ name }}" layout flex center vertical>
  57. <template ref="t" repeat="{{ children }}"></template>
  58. </section>
  59. <section id="{{ name }}" layout flex horizontal>
  60. <template ref="t" repeat="{{ children }}"></template>
  61. <section id="{{ name }}" layout flex vertical>
  62. <template ref="t" repeat="{{ children }}"></template>
  63. </section>
  64. <section id="{{ name }}" layout flex vertical>
  65. <template ref="t" repeat="{{ children }}"></template>
  66. </section>
  67. </section>
  68. </section>
  69. </template>
  70.  
  71. <script>
  72.  
  73. Polymer({
  74.  
  75. });
  76.  
  77. </script>
  78.  
  79. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement