views/index.erb in neerajdotname-javascript_lab-0.0.2 vs views/index.erb in neerajdotname-javascript_lab-0.0.3

- old
+ new

@@ -1,7 +1,5 @@ - - <div> <div class='lhs'> <form action='#' name='lab'> <p> <select name='javascript_library' onchange="location = this.options[this.selectedIndex].value"> @@ -32,35 +30,24 @@ <% unless params[:j].nil? %> <p> <label class='label'> javascript code </label> - <span class='light'>Use log('hello world') to show log in the log output</span> + <input class='submit' type='submit' value='Evaluate' onclick='processForm();return false;' /> <br /> - <textarea name='javascript_code' row='5' cols='70'></textarea> + <span class='light'>Use log('hello world') to show log in the log output</span> + <textarea name='javascript_code' rows='30' cols='70'></textarea> </p> <p> - <label class='label'>JSON data</label> - <br /> - <span class='light'> Use this box if you are trying to parse JSON data. The content - entered in this box will be available to the javascript_code box above as variable - json_data. Please note that variable json_data is not in JSON format. It is the data - entered in this box in string format. - </span> - <br /> - <textarea name='json_data' row='5' cols='70'></textarea> - </p> - <p> <input class='submit' type='submit' value='Evaluate' onclick='processForm();return false;' /> </p> <% end %> </form> </div> <% unless params[:j].nil? %> <div class='rhs'> <strong>Log output</strong> <a href='#' onclick='clear_log();return false;'>(clear log)</a> - <div id='log_output'> </div> </div> <% end %> <div style='clear:both;'></div>