mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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 {
|
||||
overflow: hidden;
|
||||
z-index: 99999999;
|
||||
}
|
||||
|
||||
.modal-content h3 {
|
||||
@ -89,4 +90,19 @@
|
||||
|
||||
.help-inline {
|
||||
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…
Reference in New Issue
Block a user