GUI overhaul
Some checks failed
/ Run tests (push) Successful in 1m38s
/ Run system tests (push) Failing after 1m37s
/ Build, push and deploy image (push) Successful in 1m49s

This commit is contained in:
david 2024-11-07 01:24:55 +01:00
parent e9743cd00c
commit 0198a22278
14 changed files with 209 additions and 65 deletions

View file

@ -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