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.
ELAB-partsearch/templates/partsearch.html

85 lines
3.6 KiB

8 years ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ELAB Part Search Engine</title>
<script
src="http://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
8 years ago
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../static/style.css">
<script src="https://use.fontawesome.com/5c9d51f09a.js"></script>
8 years ago
<script type="text/javascript" src="../static/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-container">
<p>Search in:</p>
<input type="checkbox" id="type" checked></input><label class="toggle-btn" for="type">Manufacturer</label>
<input type="checkbox" id="partno" checked></input><label class="toggle-btn" for="partno">Part Number</label>
<input type="checkbox" id="description" checked></input><label class="toggle-btn" for="description">Description</label>
<input type="checkbox" id="notes" checked></input><label class="toggle-btn" for="notes">Notes</label>
</div>
<div class="res-header-small">Block</div>
<div class="res-header">Manufacturer</div>
<div class="res-header">Part Number</div>
<div class="res-header-3">Description</div>
<div class="res-header-small">Notes</div>
<div class="res-header-small">Docs</div>
<div class="results">
</div>
<div class="shadow" onclick="overlay_out()"></div>
<div class="overlay">
<h2>Part Details</h2>
<div class="details-row">
<div class="details-item">Location</div>
<div class="details-content"><p id="block-info">Block 1</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="#" onclick="init_edit()"><i class="fa fa-pencil" 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>
<!--<h2 class="card-id"></h2>
<input type="text" name="name" placeholder="Name" id="name"><br><br>
<div class="checkbox-wrapper">
&emsp;<input type="checkbox" name="fridge" value="Fridge" id="fridge"> Fridge <br>
&emsp;<input type="checkbox" name="tools" value="Tools" id="tools"> Secret tools
</div>
<input type="button" class="button" value="Cancel" id="cancel" onclick="overlay_out()">
<input type="button" class="button" value="Save" id="save" onclick="save()">-->
</div>
<div class="round-floating-button"><a href="#"><i class="fa fa-plus" aria-hidden="true"></i></a></div>
8 years ago
</body>
</html>