mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +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:
		| @@ -56,6 +56,7 @@ | |||||||
|  |  | ||||||
| .modal { | .modal { | ||||||
|   overflow: hidden; |   overflow: hidden; | ||||||
|  |   z-index: 99999999; | ||||||
| } | } | ||||||
|  |  | ||||||
| .modal-content h3 { | .modal-content h3 { | ||||||
| @@ -90,3 +91,18 @@ | |||||||
| .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> | ||||||
		Reference in New Issue
	
	Block a user