app/views/layouts/admin.html in rails-service-0.1.0 vs app/views/layouts/admin.html in rails-service-0.2.0

- old
+ new

@@ -1,10 +1,14 @@ <!DOCTYPE html> <html> <head> - <title>Services</title> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> + <title><%= render_meta_title %></title> + <link rel="stylesheet" href="/_admin/bootstrap.min.css"> + <link rel="stylesheet" href="/_admin/highlight-tomorrow.min.css"> + <script type="text/javascript" src="/_admin/highlight.min.js"></script> + <script type="text/javascript" src="/_admin/highlight-json.min.js"></script> + <script>hljs.initHighlightingOnLoad();</script> <%= csrf_meta_tags %> <style> body { margin: 0; padding: 0; @@ -15,10 +19,14 @@ border: 0; width: 100%; height: 100%; } + pre { + background: #fff; + } + .wrapper { display: block; width: 80%; margin: auto; overflow: auto; @@ -52,10 +60,17 @@ .development #top { background: #006EFF; // blue } + #page-title { + margin-left: 15%; + margin-bottom: 10px; + padding-left: 10px; + border-bottom: 1px solid #efefef; + } + #sidebar { width: 15%; float: left; } @@ -85,9 +100,11 @@ </div> </div> <div id="page"> <div class="wrapper"> + <div id="page-title"><h1><%= render_title %></h1></div> + <div id="sidebar"> <%= render_sidebar %> </div> <div id="content">