No images in this repository’s iceberg at this time
Download raw (9.1 KB)
{% extends "aacore/base.html" %} {% load ak_tags %} {% load aacore_tags %} {% block css %} {{ block.super }} <link rel="stylesheet" href="{% url 'aa-namespaces-css' %}" type="text/css" media="screen" /> {% endblock %} {% block body_id %}{% if node %}{{ node|URLpath|slugify }}{% endif %}{% endblock %} {% block body %} <section id="content"> {% if node|URLpath|slugify == "about" %}<div id="node"><h1>Ab[ou]t</h1></div>{% endif %} {% if node|URLpath|slugify == "materiautheque" %}<div id="node"><h1>S[ou]rce</div>{% endif %} {% if node|URLpath|slugify == "hfak" %}<div id="node"><h1>HF → AK</h1></div>{% endif %} {% if user.is_authenticated %} <form id="URLbar" method="get" action="">{% csrf_token %} <div> <a href="{{ node }}" class="directlink">URL</a> <input name="node" id="node" style="width: 50%;" value="{{ node }}" /> <input type="submit" name="_submit" value="OK" /> {% if user.is_authenticated %} <input type="submit" name="_submit" value="Reload" /> <div id="add-box" class="button"><a href="{% url 'admin:aacore_annotation_add' %}?resource={{ node }}" target="_blank">Add box</a></div> <div id="list-box" class="button"><a href="{% url 'admin:aacore_annotation_changelist' %}?resource={{ node }}" target="_blank">Box list</a></div> {% endif %} </div> </form> {% endif %} {% if edition %} <div id="infos" class="edition"> {% infobox node "edition" %} </div> {% endif %} {% with kinds.bindings.0.type.lower as kind %} {% if kind == "http://purl.org/vocab/frbr/core#work" %} <div id="infos" class="work"> {% infobox node "work" %} </div> {% endif %} {% endwith %} {% if zItem.bindings.0.zItem %} <div id="infos" class="zotero"> {% infobox node "zotero" %} <iframe src="{{ node }}" sandbox="" class="zFrame"></iframe> </div> {% endif %} {% for annotation in annotation_list %} <section id="annotation-{{ annotation.pk }}" class="annotation"> {% if user.is_authenticated %} <a href="{% url 'admin:aacore_annotation_change' annotation.pk %}" class="edit" target="_blank">edit</a> {% endif %} {{ annotation.body|safe }} </section> {% endfor %} <div id="node"> {% if as_subject.bindings or as_predicate.bindings or as_object.bindings %} {% if node|URLpath == "sensational life+bio XXX" %} <h1>Who is wordy about Anna’s life ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "drug addict" %} <h1>Is Anna a drug heroin ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "enough heroin" %} <h1>What did Scotland Yard say when they found Anna dead ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "puzzling narrative|slipstream" %} <h1>Who gets lost when reading Anna ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "like XXX" %} <h1>Who do we think of when reading Anna ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "XXX likes" %} <h1>Who are Anna’s critics from the first hours ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "self-portrait" %} <h1>Who mentions Anna’s paintings ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "Walker Evans" %} <h1>Where does this photograph of Anna come from ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "web folklore|remix XXX" %} <h1>What creations does Anna inspire ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "mental instability" %} <h1>Does Anna suffer from a psychiatric disorder ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "over again" %} <h1>Does Anna repeat herself ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "WW|WW 1|WW 2|war writer|war cold" %} <h1>Is Anna a war writer ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "SF writer+slipstream" %} <h1>Is Anna an SF writer ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "proto-feminism|women writings" %} <h1>Was Anna Kavan a feminist writer ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "français" %} <h1><em>« Anna Kavan » en français dans le texte ?</em></h1> <h2>{{ node }}</h2> {% elif node|URLpath == "active archives|papers XXX" %} <h1>Where are Anna’s papers ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "coffee break" %} <h1>Who is into Anna ?</h1> <h2>{{ node }}</h2> {% elif node|URLpath == "OL200810A" %} <h1>Anna Kavan</h1> {% elif kinds.bindings.0.title %} <em>{{ kinds.bindings.0.title }}</em> {% elif edition.bindings.0.title %} <em>{{ edition.bindings.0.title }}</em>, {{ edition.bindings.0.date }} {% else %} <h1>« {{ node|URLpath|uncamel }} »</h1> {% endif %} {% endif %} </div> {% regroup as_subject.bindings by predicate as as_subject_list %} {% if as_subject_list %} <section id="as-subject" class="rawdata"> <!--<h1>As subject</h1>--> <dl> {% for group in as_subject_list %} <dt><h2><a href="{{ group.grouper|browseurl }}">{{ group.grouper|URLpath|uncamel }}</a></h2></dt> {% for item in group.list %} <dd><a href="/browse/?node={{ item.object }}">{{ item.object }}</a></dd> {% endfor %} {% endfor %} </dl> </section> {% endif %} {% regroup as_predicate.bindings|dictsort:"object" by object as as_predicate_list %} {% if as_predicate_list %} <section id="as-predicate" class="rawdata"> <!--<h1>As predicate</h1>--> <dl> {% for group in as_predicate_list %} <dt><h2><a href="{{ group.grouper|browseurl }}">{{ group.grouper|URLpath|uncamel }}</a></h2></dt> {% for item in group.list %} <dd><a href="{{ item.subject|browseurl }}"> {% if item.subject|URLpath:"-2" == "books" or item.subject|URLpath:"-3" == "books" %} <img src='http://covers.openlibrary.org/b/olid/{{ item.subject|URLpath }}-M.jpg' title="{{ item.title }} ({{ item.date }})" alt="{{ item.title }} ({{ item.date }})" /> {% elif item.subject|URLpath:"-1" == "works" or item.subject|URLpath:"-2" == "works" %} <span class="work">{{ item.title }}</span> {% else %} {{ item.subject }} {% endif %} </a></dd> {% endfor %} {% endfor %} </dl> </section> {% endif %} {% regroup as_object.bindings|dictsort:"predicate" by predicate as as_object_list %} {% if as_object_list %} <section id="as-object" class="rawdata"> <dl> {% for group in as_object_list %} {{ group.grouper }} {% if group.grouper|URLpath != "stats#bigram" and group.grouper|URLpath != "stats#hasCharacter" %} {% if group.grouper|URLpath|uncamel != "subject" %} <dt><h2><a href="{{ group.grouper|browseurl }}">{{ group.grouper|URLpath|uncamel }}</a></h2></dt> {% endif %} {% for item in group.list %} <dd class="{% if item.zItemType %}zItem {{ item.zItemType }}{% endif %}"><a href="{{ item.subject|browseurl }}"> {% if item.zItemType %} <h3>{{ item.title }}</h3> <span class="type">{{ item.zItemType }},</span> <span class="date">{{ item.date }}</span> <p class="abstract">{{ item.abstract }}</p> {% else %} {% if item.subject|URLpath:"-2" == "books" or item.subject|URLpath:"-3" == "books" %} <img src='http://covers.openlibrary.org/b/olid/{{ item.subject|URLpath }}-M.jpg' title="{{ item.title }} ({{ item.date }})" alt="{{ item.title }} ({{ item.date }})" /> {% elif item.subject|URLpath:"-2" == "works" %} <span class="work">{{ item.title }}</span> {% else %} {{ item.subject }} {% endif %} {% endif %} </a> </dd> {% endfor %} {% endif %} {% endfor %} </dl> </section> {% endif %} </section> {% endblock %}