index.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" type="text/css" href="js/semantic/semantic.min.css">
  5. <style>
  6. .ivprog-io-output {
  7. border: 1px solid gainsboro;
  8. width: 80%;
  9. height: 360px;
  10. overflow-y: scroll;
  11. background-color: black;
  12. color: white;
  13. }
  14. .ivprog-io-input {
  15. width: 80%;
  16. margin-top: 10px;
  17. border: 1.5px solid green;
  18. height: 3rem;
  19. color: black;
  20. font-size: 12pt;
  21. }
  22. </style>
  23. <title></title>
  24. </head>
  25. <body>
  26. <div style="padding-top: 50px;content: ''"></div>
  27. <div class="ui container grid">
  28. <div class="four wide column">
  29. <div class="row">
  30. <textarea class="ui form control" name="input" id="input" cols="100" rows="30">
  31. programa {
  32. const real C = 5.5
  33. funcao inteiro inicio() {
  34. inteiro a = 8
  35. se (a * C > 80) {
  36. a = 0
  37. } senao {
  38. a = -1
  39. }
  40. }
  41. }
  42. </textarea>
  43. </div>
  44. <div class="row">
  45. <button class="ui button" id="btn">Run</button>
  46. </div>
  47. </div>
  48. <div class="six wide column">
  49. <div id="dom-out" class="ivprog-io-output">
  50. </div>
  51. <input id="dom-in" type="text" class="ivprog-io-input">
  52. </div>
  53. <div class="six wide column">
  54. <div style="overflow-y: scroll; height: 70%;">
  55. <pre id="json-renderer" class="ui right floated"></pre>
  56. </div>
  57. </div>
  58. </div>
  59. </body>
  60. <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
  61. <script type="text/javascript" src="js/jquery.json-editor.min.js"></script>
  62. <script type="text/javascript" src="build/ivprog.bundle.js"></script>
  63. </html>