|
Revision 5, 0.9 kB
(checked in by jeremymcanal..@gmail.com, 11 months ago)
|
Fixed little snafu in usage message
Fixed errors in default template
|
| Line | |
|---|
| 1 |
<html> |
|---|
| 2 |
<head> |
|---|
| 3 |
<title> |
|---|
| 4 |
Welcome to Vintage |
|---|
| 5 |
</title> |
|---|
| 6 |
<link rel="stylesheet" href="style.css" /> |
|---|
| 7 |
</head> |
|---|
| 8 |
<body> |
|---|
| 9 |
<img src="vintage.png" /> |
|---|
| 10 |
<h1>Welcome to Vintage</h1> |
|---|
| 11 |
<p> |
|---|
| 12 |
Come on in and relax. Actually, don't relax. Build something. |
|---|
| 13 |
</p> |
|---|
| 14 |
<div> |
|---|
| 15 |
<h2>Request Information</h2> |
|---|
| 16 |
<ul> |
|---|
| 17 |
<li>Remote IP: <%= request.remote_ip %></li> |
|---|
| 18 |
<li>Referer: <%= request.referer %></li> |
|---|
| 19 |
<li>Requested URI: <%= request.url %></li> |
|---|
| 20 |
<li>Request method: <%= request.request_method %></li> |
|---|
| 21 |
<li>User agent: <%= request.user_agent %></li> |
|---|
| 22 |
<li>Query string: <%= request.query_string %></li> |
|---|
| 23 |
<li>Parameters: <%= request.params == {} ? "None" : request.params.to_a.map{|k,v| "#{k} = #{v}"}.join(", ") %></li> |
|---|
| 24 |
</ul> |
|---|
| 25 |
</div> |
|---|
| 26 |
<br /> |
|---|
| 27 |
<%= link_to "Vintage homepage", "http://vintage.rubyforge.org" %> |
|---|
| 28 |
</body> |
|---|
| 29 |
</html> |
|---|