Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

lagt inn litt grunnleggende css i base/main.html

This commit is contained in:
Øyvind Almelid 2011-03-05 21:06:42 +00:00
parent 2420bb2ec1
commit ef48ba039c
3 changed files with 24 additions and 5 deletions

View File

@ -2,4 +2,12 @@
<head> <head>
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}styles/bilbo_green.css" <link type="text/css" rel="stylesheet" href="/media/styles/bilbo_green.css">
{% block meta %}
{% endblock %}
</head>
<body>
{% block content %}
{% endblock %}
</body>

View File

@ -1,3 +1,10 @@
{% extends "base/main.html" %}
{%block title%}
Worblehat 0.1: {{ book.title }}
{% endblock %}
{% block content %}
Title: {{ book.title }} <br> Title: {{ book.title }} <br>
{% if book.subtitle %} {% if book.subtitle %}
Subtitle: {{ book.subtitle }} <br> Subtitle: {{ book.subtitle }} <br>
@ -6,3 +13,4 @@ ISBN: {{ book.isbn }} <br>
{% for person in people %} {% for person in people %}
{{ person.relation }} : <a href=/person/{{person.person.id}}>{{ person.person.first_name }} {{ person.person.last_name }}</a> <br> {{ person.relation }} : <a href=/person/{{person.person.id}}>{{ person.person.first_name }} {{ person.person.last_name }}</a> <br>
{% endfor %} {% endfor %}
{% endblock %}

View File

@ -1,9 +1,12 @@
<head> {% extends "base/main.html" %}
<title> {{ title }} </title>
</head>
<body> {% block title%}
Worblehat 0.1: {{ person.first_name }} {{ person.last_name }}
{% endblock %}
{% block content %}
Name: {{person.first_name}} {{person.last_name}}<br> Name: {{person.first_name}} {{person.last_name}}<br>
{% for book in books %} {% for book in books %}
{{ book.relation.name }} of: <a href=/book/{{ book.book.isbn }}>{{ book.book.title }}</a> <br> {{ book.relation.name }} of: <a href=/book/{{ book.book.isbn }}>{{ book.book.title }}</a> <br>
{% endfor %} {% endfor %}
{% endblock %}