IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit d1984d2e authored by APalumbo97's avatar APalumbo97
Browse files

Adding lightning card background to both export LWCs.

parent d5dfb38f
<template>
<lightning:layout horizontalalign="space">
<lightning:layoutItem size="10">
<lightning-combobox
name="datasource"
label="Export data to CSV"
value={value}
placeholder={value}
options={combo_options}
onchange={handleChange}
></lightning-combobox>
</lightning:layoutItem>
<br/>
<lightning:layoutItem size="2">
<lightning-button variant="success" label="Download" onclick={download}></lightning-button>
</lightning:layoutItem>
</lightning:layout>
<lightning-card title="Export CSV">
<div class="slds-m-around_medium">
<div class="slds-col slds-medium-size_3-of-3 slds-small-size_1-of-1">
<lightning:layout horizontalalign="space">
<lightning:layoutItem size="10">
<lightning-combobox
name="datasource"
label="Export data to CSV"
value={value}
placeholder={value}
options={combo_options}
onchange={handleChange}
></lightning-combobox>
</lightning:layoutItem>
<br/>
<lightning:layoutItem size="2">
<lightning-button variant="success" label="Download" onclick={download}></lightning-button>
</lightning:layoutItem>
</lightning:layout>
</div>
</div>
</lightning-card>
</template>
<template>
<lightning:layout horizontalalign="space">
<lightning:layoutItem size="10">
<lightning-combobox
name="datasource"
label="Export a template CSV"
value={value}
placeholder={value}
options={combo_options}
onchange={handleChange}
></lightning-combobox>
</lightning:layoutItem>
<br/>
<lightning:layoutItem size="2">
<lightning-button variant="success" label="Download" onclick={download}></lightning-button>
</lightning:layoutItem>
</lightning:layout>
<lightning-card title="Export Headers">
<div class="slds-m-around_medium">
<div class="slds-col slds-medium-size_3-of-3 slds-small-size_1-of-1">
<lightning:layout horizontalalign="space">
<lightning:layoutItem size="10">
<lightning-combobox
name="datasource"
label="Export a template CSV"
value={value}
placeholder={value}
options={combo_options}
onchange={handleChange}
></lightning-combobox>
</lightning:layoutItem>
<br/>
<lightning:layoutItem size="2">
<lightning-button variant="success" label="Download" onclick={download}></lightning-button>
</lightning:layoutItem>
</lightning:layout>
</div>
</div>
</lightning-card>
</template>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment