index.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <meta http-equiv="cache-control" content="no-cache">
  6. <meta http-equiv="cache-control" content="no-store">
  7. <meta http-equiv="cache-control" content="max-age=0">
  8. <meta http-equiv="expires" content="-1">
  9. <meta http-equiv="pragma" content="no-cache">
  10. <title></title>
  11. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  12. <link rel="stylesheet" type="text/css" href="js/semantic/semantic.min.css">
  13. <link rel="stylesheet" type="text/css" href="css/ivprog-visual-1.0.css">
  14. <link rel="stylesheet" type="text/css" href="css/ivprog-term.css">
  15. <script src="js/jquery-3.3.1.min.js"></script>
  16. <script src="js/iassign-integration-functions.js"></script>
  17. <script src="build/ivprog.bundle.js"></script>
  18. <script src="js/semantic/semantic.min.js"></script>
  19. <script src="js/semantic/semantic-buttons.js"></script>
  20. <script src="js/jquery-ui.js"></script>
  21. <script src="js/Sortable.js"></script>
  22. </head>
  23. <body>
  24. <div class="ui one column doubling stackable grid container">
  25. <div class="column">
  26. <!-- <div class="ui container main_title">
  27. <h2>iVProg</h2>
  28. <span>interactive coding</span>
  29. </div>
  30. <div class="ui container content_margin">
  31. <div class="content_sub_margin">
  32. <div class="blue ui ivprog_format buttons">
  33. <button class="ui button active visual_coding_button">Visual</button>
  34. <button class="ui button textual_coding_button">Textual</button>
  35. </div>
  36. <a class="ivprog_format_info">
  37. <i class="circular inverted some-wrapping-div teal info icon small label ivprog_format_info popup"></i>
  38. </a>
  39. <div class="ui custom popup">
  40. Choice how you prefer to develop. If disabled, teacher doesn't allow this change. <a href="#">See
  41. documentation about it.</a>
  42. </div>
  43. </div>
  44. </div> -->
  45. </div>
  46. </div>
  47. <div class="ui equal height stretched centered grid general-grid">
  48. <div class="four wide column">
  49. <div class="ui raised container segment div_to_menu div_to_body tabs">
  50. <div class="ui top attached tabular menu">
  51. <a class="item" data-tab="variaveis">Vari&aacute;veis</a>
  52. <a class="item active" data-tab="comandos">Comandos</a>
  53. <a class="item" data-tab="funcoes">Fun&ccedil;&otilde;es</a>
  54. </div>
  55. <div class="ui bottom attached tab segment ivprog_tab" data-tab="variaveis">
  56. <div class="ui one column container segment ivprog_tab menu_segment">
  57. <div class="global_var">
  58. <i class="icon plus circle purple add_global_button"></i>
  59. <i class="icon circle white back"></i>
  60. <div class="ui icon button add-globalVar-button add_global_button purple"><i class="icon superscript"></i></div>
  61. </div>
  62. <div class="ui container list_globals list-group" id="listGlobalsHandle"></div>
  63. </div>
  64. </div>
  65. <div class="ui bottom attached tab segment ivprog_tab active" data-tab="comandos">
  66. <div class="ui one column container segment ivprog_tab menu_segment">
  67. <!--mudar-->
  68. <!-- <div class="ui teal small labeled icon button add_function_button" draggable="true">
  69. <data class="i18n" value="Function">Function</data>
  70. <i class="add icon"></i>
  71. </div> -->
  72. <div class="ui container list-group list-commands">
  73. </div>
  74. </div>
  75. </div>
  76. <div class="ui bottom attached tab segment ivprog_tab" data-tab="funcoes">
  77. <div class="ui one column container segment menu_segment ">
  78. <!--mudar-->
  79. <!-- <div class="ui teal small labeled icon button add_function_button" draggable="true">
  80. <data class="i18n" value="Function">Function</data>
  81. <i class="add icon"></i>
  82. </div> -->
  83. <div class="ui container list-group functions_labels">
  84. </div>
  85. </div>
  86. <div class="ui one column container segment ivprog_tab">
  87. <div class="ui container list-group library_labels">
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <div class="ten wide column">
  94. <div class="ui raised container segment div_to_body">
  95. <div class="ui container main_title only_in_frame">
  96. <h2>iVProg</h2>
  97. </div>
  98. <div class="ui icon menu center aligned container" style="width: 438px; margin-top: -20px;">
  99. <a class="item active visual_coding_button">
  100. <i class="window maximize outline icon"></i>
  101. </a>
  102. <a class="item textual_coding_button">
  103. <i class="code icon"></i>
  104. </a>
  105. <a class="item upload_file_button disabled">
  106. <i class="upload icon"></i>
  107. </a>
  108. <a class="item download_file_button disabled">
  109. <i class="download icon"></i>
  110. </a>
  111. <a class="item undo_button disabled">
  112. <i class="undo icon"></i>
  113. </a>
  114. <a class="item redo_button disabled">
  115. <i class="redo icon"></i>
  116. </a>
  117. <a class="item run_button">
  118. <i class="play icon"></i>
  119. </a>
  120. <a class="item assessment assessment_button">
  121. <i class="check icon"></i>
  122. </a>
  123. <!--<a class="item expand_button">
  124. <i class="expand arrows alternate icon"></i>
  125. </a>-->
  126. <a class="item help_button">
  127. <i class="help icon"></i>
  128. </a>
  129. </div>
  130. <div class="ui one column container segment ivprog_visual_panel loading">
  131. <div class="all_functions list-group" id="listWithHandle">
  132. </div>
  133. <div class="ui teal small labeled icon button add_function_button">
  134. <data class="i18n" value="ui:btn_function">Function</data>
  135. <i class="add icon"></i>
  136. </div>
  137. <div class="program_final"></div>
  138. </div>
  139. <div class="ui one column container segment ivprog_textual_panel loading" style="display: none;">
  140. <textarea class="ivprog_textual_code" readonly></textarea>
  141. </div>
  142. <div id='ivprog-term' class="six column wide">
  143. <div class="div_toggle_console"><i class="inverted terminal icon green button_toggle_console"></i></div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <script>
  149. $(document).ready(() => {
  150. ivprogCore.initVisualUI();
  151. $('.menu .item')
  152. .tab();
  153. /*
  154. document.querySelectorAll('.button.menu-item').forEach(function(element, index, array) {
  155. element.addEventListener('dragstart', function(e) {
  156. console.log(this);
  157. }, false);
  158. });*/
  159. });
  160. </script>
  161. <script src="js/semantic/semantic.min.js"></script>
  162. <script src="js/semantic/semantic-buttons.js"></script>
  163. </body>
  164. </html>