1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

"less intrusive javascript" (uh?)

This commit is contained in:
Simon Rozet 2009-03-15 00:45:29 +01:00 committed by Ryan Tomayko
parent ca701bd91f
commit 65c0a49df5

View file

@ -78,7 +78,7 @@ TEMPLATE = <<HTML
#rack {width: 860px; margin: 0 auto 10px auto;} #rack {width: 860px; margin: 0 auto 10px auto;}
p#nav {float: right; font-size: 14px;} p#nav {float: right; font-size: 14px;}
/* BACKTRACE */ /* BACKTRACE */
a#hide {float: left; padding-left: 5px; color: #666666; font-size: 14px; text-decoration: none;} a#hide {float: left; padding-left: 5px; color: #666666; font-size: 14px; text-decoration: none; cursor: pointer;}
a#hide:hover {text-decoration: underline;} a#hide:hover {text-decoration: underline;}
h3 {float: left; width: 100px; margin-bottom: 10px; color: #981919; font-size: 14px; font-weight: bold;} h3 {float: left; width: 100px; margin-bottom: 10px; color: #981919; font-size: 14px; font-weight: bold;}
#nav a {color: #666666; text-decoration: none; padding: 0 5px;} #nav a {color: #666666; text-decoration: none; padding: 0 5px;}
@ -117,7 +117,8 @@ TEMPLATE = <<HTML
<div id="backtrace"> <div id="backtrace">
<h3>BACKTRACE</h3> <h3>BACKTRACE</h3>
<p><a href="#" id="hide" onclick="toggleBacktrace()">(hide)</a></p> <p><a href="#" id="hide"
onclick="toggleBacktrace(); return false">(hide)</a></p>
<p id="nav"><strong>JUMP TO:</strong> <p id="nav"><strong>JUMP TO:</strong>
<a href="#get-info">GET</a> <a href="#get-info">GET</a>
<a href="#post-info">POST</a> <a href="#post-info">POST</a>