From 7a09abd460142a726a4c1f807ae33346e57f6f4c Mon Sep 17 00:00:00 2001 From: Niklas Sombert Date: Sun, 31 Mar 2019 15:23:31 +0200 Subject: [PATCH] Rename data-span-rows to data-span-cols. --- templates/dashboard/%name%.erb.tt | 2 +- templates/project/assets/stylesheets/application.scss | 2 +- templates/project/dashboards/sample.erb | 6 +++--- templates/project/dashboards/sampletv.erb | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/dashboard/%name%.erb.tt b/templates/dashboard/%name%.erb.tt index 86c35fc..862cff6 100644 --- a/templates/dashboard/%name%.erb.tt +++ b/templates/dashboard/%name%.erb.tt @@ -1,5 +1,5 @@
-
+
\ No newline at end of file diff --git a/templates/project/assets/stylesheets/application.scss b/templates/project/assets/stylesheets/application.scss index f02df18..f316fbd 100644 --- a/templates/project/assets/stylesheets/application.scss +++ b/templates/project/assets/stylesheets/application.scss @@ -163,7 +163,7 @@ h3 { flex: 1; } -.widget[data-span-rows="2"] { +.widget[data-span-cols="2"] { min-width: 2 * $widget-width; padding-left: $widget-margin; padding-right: $widget-margin; diff --git a/templates/project/dashboards/sample.erb b/templates/project/dashboards/sample.erb index 477c6e5..a44742f 100644 --- a/templates/project/dashboards/sample.erb +++ b/templates/project/dashboards/sample.erb @@ -3,11 +3,11 @@
-
+
-
-
+
+
Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome
diff --git a/templates/project/dashboards/sampletv.erb b/templates/project/dashboards/sampletv.erb index 8cb7b65..2f2a160 100644 --- a/templates/project/dashboards/sampletv.erb +++ b/templates/project/dashboards/sampletv.erb @@ -13,17 +13,17 @@ $(function() {
-
+
-
+
-
-
+
+
Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome