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
|
# File 'app/views/rails_devtools/application_layout.rb', line 10
def view_template(&block)
doctype
html(data_theme: "nord") do
head do
title do
content_for?(:title) ? strip_tags(yield(:title)) : "Rails Devtools"
end
meta(name: "apple-mobile-web-app-title", content: "Maxime Souillat")
meta(name: "viewport", content: "width=device-width,initial-scale=1")
csrf_meta_tags
csp_meta_tag
importmap_tag
preload_tags
script(type: "module") { "import 'application' ;".html_safe }
script(src: "https://cdn.tailwindcss.com")
link(
href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css",
rel: "stylesheet",
type: "text/css"
)
end
body do
main(class: "h-screen flex flex-col") do
div(class: "grow lg:flex") do
render Components::Ui::
right_drawer(&block)
end
end
end
end
end
|