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

{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}Conference Schedule Edit{% endblock %}

{% block body_class %}full{% endblock %}

{% block right %}
{% endblock %}

{% block extra_head %}
    <link rel="stylesheet" href="{{ STATIC_URL }}css/facebox.css" />
    <style>
        td {
            font-size: 9pt;
        }
        td.slot {
            text-align: center;
            vertical-align: middle;
        }
        td.time {
            vertical-align: top;
            width: 50px;
            font-size: 8pt;
            padding-top: 0;
        }
        td.slot:hover .schedule-controls {
            display: block;
        }
        .schedule-controls {
            display: none;
            font-size: 8pt;
        }
        .schedule-controls a {
            text-decoration: none;
            color: #000;
        }
        .schedule-controls a:hover {
            color: #999;
        }
        td.slot .title {
            font-weight: bold;
            line-height: 10pt;
        }
    </style>
{% endblock %}

{% block body_outer %}
    <div class="row">
        <div class="span12">
            <h1>Schedule Edit</h1>
            
            {% for timetable in days %}
                <h2>{{ timetable.day.date }}</h2>
                    
                {% include "schedule/_grid.html" %}
            {% endfor %}
        </div>
        
        <div class="modal fade hide in" id="slotEditModal">
            <form id="slotEditForm" class="modal-form" method="POST">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h3>{% trans "Edit Slot" %}</h3>
                </div>
                <div class="modal-body">
                    {% csrf_token %}
                    {{ form|as_bootstrap }}
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
{% endblock %}

{% block extra_script %}
    <script type="text/javascript">
        $(function() {
            $("a.edit-slot").click(function() {
                $("#slotEditForm").get(0).setAttribute("action", $(this).data("action"));
                $("#slotEditModal").modal("show");
            });
        });
    </script>
{% endblock %}
<commit_msg>removed old facebox reference<commit_after>{% extends "site_base.html" %}

{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}Conference Schedule Edit{% endblock %}

{% block body_class %}full{% endblock %}

{% block right %}
{% endblock %}

{% block extra_head %}
    <style>
        td {
            font-size: 9pt;
        }
        td.slot {
            text-align: center;
            vertical-align: middle;
        }
        td.time {
            vertical-align: top;
            width: 50px;
            font-size: 8pt;
            padding-top: 0;
        }
        td.slot:hover .schedule-controls {
            display: block;
        }
        .schedule-controls {
            display: none;
            font-size: 8pt;
        }
        .schedule-controls a {
            text-decoration: none;
            color: #000;
        }
        .schedule-controls a:hover {
            color: #999;
        }
        td.slot .title {
            font-weight: bold;
            line-height: 10pt;
        }
    </style>
{% endblock %}

{% block body_outer %}
    <div class="row">
        <div class="span12">
            <h1>Schedule Edit</h1>
            
            {% for timetable in days %}
                <h2>{{ timetable.day.date }}</h2>
                    
                {% include "schedule/_grid.html" %}
            {% endfor %}
        </div>
        
        <div class="modal fade hide in" id="slotEditModal">
            <form id="slotEditForm" class="modal-form" method="POST">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h3>{% trans "Edit Slot" %}</h3>
                </div>
                <div class="modal-body">
                    {% csrf_token %}
                    {{ form|as_bootstrap }}
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </form>
        </div>
    </div>
{% endblock %}

{% block extra_script %}
    <script type="text/javascript">
        $(function() {
            $("a.edit-slot").click(function() {
                $("#slotEditForm").get(0).setAttribute("action", $(this).data("action"));
                $("#slotEditModal").modal("show");
            });
        });
    </script>
{% endblock %}

{'fraction_non_alphanumeric': 0.15166563211255948, 'fraction_numerical': 0.010345541071798055, 'mean_word_length': 1.3523114355231143, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5388127', 'n_tokens_mistral': 1480, 'n_tokens_neox': 1342, 'n_words': 276}