This commit is contained in:
parent
3c09663da2
commit
11c67cd8bf
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<title>Worblehat 0.1: {% block title %}{% endblock %}</title>
|
||||
<meta charset="utf-8">
|
||||
<link type="text/css" rel="stylesheet" href="/media/styles/scaffold.css">
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base/main.html" %}
|
||||
|
||||
{%block title%}
|
||||
Worblehat: {{ book.title }}
|
||||
{{ book.title }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% if book.thumbnail %}
|
||||
|
@ -9,7 +9,6 @@ Worblehat: {{ book.title }}
|
|||
<img src="/media/{{ book.thumbnail }}" alt="{{ book.title }}">
|
||||
</span>
|
||||
{% endif %}
|
||||
<span class="img">
|
||||
<h2>{{ book.title }}</h2>
|
||||
{% if book.subtitle %}
|
||||
<h3>{{ book.subtitle }}</h3>
|
||||
|
@ -52,5 +51,4 @@ Worblehat: {{ book.title }}
|
|||
<span class="key">Beskrivelse:</span> {{ book.description }} <br>
|
||||
{% endif %}
|
||||
<span class="key">ISBN:</span> {{ book.isbn }} <br>
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
|
|
@ -5,9 +5,10 @@ Worblehat 0.1. Heisann!!
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Velkommen til PVVs bokdatabase, Worblehat.<br>
|
||||
Her kan du søke etter bøker til din hjertens lyst.<br>
|
||||
Velkommen til PVVs bokdatabase, Worblehat.<br/>
|
||||
Her kan du søke etter bøker til din hjertens lyst.<br/><br/>
|
||||
<form action="/let/" method="get">
|
||||
<input type="text" name="searchterm"> <input type="submit" value="Søk!"><br>
|
||||
<input type="search" name="searchterm" placeholder="Søk etter bøker eller forfattere" autofocus>
|
||||
<input type="submit" value="Søk!">
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base/main.html" %}
|
||||
|
||||
{% block title%}
|
||||
Worblehat: {{ person.first_name }} {{ person.last_name }}
|
||||
{{ person.first_name }} {{ person.last_name }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
Reference in New Issue