removed static (means that img path needs to be fixed), login page is beautified

This commit is contained in:
2020-07-12 12:29:36 -03:00
parent 1c616d27d9
commit fce13c85e4
13 changed files with 52 additions and 49 deletions

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>{{author}}</h1>
<table id="books" class="highlight centered">

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>Author List</h1>
{% if author_list %}
<ul>

View File

@ -1,10 +1,9 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<div class="row">
<div class="col s4"><a href="{% static "" %}{{download}}"><img src="{% static "" %}{{imgpath}}" alt="download" srcset=""></a></div>
<div class="col s4"><a href="{{download}}"><img src="{{imgpath}}" alt="download" srcset=""></a></div>
<div class="col s8">
<h1> {{book.title}}</h1>
<h4> by

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>{{publisher}} </h1>
{% if publisher.released %}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>Publishers List</h1>
{% if publisher_list %}
<ul>

View File

@ -1,9 +1,8 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1 class="left"> {{rating}}</h1>
<h1 class="left">Books with rating: {{rating}}</h1>
{% if books %}
<table id="books" class="highlight centered">
<tr>

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>Ratings List</h1>
{% if rating_list %}
<ul>

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>{{tag}}</h1>
{% if books %}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% load static %}
<h1>Tags List</h1>
{% if tag_list %}
<ul>