1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="css/ivprog-term.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.0/semantic.min.css" integrity="sha256-9mbkOfVho3ZPXfM7W8sV2SndrGDuh7wuyLjtsWeTI1Q=" crossorigin="anonymous" />
- <style>
- .ivprog-io-output {
- border: 1px solid gainsboro;
- width: 80%;
- height: 360px;
- overflow-y: scroll;
- background-color: black;
- color: white;
- }
- .ivprog-io-input {
- width: 80%;
- margin-top: 10px;
- border: 1.5px solid green;
- height: 3rem;
- color: black;
- font-size: 12pt;
- }
- </style>
- <title></title>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
- <script type="text/javascript" src="js/jquery.json-editor.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
- integrity="sha256-KM512VNnjElC30ehFwehXjx1YCHPiQkOPmqnrWtpccM="
- crossorigin="anonymous"></script>
- <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>
- </head>
- <body>
- <div style="padding-top: 50px;content: ''"></div>
- <div class="ui container grid">
-
- <div class="four wide column">
- <div class="row">
- <textarea class="ui form control" name="input" id="input" cols="100" rows="30">
- programa {
- const real C = 5.5
-
- funcao inicio() {
- inteiro a = 8
- se (a * C > 80) {
- a = 0
- } senao {
- a = -1
- }
- }
- }
- </textarea>
- </div>
- <div class="row">
- <button class="ui button" id="btn">Run</button>
- </div>
- </div>
- <div class="six wide column">
- <div id="console">
- </div>
- </div>
- <div class="six wide column">
- <div style="overflow-y: scroll; height: 70%;">
- <pre id="json-renderer" class="ui right floated"></pre>
- </div>
- </div>
- </div>
-
-
- </body>
- <script>
- ( function () {
- ivprogCore.runner();
- })();
- </script>
- </html>
|