|
|
|
<!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="type">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>
|
|
|
|
<th id="docs">Docs</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>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Location: block</div>
|
|
|
|
<div class="details-content"><p id="block-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Manufacturer</div>
|
|
|
|
<div class="details-content"><p id="type-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Part Number</div>
|
|
|
|
<div class="details-content"><p id="partno-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Description</div>
|
|
|
|
<div class="details-content"><p id="description-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Quantity</div>
|
|
|
|
<div class="details-content"><p id="quantity-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Notes</div>
|
|
|
|
<div class="details-content"><p id="notes-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="details-row">
|
|
|
|
<div class="details-item">Datasheet</div>
|
|
|
|
<div class="details-content"><p id="datasheet-info"></p></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="round-button"><a href="#" id="edit-button"><i class="fa fa-pencil" aria-hidden="true"></i></a></div>
|
|
|
|
<div class="round-button-left"><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>
|