Advertisement
Guest User

Untitled

a guest
May 30th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. <link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
  2. <link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
  3. <link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
  4. <link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
  5. <link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
  6. <link rel="import" href="../../salesforce/s1-elements/s1IndicatorDotsLightBackground.html">
  7. <link rel="import" href="../../salesforce/s1-elements/s1ButtonGroups.html">
  8. <link rel="import" href="../../salesforce/s1-elements/scaffold/s1DetailView.html">
  9. <link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject/force-sobject.html">
  10. <link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject-collection/force-sobject-collection.html">
  11. <link rel="import" href="../../salesforce/s1-elements/s1AnchorLightLabelonBottom.html">
  12. <link rel="import" href="../../salesforce/s1-elements/s1AnchorLightNoBackground.html">
  13. <link rel="import" href="../../salesforce/s1-elements/s1ButtonSecondaryDisabled.html">
  14. <link rel="import" href="../../salesforce/s1-elements/s1ButtonTertiary.html">
  15. <link rel="import" href="../../salesforce/s1-elements/s1Calendar.html">
  16.  
  17. <polymer-element name="my-element">
  18.  
  19. <template>
  20. <style>
  21. :host {
  22. position: absolute;
  23. width: 100%;
  24. height: 100%;
  25. box-sizing: border-box;
  26. }
  27. #s1_app {
  28. width: 320px;
  29. height: 620px;
  30. left: 380px;
  31. top: 30px;
  32. position: absolute;
  33. }
  34. #s1_indicator_dots_light_background {
  35. display: block;
  36. margin: 7px;
  37. }
  38. #canvas {
  39. -webkit-user-select: none;
  40. }
  41. #s1_anchor_dark1 {
  42. width: 320px;
  43. }
  44. #s1_anchor_light_labelon_bottom {
  45. width: 320px;
  46. }
  47. #s1_anchor_light_no_background {
  48. width: 320px;
  49. }
  50. #s1_button_secondary_disabled {
  51. width: 320px;
  52. }
  53. #s1_button_tertiary {
  54. width: 320px;
  55. }
  56. #s1_calendar {
  57. width: 320px;
  58. }
  59. </style>
  60. <s1-app-scaffold navcloseevent="sobject-selected" id="s1_app">
  61. <s1-staged-navigation-stage-left id="s1_navigation_menu" navigation></s1-staged-navigation-stage-left>
  62. <s1-staged-navigation-notifications id="s1_notification_panel" notifications></s1-staged-navigation-notifications>
  63. <s1-page-container id="s1_detail_view" class="animate">
  64. <s1-anchor-dark anchordarktitle="{{ $.record_info.fields.Name }}" anchordarkdescription="{{ $.record_info.fields.Title }}" anchordarkicon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_dark">
  65. </s1-anchor-dark>
  66. <s1-indicator-dots-light-background id="s1_indicator_dots_light_background"></s1-indicator-dots-light-background>
  67. <s1-button-groups id="s1_button_groups" label="New"></s1-button-groups>
  68. <s1-sobject-detail sobject="{{ $.sobject_collection.sobject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="s1_sobject_detail"></s1-sobject-detail>
  69. </s1-page-container>
  70. <force-sobject sobject="{{ $.s1_navigation_menu.selectedSObject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="record_info"></force-sobject>
  71. <force-sobject-collection sobject="{{ $.s1_navigation_menu.selectedSObject }}" id="sobject_collection"></force-sobject-collection>
  72. <s1-anchor-dark id="s1_anchor_dark1"></s1-anchor-dark>
  73. <s1-anchor-light-labelon-bottom id="s1_anchor_light_labelon_bottom"></s1-anchor-light-labelon-bottom>
  74. <s1-anchor-light-no-background id="s1_anchor_light_no_background"></s1-anchor-light-no-background>
  75. <s1-button-secondary-disabled id="s1_button_secondary_disabled"></s1-button-secondary-disabled>
  76. <s1-button-tertiary id="s1_button_tertiary"></s1-button-tertiary>
  77. <s1-calendar id="s1_calendar"></s1-calendar>
  78. </s1-app-scaffold>
  79. </template>
  80.  
  81. <script>
  82.  
  83. Polymer('my-element', {
  84.  
  85. });
  86.  
  87. </script>
  88.  
  89. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement