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

{% block javascripts %}

	<!-- jQuery -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" type="text/javascript"></script>

    <!-- knockout -->
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.tmpl.min.js"></script>
	<script type="text/javascript" src="{{ STATIC_URL }}js/knockout.js"></script>
	
	<!-- noty -->
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.noty.js"></script>


    <!-- MathJax -->
    <script type="text/x-mathjax-config">
          MathJax.Hub.Config({
            extensions: ['tex2jax.js',"TeX/AMSmath.js","TeX/AMSsymbols.js"],
            tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
            jax: ["input/TeX","output/HTML-CSS"],
            displayAlign: "center",
            displayIndent: "0.1em",
            showProcessingMessages: false
        });
    </script>
    <script src="https://d3eoax9i5htok0.cloudfront.net/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

    <script src="{{ STATIC_URL }}js/es5-shim.js" type="text/javascript"></script>
    <script src="{{ STATIC_URL }}js/main.js" type="text/javascript"></script>
{% endblock javascripts %}

{% block stylesheets %}
    <link href="{{ STATIC_URL }}css/jquery.noty.css" rel="stylesheet" type="text/css" />
    <link href="{{ STATIC_URL }}css/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="{{ STATIC_URL }}css/normalize.css" type="text/css" rel="stylesheet" />
    <link href="{{ STATIC_URL }}css/main.css" type="text/css" rel="stylesheet" />
{% endblock stylesheets %}

{% block body %}
	<div id="main">
		<div class="headerwrap">
			<div id="header">
				<div id="logo">
					<div id="logo_text">
						<a href="/">
						{% block logo_text %}
						<h1>Numbas</h1>
						{% endblock logo_text %}
						</a>
					</div>
					<!-- end #logo_text -->
				</div>
				<!-- end #logo -->
				<div id="menubar">
					<div id="session">
						{% if user.is_authenticated %}
						Hi, {{ user.username }}! <a href="{% url logout %}?next={{request.path|escape}}">Log out</a>.
						{% else %}
						<a href="{% url login %}?next={{request.path|escape}}">Log in</a>.
						{% endif %}
					</div>
					{% block menubar %}
						<ul id="menu">
							<li><a href="{% url editor_index %}">Home</a></li>
							<li><a href="{% url exam_index %}">Exams</a></li>
							<li><a href="{% url question_index %}">Questions</a></li>   
						</ul>
					{% endblock menubar %}
					<div style="clear:both"></div>
				</div>
				<!-- end #menubar -->
			</div>
		</div>
        <!-- end #header -->
        <div id="content_header"></div>
        <div id="site_content">
            <div class="sidebar">
                {% block sidebar %}
                {% endblock sidebar %}
            </div>
            <!-- end .sidebar -->
            <div id="content">
                {% block content %}
                {% endblock content %}
            </div>
            <!-- end #content -->
        </div>
        <!-- end #site_content -->
        <div id="content_footer"></div>
        <div id="footer">
                    <p>
                <a href="http://www.ncl.ac.uk/math/">&copy; 2011 School of Mathematics &amp; Statistics</a>
            </p>
        </div>
        <!-- end #footer -->
    </div>
    <!-- end #main -->
{% endblock body %}


                    
<commit_msg>make logo inline so only clickable near text; style logout link<commit_after>{% extends "base.html" %}
{% load activetab %}

{% block javascripts %}

	<!-- jQuery -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" type="text/javascript"></script>

    <!-- knockout -->
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.tmpl.min.js"></script>
	<script type="text/javascript" src="{{ STATIC_URL }}js/knockout.js"></script>
	
	<!-- noty -->
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.noty.js"></script>


    <!-- MathJax -->
    <script type="text/x-mathjax-config">
          MathJax.Hub.Config({
            extensions: ['tex2jax.js',"TeX/AMSmath.js","TeX/AMSsymbols.js"],
            tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
            jax: ["input/TeX","output/HTML-CSS"],
            displayAlign: "center",
            displayIndent: "0.1em",
            showProcessingMessages: false
        });
    </script>
    <script src="https://d3eoax9i5htok0.cloudfront.net/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

    <script src="{{ STATIC_URL }}js/es5-shim.js" type="text/javascript"></script>
    <script src="{{ STATIC_URL }}js/main.js" type="text/javascript"></script>
{% endblock javascripts %}

{% block stylesheets %}
    <link href="{{ STATIC_URL }}css/jquery.noty.css" rel="stylesheet" type="text/css" />
    <link href="{{ STATIC_URL }}css/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="{{ STATIC_URL }}css/normalize.css" type="text/css" rel="stylesheet" />
    <link href="{{ STATIC_URL }}css/main.css" type="text/css" rel="stylesheet" />
{% endblock stylesheets %}

{% block body %}
	<div id="main">
		<div class="headerwrap">
			<div id="header">
				<div id="logo">
					<div id="logo_text">
						{% block logo_text %}
						<a href="/">
							<h1>Numbas</h1>
						</a>
						{% endblock logo_text %}
					</div>
					<!-- end #logo_text -->
				</div>
				<!-- end #logo -->
				<div id="menubar">
					<div id="session">
						{% if user.is_authenticated %}
						Hi, {{ user.username }}! <a id="logout" href="{% url logout %}?next={{request.path|escape}}">Log out</a>.
						{% else %}
						<a href="{% url login %}?next={{request.path|escape}}">Log in</a>.
						{% endif %}
					</div>
					{% block menubar %}
						<ul id="menu">
							<li><a href="{% url editor_index %}">Home</a></li>
							<li><a href="{% url exam_index %}">Exams</a></li>
							<li><a href="{% url question_index %}">Questions</a></li>   
						</ul>
					{% endblock menubar %}
					<div style="clear:both"></div>
				</div>
				<!-- end #menubar -->
			</div>
		</div>
        <!-- end #header -->
        <div id="content_header"></div>
        <div id="site_content">
            <div class="sidebar">
                {% block sidebar %}
                {% endblock sidebar %}
            </div>
            <!-- end .sidebar -->
            <div id="content">
                {% block content %}
                {% endblock content %}
            </div>
            <!-- end #content -->
        </div>
        <!-- end #site_content -->
        <div id="content_footer"></div>
        <div id="footer">
                    <p>
                <a href="http://www.ncl.ac.uk/math/">&copy; 2011 School of Mathematics &amp; Statistics</a>
            </p>
        </div>
        <!-- end #footer -->
    </div>
    <!-- end #main -->
{% endblock body %}


                    

{'fraction_non_alphanumeric': 0.2163815880962314, 'fraction_numerical': 0.006118759560561814, 'mean_word_length': 2.2381809995497526, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 181, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '6787268', 'n_tokens_mistral': 2772, 'n_tokens_neox': 2316, 'n_words': 445}