restart project from sources
This commit is contained in:
parent
a37625bc32
commit
88358aca3a
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
|
@ -7,6 +7,5 @@ register = template.Library()
|
|||
|
||||
@register.inclusion_tag('templatetags/nodes.html')
|
||||
def display_nodes():
|
||||
print('test')
|
||||
nodes = Node.objects.all()
|
||||
return {'nodes': nodes}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
<div class="three wide column">
|
||||
{% block "content_navigation" %}{% endblock %}
|
||||
</div>
|
||||
<div class="ten wide colum">
|
||||
<div class="nine wide colum">
|
||||
{% block "content" %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
{% extends "./base.html" %}
|
||||
|
||||
{% block "content" %}
|
||||
{% block "content_navigation" %}
|
||||
<form action="" method="get">
|
||||
{{ filter.form.as_p }}
|
||||
<input type="submit" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block "content" %}
|
||||
<ul>
|
||||
{% for obj in filter.qs %}
|
||||
<li><a href="{% url 'document_details' obj.document.id %}">{{ obj.document }} {{ obj }}</a></li>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{% extends "../base.html" %}
|
||||
|
||||
{% block "content_navigation" %}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block "navigation" %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,19 +1,22 @@
|
|||
{% extends "../base.html" %}
|
||||
|
||||
{% block "content_navigation" %}
|
||||
<div class="segment">
|
||||
{% if standard.measurables %}
|
||||
{% for measurable in standard.measurables.all %}
|
||||
<h3>{{ measurable }}</h3>
|
||||
{{ measurable.get_message_as_markdown | safe }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block "content" %}
|
||||
<h2>{{ standard }}</h2>
|
||||
|
||||
{% if standard.measurables %}
|
||||
<ul>
|
||||
{% for measurable in standard.measurables.all %}
|
||||
<li>{{ measurable }}
|
||||
{{ measurable.get_message_as_markdown | safe }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if standard.intent %}
|
||||
<h2><a href="{% url 'intent_details' standard.intent.id %}">Intent</a></h2>
|
||||
{{ standard.intent.get_message_as_markdown | safe }}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue