diff options
author | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
commit | 21a91cbc9681a2f3f4615e7e467febf1c8f4f6e6 (patch) | |
tree | ef26732b75858c5fb17925bc861f1ee8b4c43bf2 /templates/project/dashboards/layout.erb | |
parent | e56e58562bd1972df8e8d386b30175f6b12430ac (diff) | |
parent | ed5463dce052852a5ace2d11a0265fff2244e60e (diff) |
Merge tag 'v1.3.6' into dashing_io
Diffstat (limited to 'templates/project/dashboards/layout.erb')
-rw-r--r-- | templates/project/dashboards/layout.erb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/project/dashboards/layout.erb b/templates/project/dashboards/layout.erb new file mode 100644 index 0000000..4aa5120 --- /dev/null +++ b/templates/project/dashboards/layout.erb @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"/> + <meta name="description" content=""> + <meta name="viewport" content="width=device-width"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + + <title><%= yield_content(:title) %></title> + + <!-- The javascript and css are managed by sprockets. The files can be found in the /assets folder--> + <script type="text/javascript" src="/assets/application.js"></script> + <link rel="stylesheet" href="/assets/application.css"> + + <link href='//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'> + <link rel="icon" href="/assets/favicon.ico"> + +</head> + <body> + <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> + <textarea id="gridster-code"></textarea> + </div> + <a href="#saving-instructions" id="save-gridster">Save this layout</a> + <% end %> + </body> +</html> |