UNPKG

malgo-brat-frontend-editor

Version:
138 lines (129 loc) 5.77 kB
<div id="brat-frontend-editor"> <div id="commentpopup"></div> <div id="svg"></div> <!-- Span dialog (view+edit) --> <form id="span_form" class="dialog" title="Span"> <!-- Span dialog annotated text --> <fieldset id="span_selected_fset"> <legend>Text</legend> <a target="brat_linked" id="span_highlight_link" href="#">Link</a> <div id="span_selected"/> </fieldset> <!-- Span dialog search links --> <fieldset id="span_search_fieldset"> <legend>Search</legend> <div id="span_search_links"/> </fieldset> <!-- Span dialog type selector --> <fieldset> <div id="entity_and_event_wrapper" class="split_wrapper"> <div id="span_entity_section" class="wrapper_half_left"> <div id="entity_label" class="label-like"> Entity type </div> <div id="entity_types" class="scroll_wrapper_upper"> <div class="scroller"></div> </div> <!-- NOTE: the attribute labels must be *outside* of the divs they logically belong to prevent scrollers overflowing them. --> <div id="entity_attribute_label" class="label-like wrapper_lower_label"> Entity attributes </div> <div id="entity_attributes" class="scroll_wrapper_lower"> <div class="scroller small-buttons"></div> </div> </div> <div id="span_event_section" class="wrapper_half_right"> <div id="event_label" class="label-like"> Event type </div> <div id="event_types" class="scroll_wrapper_upper"> <div class="scroller"></div> </div> <div id="event_attribute_label" class="wrapper_lower_label label-like"> Event attributes </div> <div id="event_attributes" class="scroll_wrapper_lower"> <div class="scroller small-buttons"></div> </div> </div> </div> </fieldset> <!-- Span dialog normalization --> <fieldset id="norm_fieldset"> <legend>Normalization</legend> <div id="norm_container"> <select id="span_norm_db"/> <a id="span_norm_db_link" target="brat_linked" href="#" title="Search DB"><img class="brat-fugue-shadowless-magnifier" src="static/img/Fugue-shadowless-magnifier.png" style="vertical-align: middle"/></a> <span class="span_norm_label">ID:</span> <input id="span_norm_id" class="span_norm_id_input" style="width:20%"/> <span class="span_norm_label">Ref:</span> <input id="span_norm_txt" class="span_norm_txt_input" readonly="readonly" style="width:45%" placeholder="Click here to search"/> <a id="span_norm_ref_link" target="brat_linked" href="#" title="See in DB"><img class="brat-fugue-shadowless-external" src="static/img/Fugue-shadowless-external.png" style="vertical-align: middle"/></a> <input id="clear_norm_button" type="button" value="&#x2715;" title="Clear normalization"/> </div> </fieldset> <!-- Span dialog notes --> <fieldset> <legend>Notes</legend> <div id="notes_container"> <input id="span_notes" class="borderless"/> <input id="clear_notes_button" type="button" value="&#x2715;" title="Clear notes"/> </div> </fieldset> </form> <!-- Rapid mode span dialog --> <form id="rapid_span_form" class="dialog" title="Span type"> <fieldset id="rapid_span_selected_fset"> <legend>Text</legend> <div id="rapid_span_selected"/> </fieldset> <div id="rapid_span_types" class="scroll_fset" style="height:250px"> <fieldset> <legend>Select type</legend> <div class="scroller" id="rapid_span_types_div"> <!-- filled dynamically --> </div> </fieldset> </div> </form> <!-- Arc dialog --> <form id="arc_form" class="dialog" title="Arc"> <fieldset id="arc_origin_fset"> <legend>From</legend> <a target="brat_linked" id="arc_highlight_link" href="#">Link</a> <div id="arc_origin"/> </fieldset> <fieldset id="arc_target_fset"> <legend>To</legend> <div id="arc_target"/> </fieldset> <div id="arc_roles" class="scroll_fset"> <fieldset> <legend>Type</legend> <div class="scroller"/> </fieldset> </div> <fieldset id="arc_notes_fieldset"> <legend>Notes</legend> <input id="arc_notes" class="borderless"/> </fieldset> </form> <!-- Split span annotation dialog --> <form id="split_form" class="dialog" title="Split the Span"> <fieldset> <legend>Split Roles</legend> <div id="split_roles" class="scroll_fset"/> </fieldset> </form> <!-- Spinner --> <!--<div id="waiter" class="dialog" title="Please wait"> <img class="brat-spinner" src="static/img/spinner.gif"/> </div>--> </div>