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
<div class="Polaris-Layout"> <div class="Polaris-Layout__Section"> <div can_dismiss="true" tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--withinPage"> <div class="Polaris-Banner__Ribbon"> <span class="Polaris-Icon Polaris-Icon--colorBase Polaris-Icon--applyColor"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 20c5.514 0 10-4.486 10-10S15.514 0 10 0 0 4.486 0 10s4.486 10 10 10zm1-6a1 1 0 1 1-2 0v-4a1 1 0 1 1 2 0v4zm-1-9a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"></path></svg> </span> </div> <div class="Polaris-Banner__ContentWrapper"> <div class="Polaris-Banner__Heading"> <p class="Polaris-Heading"> Order archived </p> </div> <div class="Polaris-Banner__Content"> <p>This order was archived on March 7, 2017 at 3:12pm EDT.</p> </div> </div> </div> </div> <div class="Polaris-Layout__AnnotatedSection"> <div class="Polaris-Layout__AnnotationWrapper"> <div class="Polaris-Layout__Annotation"> <div class="Polaris-TextContainer"> <h2 class="Polaris-Heading">Store details</h2> <div class="Polaris-Layout__AnnotationDescription"> <p>Shopify and your customers will use this information to contact you.</p> </div> </div> </div> <div class="Polaris-Layout__AnnotationContent"> <div class="Polaris-Card"> <div class="Polaris-Card__Header"> <h2 class="Polaris-Heading">Online store dashboard</h2> </div> <div class="Polaris-Card__Section"> <p>View a summary of your online store’s performance.</p> </div> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
<%= polaris_layout do |layout| %> <% layout.section do %> <%= polaris_banner(title: "Order archived", can_dismiss: true) do %> <p>This order was archived on March 7, 2017 at 3:12pm EDT.</p> <% end %> <% end %> <% layout.annotated_section(title: "Store details", description: "Shopify and your customers will use this information to contact you.") do %> <%= polaris_card(title: "Online store dashboard", sectioned: true) do %> <p>View a summary of your online store’s performance.</p> <% end %> <% end %><% end %>
Use for settings pages that need a banner or other content at the top.
No params configured.