You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							61 lines
						
					
					
						
							3.2 KiB
						
					
					
				
			
		
		
	
	
							61 lines
						
					
					
						
							3.2 KiB
						
					
					
				| <!DOCTYPE html>
 | |
| <html>
 | |
|   <head>
 | |
|     <meta charset="utf-8">
 | |
|     <title>ELAB Part Search Engine</title>
 | |
|     <script
 | |
|   src="https://code.jquery.com/jquery-3.2.1.min.js"
 | |
|   integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
 | |
|   crossorigin="anonymous"></script>
 | |
|     <link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
 | |
|     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
 | |
|     <script src="https://use.fontawesome.com/2fef7be393.js"></script>
 | |
|     <script type="text/javascript" src="{{ url_for('static', filename='script.js') }}"></script>
 | |
|   </head>
 | |
|   <body>
 | |
|     <h1>ELAB Part Search Engine</h1>
 | |
|     <p>Looking for obsolete ICs that were discontinued years ago? Just start typing!</p>
 | |
|     <div class="search-bar-container">
 | |
|     <input type="text" name="search-bar" class="search-bar" placeholder="Search parts">
 | |
|     </div>
 | |
|     <div class="filter-concontainertainer">
 | |
|       <div class="filter-container">
 | |
|         <p>Search in:</p>
 | |
|         <input type="checkbox" class="checkbox" id="location"></input><label class="toggle-btn" for="location">Locations</label>
 | |
|         <input type="checkbox" class="checkbox" id="partno" checked></input><label class="toggle-btn" for="partno">Part Number</label>
 | |
|         <input type="checkbox" class="checkbox" id="description" checked></input><label class="toggle-btn" for="description">Description</label>
 | |
|         <input type="checkbox" class="checkbox" id="notes" checked></input><label class="toggle-btn" for="notes">Notes</label>
 | |
|       </div>
 | |
|     </div>
 | |
|     <table id="results">
 | |
|       <tr>
 | |
|         <th id="location">Location</th>
 | |
|         <th id="partno">Part Number</th>
 | |
|         <th id="description">Description</th>
 | |
|       </tr>
 | |
|     </table>
 | |
|     <h3 id="no-results">No results.</h3>
 | |
|     <div class="bottom-spacer"></div>
 | |
| 
 | |
|     <div class="shadow" onclick="overlay_out()"></div>
 | |
|   	<div class="overlay">
 | |
|       <h2>Part Details</h2>
 | |
|       <table id="details">
 | |
|         <tr id="location-head"><td>LOCATION</td></tr>
 | |
|         <tr id="location"><td><p></p><select class="pinfo-input" onchange="update_map()"></select></td></tr>
 | |
|         <tr id="partno-head"><td>PART NUMBER</td></tr>
 | |
|         <tr id="partno"><td><p></p><input type="text" name="partno-input" placeholder="Part Number" class="pinfo-input"/></td></tr>
 | |
|         <tr id="description-head"><td>DESCRIPTION</td></tr>
 | |
|         <tr id="description"><td><p></p><input type="text" name="description-input" placeholder="Description" class="pinfo-input"/></td></tr>
 | |
|         <tr id="datasheet-head"><td>DATASHEET: </td></tr>
 | |
|         <tr id="datasheet"><td><input type="file" accept=".pdf" class="pinfo-input"></td></tr>
 | |
|       </table>
 | |
|       <img src="" id="map"/>
 | |
|       <div class="round-button-left"><a href="#" id="edit-button"><i class="fa fa-pencil" aria-hidden="true"></i></a></div>
 | |
|       <div class="round-button"><a href="#" id="delete-button"><i class="fa fa-trash" aria-hidden="true"></i></a></div>
 | |
|       <div class="small-square-button"><a href="#" onclick="overlay_out()"><i class="fa fa-times" aria-hidden="true"></i></a></div>
 | |
|   	</div>
 | |
|     <div class="round-floating-button"><a href="#" onclick="new_entry()"><i class="fa fa-plus" aria-hidden="true"></i></a></div>
 | |
|   </body>
 | |
| </html>
 |