Add basic quotes functionality
This commit is contained in:
parent
f8533fc819
commit
b9775ca672
12 changed files with 166 additions and 11 deletions
17
web/lazaro_quotes/templates/lazaro_quotes/show_quote.html
Normal file
17
web/lazaro_quotes/templates/lazaro_quotes/show_quote.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends 'main/base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="mt-5 container justify-content-center d-flex">
|
||||
<div class="card text-center" style="width: 80rem;">
|
||||
<div class="card-body">
|
||||
<blockquote class="blockquote mb-0">
|
||||
<h1>"{{ quote.text }}"</h1>
|
||||
<footer class="blockquote-footer">
|
||||
<h2>{{ quote.author.name }}</h2>
|
||||
</footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue