<commit_before>{% extends 'base-responsive.html' %}

{% block head %}
{% endblock %}
{% block content %}

    <div id="nav" style="position:relative;">
        <div class="logo">SPACESCOUT</div>
    </div>

    <div id="main_content">

        <div id="space_details_page">

            <div id="space_detail_container" class="">
                <div class="space-detail">
                    <div class="space-detail-inner">
                        <div class="space-detail-header">
                            <div class="space-detail-type">{{type}}</div>
                            <div class="space-detail-name">{{name}}</div>
                        </div>
                        <div class="space-detail-body">
                            <div class="space-detail-body-inner">
                                <div class="image-container">
                                    <div id="myCarousel" class="carousel slide">
                                      <!-- Carousel items -->
                                      <div class="carousel-inner">
                                        {% for image in images %}
                                        <div class="item"><img src="/space/{{ id }}/image/{{ image.id }}/thumb/500x333" class="img"></div>
                                        {% endfor %}

                                      </div>
                                      <!-- Carousel nav -->
                                      <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
                                      <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
                                    </div>
                                </div>
                                <div class="map-container" style="display:none; ">map here</div>

                                <div class="btn-group" style="text-align:center; margin-top: 5px;margin-bottom:8px;">
                                  <button class="btn">images</button>
                                  <button class="btn">map</button>
                                </div>
                                <div class="space-info">

                                    <ul>
                                        {% for attribute in attribute_list %}
                                        <li class="clearfix"><div class="space-info-label pull-left">{{ attribute.name }}</div><div class="space-info-detail pull-left">{{ attribute.value }}</div></li>
                                        {% endfor %}
                                    </ul>
                                    <hr/>
                                    <ul>
                                        <li class="clearfix"><div class="space-info-label pull-left">Current hours</div><div class="space-info-detail pull-left">xxxxx</div></li>
                                        <li class="clearfix"><div class="space-info-label pull-left">Break hours</div><div class="space-info-detail pull-left">xxxxx</div></li>
                                        <li class="clearfix"><div class="space-info-label pull-left">Location</div><div class="space-info-detail pull-left">{{extended_info.location_description}}</div></li>
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Resources</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.has_computers %}Computers&nbsp;{% endif %}
                                                {% if extended_info.has_displays %}Displays&nbsp;{% endif %}
                                                {% if extended_info.has_outlets %}Outlets&nbsp;{% endif %}
                                                {% if extended_info.has_printing %}Printing&nbsp;{% endif %}
                                                {% if extended_info.has_projector %}Projector&nbsp;{% endif %}
                                                {% if extended_info.has_scanner %}Scanner&nbsp;{% endif %}
                                                {% if extended_info.has_whiteboards %}Whiteboards&nbsp;{% endif %}
                                            </div>
                                        </li>
                                        {% if extended_info.noise_level %}
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Noise Level</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.noise_level == "quite" %}
                                                    Quite
                                                {% elif extended_info.noise_level == "moderate"%}
                                                    Moderate
                                                    {% elif extended_info.noise_level == "silent"%}
                                                    Silent
                                                {% else %}
                                                    Variable
                                                {% endif %}
                                            </div>
                                        </li>
                                        {% endif %}

                                        {% if extended_info.has_natural_light %}
                                        <li class="clearfix"><div class="space-info-label pull-left">Lighting</div><div class="space-info-detail pull-left">Natural light</div></li>
                                        {% endif %}


                                        {% if extended_info.food_nearby %}
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Coffee/Food</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.food_nearby == "building" %}
                                                    In building
                                                {% elif extended_info.food_nearby == "space"%}
                                                    In space
                                                {% else %}
                                                    In neighboring building
                                                {% endif %}
                                            </div>
                                        </li>
                                        {% endif %}

                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="space-detail-footer">This space was last updated...  <button type="button" class="btn btn-small btn-danger">report a problem</button></div>
                    </div>
                </div>
            </div>

        </div>
    </div><commit_msg>adds extended info for resources and date updated<commit_after>{% extends 'base-responsive.html' %}

