app/views/layout.erb in tailog-0.2.3 vs app/views/layout.erb in tailog-0.3.0

- old
+ new

@@ -1,10 +1,11 @@ <!DOCTYPE html> <html> <head> <title>TAILOG</title> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script> + <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/3.51/jquery.form.js"></script> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"> <style type="text/css"> body { font-family: "Lucida Console", Monaco, monospace; padding-top: 20px; @@ -14,17 +15,31 @@ p { white-space: pre-wrap; margin: 0; } - p:hover { + .content-hover p:hover { background: #EEE; } - a { - display: block; + .dl-horizontal dt { + width: 320px; + padding-right: 20px; } + + .dl-horizontal dd { + margin-left: 320px; + } + + .dl-hover dt:hover + dd, .dl-hover dd:hover { + background: #EEE; + } + + .script select.form-control { + display: inline-block; + width: 100px; + } </style> </head> <body> <div class="container"> @@ -38,19 +53,12 @@ </div> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li<%= ' class="active"' if path_info == "/logs" %>><a href="logs">Logs</a></li> <li<%= ' class="active"' if path_info == "/env" %>><a href="env">Env</a></li> + <li<%= ' class="active"' if path_info == "/script" %>><a href="script">Script</a></li> </ul> <ul class="nav navbar-nav navbar-right"> - <form class="navbar-form navbar-left" method="get"> - <div class="input-group"> - <input name="file" type="text" class="form-control" placeholder="<%= params[:file] || 'File Name...' %>"> - <span class="input-group-btn"> - <button class="btn btn-default" type="button">Go!</button> - </span> - </div> - </form> </ul> </div><!--/.nav-collapse --> </div><!--/.container-fluid --> </nav>