Sha256: 1d6dc6135c7e30ba91509f356eb270a90008e8f9205f2cc16e1483e94ea9614b
Contents?: true
Size: 1.94 KB
Versions: 1
Compression:
Stored size: 1.94 KB
Contents
<!DOCTYPE html> <html> <head> <title>Services</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <%= csrf_meta_tags %> <style> body { margin: 0; padding: 0; } iframe { overflow: auto; border: 0; width: 100%; height: 100%; } .wrapper { display: block; width: 80%; margin: auto; overflow: auto; } #top { color: white; margin-bottom: 10px; } #top h1 { margin-left: 160px; } #top li span { text-align: right; display: block; float: left; color: #d6d6d6; width: 150px; margin-right: 10px; } .production #top { background: #CA0000; // red } .staging #top { background: #518e16; // green } .development #top { background: #006EFF; // blue } #sidebar { width: 15%; float: left; } #content { float: left; width: 85%; padding-left: 10px; } </style> <script language="javascript" type="text/javascript"> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script> </head> <body class="<%= Rails.env %>"> <div id="top"> <div class="wrapper"> <h1><%= @service_context.app %></h1> <ul class="list-unstyled"> <li><span>Datacenter</span> <%= @service_context.dc %></li> <li><span>Host</span> <%= @service_context.host %></li> <li><span>Environment</span> <%= @service_context.env %></li> <li><span>PID</span> <%= @service_context.pid %></li> <li><span>Revision</span> <%= @service_context.rev %></li> </ul> </div> </div> <div id="page"> <div class="wrapper"> <div id="sidebar"> <%= render_sidebar %> </div> <div id="content"> <%= yield %> </div> </div> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-service-0.1.0 | app/views/layouts/admin.html |