<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Capitains Nemo</title>

    <!-- Bootstrap --><!-- Latest compiled and minified CSS -->
    <!--<link rel="stylesheet" href="{{url_for('.static', filename='css/teibp.min.css')}}">-->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{url_for('.static', filename='css/theme.min.css')}}">
    <link rel="stylesheet" href="/plokamos/assets/css/annotator.css">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/css/bootstrap-multiselect.css">
    {% for filename, directory in assets["css"].items() %}
        {% if directory %}<link rel="stylesheet" href="{{url_for('.secondary_assets', filetype='css', asset=filename)}}">
        {% else %}<link rel="stylesheet" href="{{ filename }}">
        {% endif %}
    {% endfor %}
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body data-urn="urn:cts:{{ urns }}"
data-sparql-update-endpoint="{{ update_endpoint }}" data-sparql-select-endpoint="{{ select_endpoint }}" data-user="{{session['oauth_user_uri']}}">
<nav class="col-md-2" id="menu-container">
    {% include "main::menu.html" %}
</nav>
<div class="col-md-10" id="reading-container">
    {% include "main::breadcrumb.html" %}
    {% include "nemo_oauth_plugin::user.html" %}
    {% block article %}
    {% endblock %}
</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
{% for filename, directory in assets["js"].items() %}
{% if directory %}<script src="{{url_for('.secondary_assets', type='js', asset=filename)}}"></script>
{% else %}<script src="{{ filename }}"></script>
{% endif %}
{% endfor %}
<script type="text/javascript" src="/plokamos/assets/js/rdfstore.js"></script>
<script type="text/javascript" src="/plokamos/assets/js/annotator.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/js/bootstrap-multiselect.min.js"></script>
<script type="text/javascript">
    $(window).load(function() {
        (new Plokamos(document.getElementById('reading-container'))).initialize({
        {% if 'passage_identifier' in url.keys() %}
            applicator: true,
            history: true,
            annotator: ['social-network','characterizations'],
        {% endif %}
            corpusdiagram: true
        })
    })
</script>
</body>
</html>