Advertisement
Guest User

Untitled

a guest
May 24th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <link rel="import" href="../core-icons/core-icons.html">
  2. <link rel="import" href="../paper-item/paper-item.html">
  3.  
  4. <polymer-element name="my-element">
  5.  
  6. <template>
  7. <style>
  8. :host {
  9. box-sizing: border-box;
  10. }
  11. paper-item {
  12. height: 40px;
  13. margin-left: auto;
  14. margin-right: auto;
  15. width: 70%;
  16. }
  17. #info_card {
  18. height: 150px;
  19. border-radius: 2px;
  20. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  21. left: 310px;
  22. top: 340px;
  23. position: absolute;
  24. background-color: rgb(255, 255, 255);
  25. }
  26. </style>
  27. <core-card id="info_card" layout center-justified horizontal center-center>
  28. <core-card id="core_card" class="info_card_row" center-justified layout vertical center-center>
  29. <paper-item id="jobs_label">Jobs Running:</paper-item>
  30. <paper-item id="jobs_num">222</paper-item>
  31. </core-card>
  32. <core-card id="core_card1" class="info_card_row" layout vertical center-center>
  33. <paper-item id="cpus_label">CPU Resource Allocated:</paper-item>
  34. <paper-item id="cpus_num" ">125</paper-item>
  35. </core-card>
  36. </core-card>
  37. </template>
  38.  
  39. <script>
  40.  
  41. Polymer({
  42.  
  43. });
  44.  
  45. </script>
  46.  
  47. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement