runner.html 2.5 KB

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