8000 Better looking dashboard · digideskio/demo.activeadmin.info@c4f7999 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4f7999

Browse files
committed
Better looking dashboard
1 parent 0b0271d commit c4f7999

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/admin/dashboard.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@
2626

2727
columns do
2828

29+
column do
30+
div do
31+
br
32+
text_node %{<iframe src="https://rpm.newrelic.com/public/charts/6VooNO2hKWB" width="500" height="300" scrolling="no" frameborder="no"></iframe>}.html_safe
33+
end
34+
end
35+
2936
column do
3037
panel "ActiveAdmin Demo" do
3138
div do
3239
render('/admin/sidebar_links', :model => 'dashboards')
3340
end
34-
35-
div do
36-
br
37-
text_node %{<iframe src="https://rpm.newrelic.com/public/charts/6VooNO2hKWB" width="500" height="300" scrolling="no" frameborder="no"></iframe>}.html_safe
38-
end
3941
end
4042
end
4143

0 commit comments

Comments
 (0)
0