Download MINI-ARC/server/src/templates/testset_list_admin.html from Alignment-Lab-AI/ARC-stuff: direct link, hf CLI and curl.
- Browser
- Download file 5.83 kB
-
https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/MINI-ARC/server/src/templates/testset_list_admin.html
- Command line
-
hf download hf://datasets/Alignment-Lab-AI/ARC-stuff/MINI-ARC/server/src/templates/testset_list_admin.html
-
curl -L -o testset_list_admin.html https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/MINI-ARC/server/src/templates/testset_list_admin.html
5.83 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> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" | |
| integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css"> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" | |
| integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" | |
| crossorigin="anonymous"></script> | |
| <script src="{{ url_for('static', filename='js/common.js') }}"></script> | |
| <script src="{{ url_for('static', filename='js/testset_list.js') }}"></script> | |
| <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/testset_common.css') }}"> | |
| <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/testset_list.css') }}"> | |
| <link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet"> | |
| </head> | |
| <div id="submission_modal" class="modal fade" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" | |
| aria-labelledby="staticBackdropLabel" aria-hidden="true"> | |
| <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable"> | |
| <div class="modal-content"> | |
| <div class="modal-header"> | |
| <h5 class="modal-title" id="staticBackdropLabel">Search testSet</h5> | |
| <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | |
| </div> | |
| <div class="modal-body"> | |
| <label>userID</label> | |
| <br> | |
| <input id="user_id"> | |
| <p></p> | |
| <label>Description</label> | |
| <br> | |
| <input id="task_description"> | |
| <br> | |
| <form> | |
| <div> | |
| <input type="radio" id="approved" | |
| name="approval_choice" value="1"> | |
| <label for="approved">Approved</label> | |
| <input type="radio" id="disapproved" | |
| name="approval_choice" value="0"> | |
| <label for="disapproved">Disapproved</label> | |
| <input type="radio" id="all" | |
| name="approval_choice" value="0"> | |
| <label for="all">All</label> | |
| </div> | |
| </form> | |
| </div> | |
| <div class="modal-footer"> | |
| <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> | |
| <button type="button" class="btn btn-danger" data-bs-dismiss="modal" | |
| onclick="searchAdminTestSet()">Search</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <body> | |
| <div id="workspace"> | |
| <div id="cardlist_view"> | |
| <div id="edition_view"> | |
| <div class="text">All Test Sets</div> | |
| <button type="button" class="btn btn-outline-dark" data-bs-toggle="modal" | |
| data-bs-target="#submission_modal" id="submit_final_btn">Search</button> | |
| <button type="button" class="btn btn-outline-dark" id="save_btn" onclick="saveAsFile()">Save as file</button> | |
| <div id="data_panel"> | |
| <p></p> | |
| <div class="row"> | |
| </div> | |
| </div> | |
| <script> | |
| (function() { | |
| $.getJSON( '/testset/getlist', { | |
| tags: "mount rainier", | |
| tagmode: "any", | |
| format: "json" | |
| }) | |
| .done(function( data ) { | |
| $.each( data, function( i, item ) { | |
| testSet = JSON.parse(JSON.parse(item.testjson)['testArray']) | |
| const testName = JSON.parse(item.testjson)['test_id'] | |
| const testApprove = item.approve | |
| const json_obj = JSON.parse(item.testjson) | |
| var cardList = $('<div class="column"><div tabindex="' + i + '" id="cardview_' + i + '" class="card" style="font-size: 10px" onClick="showAllTestSet(\'' + testName + '\')"><h6>testID: ' + testName.slice(0,9) + '</h6><h6>madeBy: '+json_obj['user_id']+'</h6><h6>'+json_obj['description']+'</h6><h6>approved: ' + testApprove + '</h6></div></div>') | |
| cardList.appendTo('#data_panel') | |
| }); | |
| }); | |
| })(); | |
| </script> | |
| </div> | |
| <div id="error_display"></div> | |
| <div id="info_display"></div> | |
| </div> | |
| <div id="cardone_view"> | |
| <div class="text">Chosen Testset</div> | |
| <div id="layer_panel"> | |
| <p></p> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |