File tree Expand file tree Collapse file tree 5 files changed +5
-120
lines changed
lib/docs_web/templates/layout Expand file tree Collapse file tree 5 files changed +5
-120
lines changed Original file line number Diff line number Diff line change 1
- [sliding]
1
+ [<%= key %> . sliding]
2
2
slide_label = "<%= t_('Slide Options') %> "
3
3
slide_description = '''
4
4
<%=
@@ -17,7 +17,7 @@ slide_opts = {
17
17
}
18
18
-%>
19
19
<% slide_opts.each do |name, attributes| %>
20
- [[sliding.slide_opts]]
20
+ [[<%= key %> . sliding.slide_opts]]
21
21
name = "<%= name %> "
22
22
default = "<%= attributes[:default] %> "
23
23
doc = '''
Original file line number Diff line number Diff line change 1
1
/* This file is for your main application css. */
2
- @import " ./phoenix.css" ;
3
2
4
3
/* LiveView specific classes for your customizations */
5
4
.phx-no-feedback.invalid-feedback ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- < main role = "main " class = "container " >
1
+ < main role = "main " class = "container-fluid " >
2
2
< p class = "alert alert-info " role = "alert "
3
3
phx-click = "lv:clear-flash "
4
4
phx-value-key = "info " > <%= live_flash ( @ flash , :info ) %> </ p >
Original file line number Diff line number Diff line change 7
7
<%= csrf_meta_tag ( ) %>
8
8
<%= live_title_tag assigns [ :page_title ] || "Docs" , suffix: " · Phoenix Framework" %>
9
9
< link phx-track-static rel = "stylesheet " href = "<%= Routes.static_path(@conn, " /css /app.css ") % > "/>
10
+ < link phx-track-static rel = "stylesheet " href = "<%= Routes.static_path(@conn, " /css /bootstrap.min.css ") % > "/>
10
11
< script defer phx-track-static type = "text/javascript " src = "<%= Routes.static_path(@conn, " /js /app.js ") % > "> </ script >
11
12
</ head >
12
13
< body >
13
- < header >
14
- < section class = "container " >
15
- < nav role = "navigation " >
16
- < ul >
17
- < li > < a href = "https://hexdocs.pm/phoenix/overview.html " > Get Started</ a > </ li >
18
- <%= if function_exported? ( Routes , :live_dashboard_path , 2 ) do %>
19
- < li > <%= link "LiveDashboard" , to: Routes . live_dashboard_path ( @ conn , :home ) %> </ li >
20
- <% end %>
21
- </ ul >
22
- </ nav >
23
- < a href = "https://phoenixframework.org/ " class = "phx-logo " >
24
- < img src = "<%= Routes.static_path(@conn, " /images /phoenix.png ") % > " alt="Phoenix Framework Logo"/>
25
- </ a >
26
- </ section >
27
- </ header >
28
14
<%= @ inner_content %>
15
+ < script defer phx-track-static type = "text/javascript " src = "<%= Routes.static_path(@conn, " /js /bootstrap.bundle.min.js ") % > "> </ script >
29
16
</ body >
30
17
</ html >
You can’t perform that action at this time.
0 commit comments