summaryrefslogtreecommitdiff
path: root/templates/project/dashboards/layout.erb
diff options
context:
space:
mode:
authorDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-08-02 13:38:19 -0400
committerDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-08-02 13:38:19 -0400
commitcdd8ff258582f5eba7e3941a5a18007e7aabbbfa (patch)
tree259644bbbda24070efc5685445e6b26187a70b20 /templates/project/dashboards/layout.erb
parent1dcf732b801f9fa513901fda27388a36eddb44ab (diff)
Better generators, sample widgets, and more!
Diffstat (limited to 'templates/project/dashboards/layout.erb')
-rw-r--r--templates/project/dashboards/layout.erb25
1 files changed, 21 insertions, 4 deletions
diff --git a/templates/project/dashboards/layout.erb b/templates/project/dashboards/layout.erb
index 66bf1e0..cb1a455 100644
--- a/templates/project/dashboards/layout.erb
+++ b/templates/project/dashboards/layout.erb
@@ -1,21 +1,38 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8"/>
+ <title>My Awesome Dashboard</title>
+ <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>
<script type="text/javascript"><%= javascripts %></script>
- <style><%= stylesheets %></style>
+ <script type="text/javascript" src="/javascripts/jquery.knob.js"></script>
+ <script type="text/javascript" src="/javascripts/jquery.masonry.min.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <style><%= stylesheets %></style>
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="/stylesheets/font-awesome.css">
+ <link rel="icon" href="/images/favicon.ico">
</head>
<body>
- <div class="wrapper">
+ <div id="container">
<%= yield %>
</div>
+ <script type="text/javascript">
+ AllTheThings.on('ready', function() {
+ setInterval(function(){
+ $('#container ul').masonry({
+ itemSelector: '.widget-container'
+ });
+ }, 0);
+ });
+ </script>
+
</body>
</html> \ No newline at end of file