| 
									
										
										
										
											2015-12-23 13:11:38 +00:00
										 |  |  | {% extends "layout.html" %} | 
					
						
							|  |  |  | {% block body %} | 
					
						
							| 
									
										
										
										
											2015-12-23 13:41:25 +00:00
										 |  |  |   <form action="" id="form" name="fileForm" method="post" enctype="multipart/form-data" class="uploadForm"> | 
					
						
							|  |  |  |     <div class="uploadButton"> | 
					
						
							|  |  |  |       <input id="file" type="file" name="file"> | 
					
						
							|  |  |  |       <p> | 
					
						
							|  |  |  |         Select a file | 
					
						
							|  |  |  |       </p> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2015-12-23 13:11:38 +00:00
										 |  |  |     <input type="hidden" name="source" value="web"> | 
					
						
							|  |  |  |   </form> | 
					
						
							|  |  |  |   <script> | 
					
						
							|  |  |  |   document.getElementById("file").onchange = function() { | 
					
						
							|  |  |  |     document.getElementById("form").submit(); | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  |   </script> | 
					
						
							|  |  |  | {% endblock %} |