1
0

runner.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  6. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.0/semantic.min.css" integrity="sha256-9mbkOfVho3ZPXfM7W8sV2SndrGDuh7wuyLjtsWeTI1Q=" crossorigin="anonymous" />
  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. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  10. <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
  11. integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM="
  12. crossorigin="anonymous"></script>
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.0/semantic.min.js" integrity="sha256-x1fC6BXl6BwnUhfQqqqC0Fd/n12wH+u8u9va6+E7xaA=" crossorigin="anonymous"></script>
  14. <script type="text/javascript" src="js/jquery.json-editor.min.js"></script>
  15. <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
  16. integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM="
  17. crossorigin="anonymous"></script>
  18. <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.0/semantic.min.js" integrity="sha256-x1fC6BXl6BwnUhfQqqqC0Fd/n12wH+u8u9va6+E7xaA=" crossorigin="anonymous"></script>
  19. </head>
  20. <body>
  21. <div style="padding-top: 50px;content: ''"></div>
  22. <div class="ui container grid">
  23. <div class="four wide column">
  24. <div class="row">
  25. <textarea class="ui form control" name="input" id="input" cols="100" rows="30">
  26. programa {
  27. const real C = 5.5
  28. funcao inicio() {
  29. inteiro a = 8
  30. se (a * C > 80) {
  31. a = 0
  32. } senao {
  33. a = -1
  34. }
  35. }
  36. }
  37. </textarea>
  38. </div>
  39. <div class="row">
  40. <button class="ui button" id="btn">Run</button>
  41. </div>
  42. </div>
  43. <div class="six wide column">
  44. <div id="console">
  45. </div>
  46. </div>
  47. <div class="six wide column">
  48. <div style="overflow-y: scroll; height: 70%;">
  49. <pre id="json-renderer" class="ui right floated"></pre>
  50. </div>
  51. </div>
  52. </div>
  53. </body>
  54. <script>
  55. ( function () {
  56. ivprogCore.runner();
  57. })();
  58. </script>
  59. </html>