summaryrefslogtreecommitdiff
path: root/dashboards/default.erb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-07-13 20:07:09 +0200
committervarac <varacanero@zeromail.org>2016-07-13 20:07:09 +0200
commit5d01197cf893d4a8c9a57f7c963f47393d34e157 (patch)
tree860e97c0af1ad8c7d4bd1aecb0b7e6658b312846 /dashboards/default.erb
initial commit, import from pixelated_dashboard
Diffstat (limited to 'dashboards/default.erb')
-rw-r--r--dashboards/default.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/dashboards/default.erb b/dashboards/default.erb
new file mode 100644
index 0000000..d5441b8
--- /dev/null
+++ b/dashboards/default.erb
@@ -0,0 +1,15 @@
+<script type='text/javascript'>
+$(function() {
+// These settings override the defaults set in application.coffee. You can do this on a per dashboard basis.
+ Dashing.widget_margins = [2, 2]
+ Dashing.widget_base_dimensions = [235, 295]
+ Dashing.numColumns = 6
+});
+</script>
+
+<% content_for :title do %>LEAP Dashboard for Laptops<% end %>
+<div class="gridster">
+ <ul>
+ <%= erb :'dashboard' %>
+ </ul>
+</div>