views/layout.slim in fluentd-server-0.1.0 vs views/layout.slim in fluentd-server-0.2.0

- old
+ new

@@ -2,21 +2,18 @@ html[lang="en"] head meta[charset="utf-8"] meta[name="viewport" content="width=device-width, initial-scale=1.0"] title - = "Fluentd Server - #{title}" + | Fluentd Server link[href=url_for("/css/bootstrap.min.css") rel="stylesheet"] - style - | body { padding-top: 75px; } .starter-template { padding: 40px 15px; text-align: center; } .container { max-width:1000px; } + == slim :'_style' body == slim :'_navbar' - .container - - if flash[:notice] - p.alert.alert-success - == flash[:notice] - - if flash[:error] - p.alert.alert-danger - == flash[:error] - == yield + + .container-fluid + .row + == yield script[src=url_for("/js/jquery-1.10.2.min.js")] script[src=url_for("/js/bootstrap.min.js")] + == slim :'_js' + == erb :'tasks/ajax' if @tab == 'tasks'