Skip to content

Instantly share code, notes, and snippets.

@oyearunpal
Last active August 29, 2015 14:14
Show Gist options
  • Save oyearunpal/0975e486267e27d5b558 to your computer and use it in GitHub Desktop.
Save oyearunpal/0975e486267e27d5b558 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject/force-sobject.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html">
<link rel="import" href="../../salesforce/s1-elements/s1ListWithLabels.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
<link rel="import" href="../../salesforce/s1-elements/s1IndicatorDotsLightBackground.html">
<link rel="import" href="../../salesforce/s1-elements/s1ButtonGroups.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1DetailView.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1MDPBundle.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject-collection/force-sobject-collection.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_input {
left: 250px;
top: 130px;
position: absolute;
}
#paper_progress {
left: 250px;
top: 220px;
position: absolute;
}
#paper_tab {
width: 120px;
height: 40px;
left: 640px;
top: 390px;
position: absolute;
}
#paper_toast {
left: 800px;
top: 400px;
position: absolute;
}
#paper_toast1 {
left: 670px;
top: 380px;
position: absolute;
}
#force_sobject {
left: 190px;
top: 240px;
position: absolute;
}
#s1_app {
width: 320px;
height: 620px;
}
#s1_indicator_dots_light_background {
display: block;
margin: 7px;
}
</style>
<paper-input label="Type something..." id="paper_input"></paper-input>
<paper-progress id="paper_progress"></paper-progress>
<paper-tab id="paper_tab">TAB</paper-tab>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast>
<force-sobject sobject="Account" id="force_sobject"></force-sobject>
<s1-app-scaffold navcloseevent="sobject-selected" id="s1_app">
<s1-staged-navigation-stage-left id="s1_navigation_menu" navigation></s1-staged-navigation-stage-left>
<s1-staged-navigation-notifications id="s1_notification_panel" notifications></s1-staged-navigation-notifications>
<s1-page-container navigateon="core-activate" navigationtarget="{{ $.s1_detail_view }}" id="s1_list" class="animate" active>
<s1-anchor-light-default anchorlightlabel="recent" anchorlighttitle="{{ $.s1_navigation_menu.selectedSObject }}" anchorlighticon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_light_default" button="New" on-new></s1-anchor-light-default>
<s1-list-with-labels collection="{{ $.sobject_collection.collection }}" id="s1_listWithLabels"></s1-list-with-labels>
</s1-page-container>
<s1-page-container id="s1_detail_view" class="animate">
<s1-anchor-dark anchordarktitle="{{ $.record_info.fields.Name }}" anchordarkdescription="{{ $.record_info.fields.Title }}" anchordarkicon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_dark">
</s1-anchor-dark>
<s1-indicator-dots-light-background id="s1_indicator_dots_light_background"></s1-indicator-dots-light-background>
<s1-button-groups id="s1_button_groups" label="New"></s1-button-groups>
<s1-sobject-detail sobject="{{ $.sobject_collection.sobject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="s1_sobject_detail"></s1-sobject-detail>
</s1-page-container>
<s1-mdp-bundle id="s1_mdp_bundle"></s1-mdp-bundle>
<force-sobject sobject="{{ $.s1_navigation_menu.selectedSObject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="record_info"></force-sobject>
<force-sobject-collection sobject="{{ $.s1_navigation_menu.selectedSObject }}" id="sobject_collection"></force-sobject-collection>
</s1-app-scaffold>
<s1-app-scaffold navcloseevent="sobject-selected" id="s1_app">
<s1-staged-navigation-stage-left id="s1_navigation_menu" navigation></s1-staged-navigation-stage-left>
<s1-staged-navigation-notifications id="s1_notification_panel" notifications></s1-staged-navigation-notifications>
<s1-page-container navigateon="core-activate" navigationtarget="{{ $.s1_detail_view }}" id="s1_list" class="animate" active>
<s1-anchor-light-default anchorlightlabel="recent" anchorlighttitle="{{ $.s1_navigation_menu.selectedSObject }}" anchorlighticon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_light_default1" button="New" on-new></s1-anchor-light-default>
<s1-list-with-labels collection="{{ $.sobject_collection.collection }}" id="s1_listWithLabels"></s1-list-with-labels>
</s1-page-container>
<s1-page-container id="s1_detail_view" class="animate">
<s1-anchor-dark anchordarktitle="{{ $.record_info.fields.Name }}" anchordarkdescription="{{ $.record_info.fields.Title }}" anchordarkicon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_dark">
</s1-anchor-dark>
<s1-indicator-dots-light-background id="s1_indicator_dots_light_background"></s1-indicator-dots-light-background>
<s1-button-groups id="s1_button_groups" label="New"></s1-button-groups>
<s1-sobject-detail sobject="{{ $.sobject_collection.sobject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="s1_sobject_detail"></s1-sobject-detail>
</s1-page-container>
<s1-mdp-bundle id="s1_mdp_bundle"></s1-mdp-bundle>
<force-sobject sobject="{{ $.s1_navigation_menu.selectedSObject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="record_info"></force-sobject>
<force-sobject-collection sobject="{{ $.s1_navigation_menu.selectedSObject }}" id="sobject_collection"></force-sobject-collection>
<s1-app-scaffold navcloseevent="sobject-selected" id="s1_app">
<s1-staged-navigation-stage-left id="s1_navigation_menu" navigation></s1-staged-navigation-stage-left>
<s1-staged-navigation-notifications id="s1_notification_panel" notifications></s1-staged-navigation-notifications>
<s1-page-container navigateon="core-activate" navigationtarget="{{ $.s1_detail_view }}" id="s1_list" class="animate" active>
<s1-anchor-light-default anchorlightlabel="recent" anchorlighttitle="{{ $.s1_navigation_menu.selectedSObject }}" anchorlighticon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_light_default2" button="New" on-new></s1-anchor-light-default>
<s1-list-with-labels collection="{{ $.sobject_collection.collection }}" id="s1_listWithLabels"></s1-list-with-labels>
</s1-page-container>
<s1-page-container id="s1_detail_view" class="animate">
<s1-anchor-dark anchordarktitle="{{ $.record_info.fields.Name }}" anchordarkdescription="{{ $.record_info.fields.Title }}" anchordarkicon="{{ $.s1_navigation_menu.selectedSObject }}" id="s1_anchor_dark">
</s1-anchor-dark>
<s1-indicator-dots-light-background id="s1_indicator_dots_light_background"></s1-indicator-dots-light-background>
<s1-button-groups id="s1_button_groups" label="New"></s1-button-groups>
<s1-sobject-detail sobject="{{ $.sobject_collection.sobject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="s1_sobject_detail"></s1-sobject-detail>
</s1-page-container>
<s1-mdp-bundle id="s1_mdp_bundle"></s1-mdp-bundle>
<force-sobject sobject="{{ $.s1_navigation_menu.selectedSObject }}" recordid="{{ $.s1_listWithLabels.selected }}" id="record_info"></force-sobject>
<force-sobject-collection sobject="{{ $.s1_navigation_menu.selectedSObject }}" id="sobject_collection"></force-sobject-collection>
</s1-app-scaffold>
</s1-app-scaffold>
</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