Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<div class="Polaris-IndexTable">
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle">
<div class="Polaris-LegacyCard__Section">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-16);--pc-box-padding-block-start-xs: var(--p-space-5);--pc-box-padding-inline-end-xs: var(--p-space-0);--pc-box-padding-inline-start-xs: var(--p-space-0)" class="Polaris-Box">
<div style="--pc-vertical-stack-align: ;--pc-vertical-stack-inline-align: center;--pc-vertical-stack-order: column" class="Polaris-VerticalStack">
<img src="https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png" role="presentation" class="">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-max-width: 400px" class="Polaris-Box">
<div style="--pc-vertical-stack-align: ;--pc-vertical-stack-inline-align: center;--pc-vertical-stack-order: column" class="Polaris-VerticalStack">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-6)" class="Polaris-Box">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-4)" class="Polaris-Box">
<p class="Polaris-Text--root Polaris-Text--headingXl Polaris-Text--center Polaris-Text--semibold Polaris-Text--block">
Manage your inventory transfers
</p>
</div>
<span class="Polaris-Text--root Polaris-Text--bodyMd Polaris-Text--center Polaris-Text--subdued Polaris-Text--regular Polaris-Text--block">
<p>Track and receive your incoming inventory from suppliers.</p>
</span></div>
<div style="--pc-horizontal-stack-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack">
<a href="#" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Learn more
</div>
</span>
</a>
<button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Add transfer
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</tbody>
</table>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% data = [] %>
<%= polaris_index_table(data) do |table| %>
<% table.with_column("Name") do |row| %>
<%= polaris_text_strong { row[:name] } %>
<% end %>
<% table.with_empty_state do %>
<%= polaris_card do %>
<%= polaris_empty_state(
heading: "Manage your inventory transfers",
image: "https://cdn.shopify.com/s/files/1/0262/4071/2726/files/emptystate-files.png",
) do |state| %>
<% state.with_primary_action { "Add transfer" } %>
<% state.with_secondary_action(url: "#") { "Learn more" } %>
<p>Track and receive your incoming inventory from suppliers.</p>
<% end %>
<% end %>
<% end %>
<% end %>