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
<div class="Polaris-Page"> <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">General</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="polaris-popover" data-polaris-popover-append-to-body-value="false" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom-end" data-polaris-popover-text-field-activator-value="false" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;"> <div data-polaris-popover-target="activator"> <button data-action="polaris-popover#toggle click@window->polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button 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="M6 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path><path d="M11.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path><path d="M17 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"></path></svg> </span> </div> </span> </button> </div> <div data-polaris-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 class="Polaris-Popover__ContentContainer"> <div tabindex="-1" class="Polaris-Popover__Content"> <div data-polaris-scrollable-shadow-value="true" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical"> <span data-polaris-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"> <div 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"> <ul style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column;--pc-vertical-stack-gap-xs: var(--p-space-1)" class="Polaris-VerticalStack Polaris-VerticalStack--listReset"> <li> <button content="Delete" type="button" class="Polaris-ActionList__Item Polaris-ActionList--destructive"> <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-2)" class="Polaris-HorizontalStack"> <span class="Polaris-ActionList__Text"> Delete </span> </div> </button></li> </ul> </div> </li> </ul> </div> <span data-polaris-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 Polaris-ActionMenu-SecondaryAction--destructive"> <button content="Delete" type="button" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Delete </div> </span> </button> </span></div> </div> </div> </div> </div> </div> </div> </div> </div> <div class=""> <div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-LegacyCard__Section"> <p>Page content</p> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
<%= polaris_page( title: "General", secondary_actions: [ { content: "Delete", destructive: true }, ]) do |page| %> <%= polaris_card do %> <p>Page content</p> <% end %><% end %>
No notes provided.
No params configured.