123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <meta http-equiv="cache-control" content="no-cache">
- <meta http-equiv="cache-control" content="no-store">
- <meta http-equiv="cache-control" content="max-age=0">
- <meta http-equiv="expires" content="-1">
- <meta http-equiv="pragma" content="no-cache">
- <title></title>
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="js/semantic/semantic.min.css">
- <link rel="stylesheet" type="text/css" href="css/ivprog-visual-1.0.css">
- <link rel="stylesheet" type="text/css" href="css/ivprog-term.css">
- <script src="js/jquery-3.3.1.min.js"></script>
- <script src="js/iassign-integration-functions.js"></script>
- <script src="build/ivprog.bundle.js"></script>
- <script src="js/semantic/semantic.min.js"></script>
- <script src="js/semantic/semantic-buttons.js"></script>
- <script src="js/jquery-ui.js"></script>
- <script src="js/Sortable.js"></script>
- </head>
- <body>
- <div class="ui one column doubling stackable grid container">
- <div class="column">
- <!-- <div class="ui container main_title">
- <h2>iVProg</h2>
- <span>interactive coding</span>
- </div>
- <div class="ui container content_margin">
- <div class="content_sub_margin">
- <div class="blue ui ivprog_format buttons">
- <button class="ui button active visual_coding_button">Visual</button>
- <button class="ui button textual_coding_button">Textual</button>
- </div>
- <a class="ivprog_format_info">
- <i class="circular inverted some-wrapping-div teal info icon small label ivprog_format_info popup"></i>
- </a>
- <div class="ui custom popup">
- Choice how you prefer to develop. If disabled, teacher doesn't allow this change. <a href="#">See
- documentation about it.</a>
- </div>
- </div>
- </div> -->
- </div>
- </div>
- <div class="ui equal height stretched centered grid general-grid">
- <div class="four wide column">
- <div class="ui raised container segment div_to_menu div_to_body tabs">
- <div class="ui top attached tabular menu">
- <a class="item" data-tab="variaveis">Variáveis</a>
- <a class="item active" data-tab="comandos">Comandos</a>
- <a class="item" data-tab="funcoes">Funções</a>
- </div>
- <div class="ui bottom attached tab segment ivprog_tab" data-tab="variaveis">
- <div class="ui one column container segment ivprog_tab menu_segment">
- <div class="global_var">
- <i class="icon plus circle purple add_global_button"></i>
- <i class="icon circle white back"></i>
- <div class="ui icon button add-globalVar-button add_global_button purple"><i class="icon superscript"></i></div>
- </div>
- <div class="ui container list_globals list-group" id="listGlobalsHandle"></div>
- </div>
- </div>
- <div class="ui bottom attached tab segment ivprog_tab active" data-tab="comandos">
- <div class="ui one column container segment ivprog_tab menu_segment">
- <!--mudar-->
- <!-- <div class="ui teal small labeled icon button add_function_button" draggable="true">
- <data class="i18n" value="Function">Function</data>
- <i class="add icon"></i>
- </div> -->
- <div class="ui container list-group list-commands">
- </div>
- </div>
- </div>
- <div class="ui bottom attached tab segment ivprog_tab" data-tab="funcoes">
- <div class="ui one column container segment menu_segment ">
- <!--mudar-->
- <!-- <div class="ui teal small labeled icon button add_function_button" draggable="true">
- <data class="i18n" value="Function">Function</data>
- <i class="add icon"></i>
- </div> -->
- <div class="ui container list-group functions_labels">
- </div>
- </div>
- <div class="ui one column container segment ivprog_tab">
- <div class="ui container list-group library_labels">
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="ten wide column">
- <div class="ui raised container segment div_to_body">
- <div class="ui container main_title only_in_frame">
- <h2>iVProg</h2>
- </div>
- <div class="ui icon menu center aligned container" style="width: 438px; margin-top: -20px;">
- <a class="item active visual_coding_button">
- <i class="window maximize outline icon"></i>
- </a>
- <a class="item textual_coding_button">
- <i class="code icon"></i>
- </a>
- <a class="item upload_file_button disabled">
- <i class="upload icon"></i>
- </a>
- <a class="item download_file_button disabled">
- <i class="download icon"></i>
- </a>
- <a class="item undo_button disabled">
- <i class="undo icon"></i>
- </a>
- <a class="item redo_button disabled">
- <i class="redo icon"></i>
- </a>
- <a class="item run_button">
- <i class="play icon"></i>
- </a>
- <a class="item assessment assessment_button">
- <i class="check icon"></i>
- </a>
- <!--<a class="item expand_button">
- <i class="expand arrows alternate icon"></i>
- </a>-->
- <a class="item help_button">
- <i class="help icon"></i>
- </a>
- </div>
- <div class="ui one column container segment ivprog_visual_panel loading">
- <div class="all_functions list-group" id="listWithHandle">
- </div>
- <div class="ui teal small labeled icon button add_function_button">
- <data class="i18n" value="ui:btn_function">Function</data>
- <i class="add icon"></i>
- </div>
- <div class="program_final"></div>
- </div>
- <div class="ui one column container segment ivprog_textual_panel loading" style="display: none;">
- <textarea class="ivprog_textual_code" readonly></textarea>
- </div>
- <div id='ivprog-term' class="six column wide">
- <div class="div_toggle_console"><i class="inverted terminal icon green button_toggle_console"></i></div>
- </div>
- </div>
- </div>
- </div>
- <script>
- $(document).ready(() => {
- ivprogCore.initVisualUI();
- $('.menu .item')
- .tab();
- /*
- document.querySelectorAll('.button.menu-item').forEach(function(element, index, array) {
- element.addEventListener('dragstart', function(e) {
- console.log(this);
-
- }, false);
- });*/
- });
- </script>
- <script src="js/semantic/semantic.min.js"></script>
- <script src="js/semantic/semantic-buttons.js"></script>
- </body>
- </html>
|