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