runner.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <link href="css/roboto.css" type="text/css" rel="stylesheet">
  6. <link rel="stylesheet" href="css/semantic.min.css"/>
  7. <link rel="stylesheet" type="text/css" href="css/ivprog-visual-1.0.css">
  8. <link rel="stylesheet" type="text/css" href="css/ivprog-term.css">
  9. <link rel="stylesheet" type="text/css" href="css/ivprog-term.css">
  10. <link rel="stylesheet" type="text/css" href="css/ivprog-editor.css">
  11. <script src="js/jquery.min.js"></script>
  12. <script src="js/jquery-ui.min.js"></script>
  13. <script src="js/semantic.min.js"></script>
  14. <script type="text/javascript" src="js/jquery.json-editor.min.js"></script>
  15. </head>
  16. <body>
  17. <div style="padding-top: 50px;content: ''"></div>
  18. <div class="ui container grid">
  19. <div class="four wide column">
  20. <div class="row">
  21. <textarea class="ui form control" name="input" id="input" cols="100" rows="30">
  22. programa {
  23. const real C = 5.5
  24. funcao inicio() {
  25. inteiro a = 8
  26. se (a * C > 80) {
  27. a = 0
  28. } senao {
  29. a = -1
  30. }
  31. }
  32. }
  33. </textarea>
  34. </div>
  35. <div class="row">
  36. <button class="ui button" id="btn">Run</button>
  37. </div>
  38. </div>
  39. <div class="six wide column">
  40. <div id="console">
  41. </div>
  42. </div>
  43. <div class="six wide column">
  44. <div style="overflow-y: scroll; height: 70%;">
  45. <pre id="json-renderer" class="ui right floated"></pre>
  46. </div>
  47. </div>
  48. </div>
  49. <script src="js/vendors~main.685d1cf2ece1ed4ebb99.js"></script><script src="js/main.5e7761a70f5b53c69b09.js"></script></body>
  50. <script>
  51. ( function () {
  52. ivprogCore.runner();
  53. })();
  54. </script>
  55. </html>