<commit_before>{% extends "base.html" %}

{% load i18n %}

{% block title %} Dataset details {% endblock title %}

{% block content %}

                <div class="container">

                    <div class="row search-ui">

                        <div class="span3 text-right">

                        </div>

                        <div class="span8 offset1 text-left">

                            <div class="row">

                                {% include "browser/_search.html" with query=query %}

                            </div>

                        </div>

                    </div>

                </div>

                <div class="row">

                    <h4 class="dataset-title"> {% trans "Tabular View" %} </h4>

                </div>

                <div class="row">

                    <div >

                        <div class="dataset-description">
                            <h5>
                                <i class="fa fa-file-text-o" aria-hidden="true"></i>
                                {% trans "Description" %}
                            </h5>
                            <p class="text-justify">
                                {{ dataset.notes }}
                            </p>

                        </div>

                        <div class="dataset-metadata">

                            <h5>
                                <i class="fa fa-info-circle" aria-hidden="true"></i>
                                {% trans "Metadata" %}
                            </h5>
                            <div>
                                {{ metadata_box|safe }}
                            </div>

                        </div>

                    </div>
                </div>
                <br/>
                <div class="row">
                    {% include "browser/_dataset_api_box.html" with API_LINK=API_LINK %}
                </div>
                <div class="row">
                    <div>

                      <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#explorer" aria-controls="explorer" role="tab" data-toggle="tab">{% trans "Data Explorer" %}</a></li>
                        <li role="presentation"><a href="#pivottable" aria-controls="pivottable" role="tab" data-toggle="tab">{% trans "PivotTable" %}</a></li>
                        <li role="presentation"><a href="#discuss" aria-controls="discuss" role="tab" data-toggle="tab">{% trans "SPOD Discussion" %}</a></li>
                      </ul>

                      <div class="tab-content">
                        <div role="tabpanel" class="tab-pane active" id="explorer">
                            <iframe width="100%" height="800" src="{{url_table}}" frameBorder="0"></iframe>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="pivottable">
                            <iframe width="100%" height="800" src="{{url_pivottable}}" frameBorder="0"></iframe>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="discuss">
                            <div class="spod-discussions">

                                <h5>
                                    <i class="fa fa-comments-o" aria-hidden="true"></i>
                                    {% trans "Discussions at SPOD" %}
                                </h5>
                                {% if spod_box_datasets %}
                                    {% for dataset in spod_box_datasets %}
                                        {% include "browser/_dataset_discussion.html" with dataset=dataset %}
                                    {% endfor %}
                                {% else %}
                                <p>
                                    {% trans "This dataset has not been discussed in SPOD, be the first to discuss the dataset!" %}
                                </p>
                                <br/><br/>
                                <p>
                                    <a href="{{ SPOD_URL }}" class="pull-right" data-original-title="" title=""> {% trans "Start the discussion" %}</a>
                                </p>
                                {% endif %}

                            </div>
                        </div>
                      </div>

                    </div>
                </div>


            </div>

{% endblock content %}<commit_msg>tabular view - title<commit_after>{% extends "base.html" %}

{% load i18n %}

{% block title %} Dataset details {% endblock title %}

{% block content %}

                <div class="container">

                    <div class="row search-ui">

                        <div class="span8 offset3 text-left">

                            <div class="row">

                                {% include "browser/_search.html" with query=query %}

                            </div>

                        </div>

                    </div>

                </div>

                <div class="row">

                    <h4 class="dataset-title"> {{ dataset.title }} <small>{% trans "Tabular View" %}</small></h4>
                    <h5 class="dataset-title">  </h5>

                </div>

                <div class="row">

                    <div >

                        <div class="dataset-description">
                            <h5>
                                <i class="fa fa-file-text-o" aria-hidden="true"></i>
                                {% trans "Description" %}
                            </h5>
                            <p class="text-justify">
                                {{ dataset.notes }}
                            </p>

                        </div>

                        <div class="dataset-metadata">

                            <h5>
                                <i class="fa fa-info-circle" aria-hidden="true"></i>
                                {% trans "Metadata" %}
                            </h5>
                            <div>
                                {{ metadata_box|safe }}
                            </div>

                        </div>

                    </div>
                </div>
                <br/>
                <div class="row">
                    {% include "browser/_dataset_api_box.html" with API_LINK=API_LINK %}
                </div>
                <div class="row">
                    <div>

                      <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#explorer" aria-controls="explorer" role="tab" data-toggle="tab">{% trans "Data Explorer" %}</a></li>
                        <li role="presentation"><a href="#pivottable" aria-controls="pivottable" role="tab" data-toggle="tab">{% trans "PivotTable" %}</a></li>
                        <li role="presentation"><a href="#discuss" aria-controls="discuss" role="tab" data-toggle="tab">{% trans "SPOD Discussion" %}</a></li>
                      </ul>

                      <div class="tab-content">
                        <div role="tabpanel" class="tab-pane active" id="explorer">
                            <iframe width="100%" height="800" src="{{url_table}}" frameBorder="0"></iframe>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="pivottable">
                            <iframe width="100%" height="800" src="{{url_pivottable}}" frameBorder="0"></iframe>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="discuss">
                            <div class="spod-discussions">

                                <h5>
                                    <i class="fa fa-comments-o" aria-hidden="true"></i>
                                    {% trans "Discussions at SPOD" %}
                                </h5>
                                {% if spod_box_datasets %}
                                    {% for dataset in spod_box_datasets %}
                                        {% include "browser/_dataset_discussion.html" with dataset=dataset %}
                                    {% endfor %}
                                {% else %}
                                <p>
                                    {% trans "This dataset has not been discussed in SPOD, be the first to discuss the dataset!" %}
                                </p>
                                <br/><br/>
                                <p>
                                    <a href="{{ SPOD_URL }}" class="pull-right" data-original-title="" title=""> {% trans "Start the discussion" %}</a>
                                </p>
                                {% endif %}

                            </div>
                        </div>
                      </div>

                    </div>
                </div>


            </div>

{% endblock content %}
{'fraction_non_alphanumeric': 0.13045419038053788, 'fraction_numerical': 0.006137707845106573, 'mean_word_length': 0.8659171351238809, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2472738', 'n_tokens_mistral': 2300, 'n_tokens_neox': 1987, 'n_words': 437}