Sha256: ba7498cb2eb49ff2c06fdb3d0cd86856fc20a1889e1dec359a18d35490bcd218

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Mirage</title>
</head>
<body>
<h1>Welcome to Mirage</h1>

<p>Below are any responses you are currently hosting. Click the response itself to peek at it and click check to view the last request that triggered it. <br/>
    Note: if requests or responses contain xml, you will need to view page source to see it properly.</p>

<?r unless @responses.empty? ?>
<table border="1" width='100%'>
    <?r @responses.each do |key, response| ?>
        <tr><td><a id='peek_response_#{response.response_id}' href="/mirage/peek/#{response.response_id}">#{key}</a></td><td><a id='check_response_#{response.response_id}' href="/mirage/check_request/#{response.response_id}">check</a></td></tr>
    <?r end ?>
</table>
<?r end ?>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mirage-0.1.7 lib/view/mirage/index.xhtml