feat: use card form for search
This commit is contained in:
parent
3883ca2f99
commit
619783663f
@ -115,7 +115,6 @@ select, .button {
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background-color: var(--secondary-light-one);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-right select.option {
|
.header-right select.option {
|
||||||
@ -550,4 +549,14 @@ textarea {
|
|||||||
|
|
||||||
.info {
|
.info {
|
||||||
border: rgba(17, 58, 224, 0.51) 4px solid;
|
border: rgba(17, 58, 224, 0.51) 4px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-search {
|
||||||
|
select, input {
|
||||||
|
background-color: var(--primary-light-one);
|
||||||
|
color: var(--text-one);
|
||||||
|
border-radius: 3px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -2,12 +2,12 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form method="post">
|
<form class="form-search card" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="longitude" maxlength="200" id="longitude">
|
<input type="hidden" name="longitude" maxlength="200" id="longitude">
|
||||||
<input type="hidden" name="latitude" maxlength="200" id="latitude">
|
<input type="hidden" name="latitude" maxlength="200" id="latitude">
|
||||||
{{ search_form.as_p }}
|
{{ search_form.as_p }}
|
||||||
<input class="btn2" type="submit" value="Search" name="search">
|
<input class="btn" type="submit" value="Search" name="search">
|
||||||
</form>
|
</form>
|
||||||
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
{% include "fellchensammlung/lists/list-adoption-notices.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user