Merge branch 'main' into production

This commit is contained in:
Mouse Reeve 2021-12-06 13:42:55 -08:00
commit 4c73e53b9a
4 changed files with 24 additions and 15 deletions

View file

@ -293,6 +293,7 @@ class AuthorForm(CustomForm):
"inventaire_id",
"librarything_key",
"goodreads_key",
"isni",
]
widgets = {
"name": forms.TextInput(attrs={"aria-describedby": "desc_name"}),

View file

@ -101,6 +101,13 @@
{% include 'snippets/form_errors.html' with errors_list=form.goodreads_key.errors id="desc_goodreads_key" %}
</div>
<div class="field">
<label class="label" for="id_isni">{% trans "ISNI:" %}</label>
{{ form.isni }}
{% include 'snippets/form_errors.html' with errors_list=form.isni.errors id="desc_isni" %}
</div>
</div>
</div>

View file

@ -32,11 +32,11 @@
<body>
<nav class="navbar" aria-label="main navigation">
<div class="container">
<div class="navbar-brand is-align-items-end">
<div class="navbar-brand">
<a class="navbar-item" href="/">
<img class="image logo" src="{% if site.logo_small %}{% get_media_prefix %}{{ site.logo_small }}{% else %}{% static "images/logo-small.png" %}{% endif %}" alt="Home page">
</a>
<form class="navbar-item mt-1" action="{% url 'search' %}">
<form class="navbar-item column" action="{% url 'search' %}">
<div class="field has-addons">
<div class="control">
{% if user.is_authenticated %}
@ -159,7 +159,7 @@
</a>
</div>
{% else %}
<div class="navbar-item mt-1">
<div class="navbar-item">
{% if request.path != '/login' and request.path != '/login/' %}
<div class="columns">
<div class="column">

View file

@ -17,7 +17,8 @@ server {
# # redirect http to https
# return 301 https://your-domain.com$request_uri;
# }
}
#
# server {
# listen [::]:443 ssl http2;
@ -54,7 +55,7 @@ server {
# location /static/ {
# alias /app/static/;
# }
}
# }
# Reverse-Proxy server
# server {