mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +00:00
Added a form that only contains csrf tags
- e.g. blank form only required to validate POST data
This commit is contained in:
parent
2d35116c79
commit
a2c1eda5c0
@ -56,6 +56,7 @@
|
|||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
z-index: 99999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content h3 {
|
.modal-content h3 {
|
||||||
@ -89,4 +90,19 @@
|
|||||||
|
|
||||||
.help-inline {
|
.help-inline {
|
||||||
color: #A11;
|
color: #A11;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-area {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 999999;
|
||||||
|
top: 0px;
|
||||||
|
margin-top: 20px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert {
|
||||||
|
display: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
opacity: 0.9;
|
||||||
}
|
}
|
3
InvenTree/templates/modal_csrf.html
Normal file
3
InvenTree/templates/modal_csrf.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<form method="post" action='' class='js-modal-form'>
|
||||||
|
{% csrf_token %}
|
||||||
|
</form>
|
Loading…
x
Reference in New Issue
Block a user