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
<nav class="Polaris-Navigation"> <div data-paper-scrollable-shadow-value="false" 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-Navigation__PrimaryNavigation Polaris-Scrollable Polaris-Scrollable--vertical"> <span data-paper-scrollable-target="topEdge"></span> <ul class="Polaris-Navigation__Section"> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__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="M10.555 3.168a1 1 0 0 0-1.11 0l-5.554 3.702a2 2 0 0 0-.891 1.665v6.465a2 2 0 0 0 2 2h2a1 1 0 0 0 1-1v-4h4v4a1 1 0 0 0 1 1h2a2 2 0 0 0 2-2v-6.465a2 2 0 0 0-.89-1.664l-5.555-3.703Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Home </span> </a> <div class="Polaris-Navigation__SecondaryActions"> <span><a href="#" target="_blank" class="Polaris-Navigation__SecondaryAction"><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="M11 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-1.586l-5.293 5.293a1 1 0 0 1-1.414-1.414l5.293-5.293h-1.586a1 1 0 0 1-1-1zm-8 2.5a1.5 1.5 0 0 1 1.5-1.5h3.5a1 1 0 0 1 0 2h-3v8h8v-3a1 1 0 1 1 2 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-9a1.5 1.5 0 0 1-1.5-1.5v-9z"></path></svg> </span></a></span> </div> </div> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" target="_blank" href="#"> <div class="Polaris-Navigation__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="M3.735 5.507a3 3 0 0 1 2.96-2.507h6.61a3 3 0 0 1 2.96 2.507l.735 4.493v5a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-5l.735-4.493Zm2.96-.507a1 1 0 0 0-.987.836l-.708 4.164v1h1.394a3 3 0 0 1 1.665.504l.832.555a2 2 0 0 0 2.218 0l.832-.555a3 3 0 0 1 1.666-.504h1.393v-1l-.708-4.164a1 1 0 0 0-.986-.836h-6.612Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Orders (external) </span> </a> </div> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__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="M10.408 3h5.592a1 1 0 0 1 1 1v5.592a2 2 0 0 1-.57 1.399l-5.162 5.277a2.5 2.5 0 0 1-3.536 0l-4-4a2.5 2.5 0 0 1 0-3.536l.008-.008 5.27-5.154a2 2 0 0 1 1.397-.57Zm3.092 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Products </span> </a> </div> </div> <div class="Polaris-Navigation__SecondaryNavigation Polaris-Navigation--isExpanded"> <div class="Polaris-Collapsible" style="max-height: none; overflow: visible;"> <ul class="Polaris-Navigation__List"> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <span class="Polaris-Navigation__Text"> All products </span> </a> </div> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" target="_blank" href="#"> <span class="Polaris-Navigation__Text"> Inventory (external) </span> </a> </div> </div> </li> </ul> </div> </div> </li> </ul> <span data-paper-scrollable-target="bottomEdge"></span> </div></nav>
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
<%= paper_navigation do |navigation| %> <% navigation.with_section do |section| %> <% section.with_item( url: "#", label: "Home", icon: "HomeMinor" ) do |item| %> <% item.with_secondary_action(url: "#", icon: "ExternalMinor", external: true) %> <% end %> <% section.with_item( url: "#", label: "Orders (external)", icon: "OrdersMinor", external: true ) %> <% section.with_item( url: "#", label: "Products", icon: "ProductsMinor" ) do |item| %> <% item.with_sub_item( url: "#", label: "All products" ) %> <% item.with_sub_item( url: "#", label: "Inventory (external)", external: true ) %> <% end %> <% end %><% end %>
No notes provided.
No params configured.