Download MINI-ARC/server/src/templates/testing_interface.html from Alignment-Lab-AI/ARC-stuff: direct link, hf CLI and curl.
- Browser
- Download file 10.9 kB
-
https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/MINI-ARC/server/src/templates/testing_interface.html
- Command line
-
hf download hf://datasets/Alignment-Lab-AI/ARC-stuff/MINI-ARC/server/src/templates/testing_interface.html
-
curl -L -o testing_interface.html https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/MINI-ARC/server/src/templates/testing_interface.html
10.9 kB
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>ARC testing interface</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | |
| <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
| <script src="{{ url_for('static', filename='js/common.js') }}"></script> | |
| <script src="{{ url_for('static', filename='js/testing_interface.js') }}"></script> | |
| <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/common.css') }}"> | |
| <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/testing_interface.css') }}"> | |
| <link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css"> | |
| </head> | |
| <body> | |
| <div id="modal_bg"> | |
| <div id="modal"> | |
| <div>Welcome to the Mini-ARC interface. <br /> Enter your name below. <br/> Press <i>Test Mini-ARC</i> to experience O2ARC. <br /> Press <i>Create Mini-ARC</i> to generate new Mini-ARC. <br /> Press <i>Mini-ARC trace</i> to view sample Mini-ARC trace. </div> | |
| <br /> | |
| <input type="text" id="user_name"/> | |
| <br /> | |
| <button onclick="start_test()" id="start_btn">Test Mini-ARC</button> | |
| <button onclick="start_create()" id="start_btn">Create Mini-ARC</button> | |
| <br /> | |
| <button onclick="start_logs()" id="start_btn">Mini-ARC trace</button> | |
| </div> | |
| </div> | |
| <div id="continue_modal"> | |
| <div id="continue_modal_content"> | |
| <span class="close" onclick="closeContinue()">×</span> | |
| <p id="task_result"></p> | |
| <hr> | |
| <div id="continue_buttons"> | |
| <button class="danger" id="cancel" onclick="closeContinue()">Cancel</button> | |
| <button class="secondary" id="repeat_task" onclick="repeatTask()">Repeat Task</button> | |
| <button class="primary" id="new_task" onclick="newTask()">Next Task</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="task_side_nav" class="sidenav"> | |
| <a href="javascript:void(0)" class="closebtn" onclick="closeTaskList()">×</a> | |
| <div id="task_list"></div> | |
| </div> | |
| <div id="workspace"> | |
| <div id="demonstration_examples_view"> | |
| <div id="load_task_control_btns"> | |
| <label id='task_name' for="random_task_btn">Task name:</label> | |
| <input type="file" id="load_task_file_input" class="load_task" style="display: none;" /> | |
| <button id="browse_task" onclick="openTaskList()">Browse</button> | |
| <button onclick="randomTask()" id="random_task_btn"> Next Task </button> | |
| </div> | |
| <div class="text" id="task_demo_header"> | |
| Task demonstration | |
| </div> | |
| <div class="preview" id="task_preview"> | |
| </div> | |
| </div> | |
| <div id="evaluation-input-view"> | |
| <div class="text"> | |
| <button onclick="prevTestInput()">Prev</button> | |
| Test input grid <span id="current_test_input_id_display">0</span>/<span | |
| id="total_test_input_count_display">0</span> | |
| <button onclick="nextTestInput()">Next</button> | |
| </div> | |
| <div id="evaluation_input"> | |
| <div id="input_test" class="selectable_grid"></div> | |
| </div> | |
| </div> | |
| <div id="evaluation_view"> | |
| <div id="evaluation_output_editor"> | |
| <div id="edition_view"> | |
| <div id="editor_grid_control_btns"> | |
| <div id="resize_control_btns"> | |
| <label for="output_grid_size">Change grid size: </label> | |
| <input type="text" id="output_grid_size" class="grid_size_field" name="size" value="5x5"> | |
| <button onclick="resizeOutputGrid()" id="resize_btn">Resize</button> | |
| </div> | |
| <button onclick="copyFromInput()">Copy from input</button> | |
| <button onclick="resetOutputGrid()">Reset grid</button> | |
| <button id="tool_clear_selection" name="tool_switching" value="floodfill">Clear | |
| Selection</button> | |
| <button onclick="submitSolution()" id="submit_solution_btn">Submit!</button> | |
| </div> | |
| <div id="output_grid"> | |
| <div id="output" class="edition_grid selectable_grid"> | |
| <div class="row"> | |
| <div class="cell" symbol="0" x="0" y="0"></div> | |
| <div class="cell" symbol="0" x="0" y="1"></div> | |
| <div class="cell" symbol="0" x="0" y="2"></div> | |
| <div class="cell" symbol="0" x="0" y="3"></div> | |
| <div class="cell" symbol="0" x="0" y="4"></div> | |
| </div> | |
| <div class="row"> | |
| <div class="cell" symbol="0" x="1" y="0"></div> | |
| <div class="cell" symbol="0" x="1" y="1"></div> | |
| <div class="cell" symbol="0" x="1" y="2"></div> | |
| <div class="cell" symbol="0" x="1" y="3"></div> | |
| <div class="cell" symbol="0" x="1" y="4"></div> | |
| </div> | |
| <div class="row"> | |
| <div class="cell" symbol="0" x="2" y="0"></div> | |
| <div class="cell" symbol="0" x="2" y="1"></div> | |
| <div class="cell" symbol="0" x="2" y="2"></div> | |
| <div class="cell" symbol="0" x="2" y="3"></div> | |
| <div class="cell" symbol="0" x="2" y="4"></div> | |
| </div> | |
| <div class="row"> | |
| <div class="cell" symbol="0" x="3" y="0"></div> | |
| <div class="cell" symbol="0" x="3" y="1"></div> | |
| <div class="cell" symbol="0" x="3" y="2"></div> | |
| <div class="cell" symbol="0" x="3" y="3"></div> | |
| <div class="cell" symbol="0" x="3" y="4"></div> | |
| </div> | |
| <div class="row"> | |
| <div class="cell" symbol="0" x="4" y="0"></div> | |
| <div class="cell" symbol="0" x="4" y="1"></div> | |
| <div class="cell" symbol="0" x="4" y="2"></div> | |
| <div class="cell" symbol="0" x="4" y="3"></div> | |
| <div class="cell" symbol="0" x="4" y="4"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="toolbar"> | |
| <div id="basic_tools"> | |
| <input type="radio" id="tool_edit" name="tool_switching" value="edit" class="tool_switching" checked> | |
| <label for="tool_edit" class="tool_label">edit</label> | |
| <input type="radio" id="tool_select" name="tool_switching" value="select" class="tool_switching"> | |
| <label for="tool_select" class="tool_label">select</label> | |
| <input type="radio" id="tool_floodfill" name="tool_switching" value="floodfill" class="tool_switching"> | |
| <label for="tool_floodfill" class="tool_label">flood fill</label> | |
| </div> | |
| <div id="movement_tools"> | |
| <div> | |
| <button class="extra_tools" id="rotate" onclick="rotateCells()"> | |
| <i class="bi bi-arrow-clockwise"></i> | |
| </button> | |
| <span class="tooltip" id="tooltip_rotate">rotate clockwise</span> | |
| </div> | |
| <div id="object_tools"> | |
| <button class="extra_tools" id="flip_horizontal" onclick="reflectY()"> | |
| <i class="bi bi-border-middle"></i> | |
| </button> | |
| <span class="tooltip" id="tooltip_flip_horizontal">horizontal flip</span> | |
| </div> | |
| <div> | |
| <button class="extra_tools" id="flip_vertical" onclick="reflectX()"> | |
| <i class="bi bi-border-center"></i> | |
| </button> | |
| <span class="tooltip" id="tooltip_flip_vertical">vertical flip</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="symbol_picker"> | |
| <div class="symbol_preview symbol_0 selected-symbol-preview" symbol="0"></div> | |
| <div class="symbol_preview symbol_1" symbol="1"></div> | |
| <div class="symbol_preview symbol_2" symbol="2"></div> | |
| <div class="symbol_preview symbol_3" symbol="3"></div> | |
| <div class="symbol_preview symbol_4" symbol="4"></div> | |
| <div class="symbol_preview symbol_5" symbol="5"></div> | |
| <div class="symbol_preview symbol_6" symbol="6"></div> | |
| <div class="symbol_preview symbol_7" symbol="7"></div> | |
| <div class="symbol_preview symbol_8" symbol="8"></div> | |
| <div class="symbol_preview symbol_9" symbol="9"></div> | |
| </div> | |
| </div> | |
| <div id="error_display"></div> | |
| <div id="info_display"></div> | |
| </div> | |
| </div> | |
| <div id="layers"> | |
| <div class="text">LAYER PANEL<button class="add_layer">ADD LAYER</button></div> | |
| <div id="layer_panel"> | |
| <button id="button1" onclick="addLayer()">create Layer from Selection</button> | |
| <button id="button2" onclick="deleteLayer()">delete Layer</button> | |
| <p></p> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |