Method: AppMap::Open#page

Defined in:
lib/appmap/open.rb

#pageObject



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/appmap/open.rb', line 15

def page
  require 'rack/utils'
  "  <!DOCTYPE html>\n  <html>\n  <head>\n    <title>&hellip;</title>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n    <script type=\"text/javascript\">\n    function dosubmit() { document.forms[0].submit(); }\n    </script>\n  </head>\n  <body onload=\"dosubmit();\">\n    <form action=\"https://app.land/scenario_uploads\" method=\"POST\" accept-charset=\"utf-8\">\n    <input type=\"hidden\" name=\"data\" value='\#{Rack::Utils.escape_html appmap.to_json}'>\n    </form>\n  </body>\n  </html>\n  PAGE\nend\n"