2024-03-06 08:40:12 +00:00
{% extends "base.html" %}
2024-11-17 18:48:06 +00:00
{% block custom_css %}
<!-- <link rel="stylesheet" href="/stark/static/css/test/annodoc - main.css"/> -->
< link rel = "stylesheet" href = "/stark/static/css/test/style-vis.css" / >
< link rel = "stylesheet" href = "/stark/static/css/test/turkunlp.css" / >
{% endblock %}
2024-03-06 08:40:12 +00:00
{% block content %}
2024-02-13 14:19:22 +00:00
< div class = "container wider-container" >
2024-01-22 13:56:12 +00:00
< br >
2023-12-05 14:26:57 +00:00
2024-03-06 08:40:12 +00:00
<!-- Your table with many columns -->
< h6 > {{ _('Results') }}< / h6 >
< div class = "card" >
< div class = "card-content" >
< div class = "row" >
< div class = "col s12" >
< form action = "{{ url_for('result', result_id=request.view_args['result_id']) }}" method = "POST" enctype = "multipart/form-data" id = "submit-form" >
2024-03-12 09:16:15 +00:00
< button class = "btn inline btn-large insidebutton margin-top" onclick = "window.location.href = '{{url_for('index')}}?lang={{ _('code') }}'; event.preventDefault();" > {{ _('Back to chosen settings') }} < i class = "material-icons left" > keyboard_double_arrow_left< / i > < / button >
2024-03-06 08:40:12 +00:00
< button class = "btn inline right waves-effect waves-light btn-large" type = "submit" name = "action" > {{ _('Download complete results') }}
< i class = "material-icons right" > download< / i >
< / button >
< / form >
< / div >
< / div >
< div class = "table-wrapper" >
< table >
< thead >
< tr >
2024-07-25 07:29:10 +00:00
{% for h, h_t in head %}
{% if not h == 'Grew-match URL' %}
< th > < span > {{ h_t }} < / span > < span class = "th-desc" > ▾ < / span > < span class = "th-asc" > ▴ < / span > < / th >
2024-03-06 08:40:12 +00:00
{% endif %}
{% endfor %}
< / tr >
< / thead >
< tbody >
{% for i in range(content['Tree']|length) %}
2024-11-17 18:48:06 +00:00
< tr data-exid = "{{content['example_id'][i]}}" data-expositions = "{{content['example_positions'][i]}}" class = "tr-link" data-toggle = "tooltip" title = "See an example" data-href = {% if ' Grew-match URL ' in content % } { { content [ ' Grew-match URL ' ] [ i ] } } { % else % } unknown { % endif % } >
2024-03-06 08:40:12 +00:00
{% for col in content %}
2024-11-17 18:48:06 +00:00
{% if not (col == 'Grew-match URL' or col == 'example_id' or col == 'example_positions') %}
2024-03-06 08:40:12 +00:00
< td > {{ content[col][i] }}< / td >
{% endif %}
{% endfor %}
< / tr >
{% endfor %}
< / tbody >
< / table >
< / div >
2024-11-17 18:48:06 +00:00
< br / >
< div class = "visualization-table" >
< table style = "border: none;" >
< thead >
< tr >
< th width = "80%" > Visualization< / th >
< th > Grew< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td style = "border-right: none" > < div class = "visualization" > < / div > < / td >
< td style = "border-left: none;" > < div class = "grew-link" > < / div > < / td >
< / tr >
< / tbody >
< / table >
< / div >
2023-12-05 14:26:57 +00:00
< / div >
< / div >
2024-03-06 08:40:12 +00:00
< / div >
{% endblock %}
{% block custom_js %}
2024-02-21 10:10:31 +00:00
< script src = "/stark/static/js/result.js" > < / script >
2024-11-17 18:48:06 +00:00
< script src = "/stark/static/js/annodoc/head.min.js" > < / script >
< script src = "/stark/static/js/annodoc/annodoc.js" > < / script >
2024-03-06 08:40:12 +00:00
{% endblock %}