summaryrefslogtreecommitdiff
path: root/dashboards/default.erb
diff options
context:
space:
mode:
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>