{% block head %}
{% endblock %}
{% block content %}

    <div id="nav" style="position:relative;">
        <div class="logo">SPACESCOUT</div>
    </div>

    <div id="main_content">

        <div id="space_details_page">

            <div id="space_detail_container" class="">
                <div class="space-detail">
                    <div class="space-detail-inner">
                        <div class="space-detail-header">
                            <div class="space-detail-type">{{type}}</div>
                            <div class="space-detail-name">{{name}}</div>
                        </div>
                        <div class="space-detail-body">
                            <div class="space-detail-body-inner">
                                <div class="image-container">
                                    <div id="myCarousel" class="carousel slide">
                                      <!-- Carousel items -->
                                      <div class="carousel-inner">
                                        {% for image in images %}
                                        <div class="item"><img src="/space/{{ id }}/image/{{ image.id }}/thumb/500x333" class="img"></div>
                                        {% endfor %}

                                      </div>
                                      <!-- Carousel nav -->
                                      <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
                                      <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
                                    </div>
                                </div>
                                <div class="map-container" style="display:none; ">map here</div>

                                <div class="btn-group" style="text-align:center; margin-top: 5px;margin-bottom:8px;">
                                  <button class="btn">images</button>
                                  <button class="btn">map</button>
                                </div>
                                <div class="space-info">

                                    <ul>
                                        {% for attribute in attribute_list %}
                                        <li class="clearfix"><div class="space-info-label pull-left">{{ attribute.name }}</div><div class="space-info-detail pull-left">{{ attribute.value }}</div></li>
                                        {% endfor %}
                                    </ul>
                                    <hr/>
                                    <ul>
                                        <li class="clearfix"><div class="space-info-label pull-left">Current hours</div><div class="space-info-detail pull-left">{{available_hours}}</div></li>
                                        <li class="clearfix"><div class="space-info-label pull-left">Location</div><div class="space-info-detail pull-left">{{extended_info.location_description}}</div></li>
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Resources</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.has_computers %}Computers&nbsp;{% endif %}
                                                {% if extended_info.has_displays %}Displays&nbsp;{% endif %}
                                                {% if extended_info.has_outlets %}Outlets&nbsp;{% endif %}
                                                {% if extended_info.has_printing %}Printing&nbsp;{% endif %}
                                                {% if extended_info.has_projector %}Projector&nbsp;{% endif %}
                                                {% if extended_info.has_scanner %}Scanner&nbsp;{% endif %}
                                                {% if extended_info.has_whiteboards %}Whiteboards&nbsp;{% endif %}
                                            </div>
                                        </li>
                                        {% if extended_info.noise_level %}
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Noise Level</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.noise_level == "quite" %}
                                                    Low hum
                                                {% elif extended_info.noise_level == "moderate"%}
                                                    Chatter
                                                    {% elif extended_info.noise_level == "silent"%}
                                                    Silent
                                                {% else %}
                                                    Variable
                                                {% endif %}
                                            </div>
                                        </li>
                                        {% endif %}

                                        {% if extended_info.has_natural_light %}
                                        <li class="clearfix"><div class="space-info-label pull-left">Lighting</div><div class="space-info-detail pull-left">Natural light</div></li>
                                        {% endif %}


                                        {% if extended_info.food_nearby %}
                                        <li class="clearfix">
                                            <div class="space-info-label pull-left">Coffee/Food</div>
                                            <div class="space-info-detail pull-left">
                                                {% if extended_info.food_nearby == "building" %}
                                                    In building
                                                {% elif extended_info.food_nearby == "space"%}
                                                    In space
                                                {% else %}
                                                    In neighboring building
                                                {% endif %}
                                            </div>
                                        </li>
                                        {% endif %}

                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="space-detail-footer">This space was last updated {{last_modified}}...  <button type="button" class="btn btn-small btn-danger">report a problem</button></div>
                    </div>
                </div>
            </div>

        </div>
    </div>
{'fraction_non_alphanumeric': 0.10958522133147439, 'fraction_numerical': 0.0011153712094806552, 'mean_word_length': 0.7785767418794942, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 250, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2090295', 'n_tokens_mistral': 2898, 'n_tokens_neox': 2579, 'n_words': 515}