123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <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="build/ivprog.bundle.js"></script>
- <script src="js/iassign-integration-functions.js"></script>
- <script src="i18n/i18n-engine.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">
- <div class="five wide column">
- <div class="ui raised container segment div_to_menu">
- <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" data-tab="variaveis">
- <div class="ui one column container segment ivprog_visual_panel loading">
- <div class="global_var">
- <div class="ui icon button add-globalVar-button add_global_button"><i class="icon superscript"></i></div>
- </div>
- <div class="ui container list_globals list-group"></div>
- </div>
- </div>
- <div class="ui bottom attached tab segment active" data-tab="comandos">
- <div class="ui one column container segment ivprog_visual_panel loading">
- <!--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" data-tab="funcoes">
- <div class="ui one column container segment ivprog_visual_panel loading">
- <!--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 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 icon menu center aligned container" style="width: 438px; margin-top: -10px;">
- <a class="item">
- <i class="file icon"></i>
- </a>
- <a class="item">
- <i class="save icon"></i>
- </a>
- <a class="item">
- <i class="upload icon"></i>
- </a>
- <a class="item">
- <i class="download icon"></i>
- </a>
- <a class="item undo_button disabled">
- <i class="undo icon"></i>
- </a>
- <a class="item">
- <i class="redo icon"></i>
- </a>
- <a class="item run_button">
- <i class="play icon"></i>
- </a>
- <a class="item">
- <i class="stop icon"></i>
- </a>
- <a class="item">
- <i class="help icon"></i>
- </a>
- </div>
- <div class="ui one column container segment ivprog_visual_panel loading">
- <div class="program_signature"><data class="i18n" value="ui:program">program</data> { </div>
- <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" disabled></textarea>
- </div>
- <div id='ivprog-term' class="six column wide" style="display: none">
- </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>
|