GUI overhaul
This commit is contained in:
parent
e9743cd00c
commit
0198a22278
14 changed files with 209 additions and 65 deletions
|
|
@ -10,11 +10,12 @@ div id=dom_id(report, :page_nav)
|
|||
li
|
||||
details.tree open=current_page_displayed(page) class=""
|
||||
summary class=(is_current ? "active" : nil)
|
||||
i.bi.me-1 class="bi-file-earmark-check#{is_current ? "" : "" }"
|
||||
- if is_current
|
||||
=< "#{page.position} #{page.path}"
|
||||
- else
|
||||
=< link_to("#{page.position} #{page.path}", report_path(report, page_id: page.id), data: { "turbo-frame": :_top })
|
||||
.content
|
||||
i.bi.me-1 class="bi-file-earmark-check#{is_current ? "" : "" }"
|
||||
- if is_current
|
||||
=< "#{page.position} #{page.path}"
|
||||
- else
|
||||
=< link_to("#{page.position} #{page.path}", report_path(report, page_id: page.id), data: { "turbo-frame": :_top })
|
||||
ul id=dom_id(page, :page_nav_elements)
|
||||
- page.elements.each do |element|
|
||||
li
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue