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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<div class="Polaris-Page Polaris-Page--fullWidth">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-4);--pc-box-padding-block-end-md: var(--p-space-5);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-block-start-md: var(--p-space-5);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-end-sm: var(--p-space-0);--pc-box-padding-inline-start-xs: var(--p-space-4);--pc-box-padding-inline-start-sm: var(--p-space-0);position: relative" class="Polaris-Box">
<div class="Polaris-Page-Header--mobileView Polaris-Page-Header--mediumTitle Polaris-Page-Header--noBreadcrumbs">
<div class="Polaris-Page-Header__Row">
<div class="Polaris-Page-Header__TitleWrapper">
<div class="Polaris-Header-Title__TitleAndSubtitleWrapper">
<h1 class="Polaris-Header-Title">Orders</h1>
</div>
</div>
<div class="Polaris-Page-Header__RightAlign">
<div class="Polaris-Page-Header__Actions">
<div class="Polaris-ActionMenu Polaris-ActionMenu--mobile">
<div class="Polaris-ActionMenu-RollupActions__RollupActivator">
<div data-controller="paper-popover" data-paper-popover-append-to-body-value="false" data-paper-popover-active-value="false" data-paper-popover-placement-value="bottom-end" data-paper-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-paper-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-paper-popover-target="activator">
<button data-action="paper-popover#toggle click@window->paper-popover#hide" data-controller="paper-button" type="button" class="Polaris-Button Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M6 10a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001zm6 0a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001zm6 0a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div data-paper-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div style="--pc-box-background: var(--p-color-bg);--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-border-radius: var(--p-border-radius-2);--pc-box-overflow-x: hidden;--pc-box-overflow-y: hidden;position: relative" class="Polaris-Box">
<div tabindex="-1" class="Polaris-Popover__Content">
<div data-paper-scrollable-shadow-value="true" data-paper-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-paper-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="paper-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-paper-scrollable-target="topEdge"></span>
<div style="text-align: left;" class="Polaris-ActionList">
<ul style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box Polaris-Box--listReset">
<li style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-padding-block-start-xs: var(--p-space-2)" class="Polaris-Box">
<ul style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-2);--pc-box-padding-block-start-xs: var(--p-space-0);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-2)" class="Polaris-Box Polaris-Box--listReset">
<li>
<button content="Export" type="button" class="Polaris-ActionList__Item">
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-4)" class="Polaris-HorizontalStack">
<span class="Polaris-ActionList__Text">
Export
</span>
</div>
</button></li>
</ul>
</li>
</ul>
</div>
<span data-paper-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-ActionMenu Polaris-ActionMenu--desktop">
<div class="Polaris-ActionMenu-Actions__ActionsLayout">
<div class="Polaris-ButtonGroup Polaris-ButtonGroup--extraTight">
<div class="Polaris-ButtonGroup__Item"><span class="Polaris-ActionMenu-SecondaryAction"> <button content="Export" type="button" data-controller="paper-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Export
</div>
</span>
</button>
</span></div>
</div>
</div>
</div>
<div class="Polaris-Page-Header__PrimaryActionWrapper">
<button type="button" data-controller="paper-button" class="Polaris-Button Polaris-Button--primary Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M10 4a1 1 0 0 0-1 1v4h-4a1 1 0 1 0 0 2h4v4a1 1 0 1 0 2 0v-4h4a1 1 0 1 0 0-2h-4v-4a1 1 0 0 0-1-1Z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div class="Polaris-Page-Header__PaginationWrapper">
<nav aria-label="Pagination">
<div data-buttongroup-segmented="true" class="Polaris-ButtonGroup Polaris-ButtonGroup--segmented">
<div class="Polaris-ButtonGroup__Item"> <button type="button" disabled="disabled" data-controller="paper-button" class="Polaris-Button Polaris-Button--disabled Polaris-Button--outline Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M12 16a.997.997 0 0 1-.707-.293l-5-5a.999.999 0 0 1 0-1.414l5-5a.999.999 0 1 1 1.414 1.414l-4.293 4.293 4.293 4.293a.999.999 0 0 1-.707 1.707z"></path></svg>
</span>
</div>
</span>
</button></div>
<div class="Polaris-ButtonGroup__Item"> <a href="/order/2" data-controller="paper-button" class="Polaris-Button Polaris-Button--outline Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M8 16a.999.999 0 0 1-.707-1.707l4.293-4.293-4.293-4.293a.999.999 0 1 1 1.414-1.414l5 5a.999.999 0 0 1 0 1.414l-5 5a.997.997 0 0 1-.707.293z"></path></svg>
</span>
</div>
</span>
</a></div>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="">
<div class="Polaris-LegacyCard">
<div class="Polaris-LegacyCard__Header">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold">
Credit card
</h2>
</div>
<div class="Polaris-LegacyCard__Section">
<p>Credit card information</p>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%= paper_page(
full_width: true,
title: "Orders",
secondary_actions: [{ content: "Export" }],
next_url: "/order/2",
) do |page| %>
<% page.with_primary_action do |button| %>
<% button.with_icon(name: "PlusMinor") %>
<% end %>
<%= paper_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<% end %>