Sha256: 44a0ad629cd3b09909e72b9f627b9615bd526416cc7c6003a6ce0b64bc399df7

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>Demo Test Page for QA Robusta</title> 
<script type="text/javascript" src="/javascripts/jquery-1.6.2.min.js"></script> 
<link href="/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"> 
  $(function() {
    $('input#create_file').click(function() {
      $('#create_file_status').empty();
      file_name = $('input#create_file_name').attr('value')
      if(file_name.length > 0) {
        $.ajax({ url: '/create_tmp_file', dataType: 'json', type: 'post', data: {file_name: file_name},
                 success: function(res) {
                   if(res.results) 
                     $('#create_file_status').append('file created');
                   else
                     $('#create_file_status').append('unable to create file');
                 }
        });
      } else {
        $('#create_file_status').append('Please provide a file name');
      }
    });
  });

    </script> 
 
</head> 
<body> 
  <div id='create_file_status'></div>
  <input type='text' id='create_file_name'>
  <input type='button' id='create_file' value='Create Tmp File'><br><br>
  <div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div>
  <a href='with_id' id='link_with_id_and_no_name'>with id and no name</a>
  <div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div>
  <a href='with_name' name='link_with_no_id_but_has_name'>with name and no id</a>
  <div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div><div id='skip_page'></div>
</body> 
</html> 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qa_robusta-0.1.8 demo/views/index.erb