Permalink
Browse files

Add an HTML meta tag to refresh the page every five minutes

- This is to avoid having to manually refresh every screen after
  every change of widget text etc.
  • Loading branch information...
1 parent f3998c2 commit 24097e4a884b71e452b759619a88b93db4caabca @issyl0 issyl0 committed Mar 18, 2014
Showing with 3 additions and 2 deletions.
  1. +3 −2 dashboards/layout.erb
View
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8"/>
<meta name="description" content="">
+ <meta http-equiv="refresh" content="300">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -20,7 +21,7 @@
<div id="container">
<%= yield %>
</div>
-
+
<% if development? %>
<div id="saving-instructions">
<p>Paste the following at the top of <i><%= params[:dashboard] %>.erb</i></p>
@@ -29,4 +30,4 @@
<a href="#saving-instructions" id="save-gridster">Save this layout</a>
<% end %>
</body>
-</html>
+</html>

0 comments on commit 24097e4

Please sign in to comment.