-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted KiCAD tools to bootstrap css - github corner added
- Loading branch information
1 parent
ee31304
commit 7c221c1
Showing
8 changed files
with
104 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ | |
<title>Random Tools</title> | ||
<!-- Bootstrap CSS link --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- latest version --> | ||
<script src="https://unpkg.com/github-corner-element"></script> | ||
<github-corner href="https://github.com/ChSotiriou/SimpleElectronicsTools"></github-corner> | ||
</head> | ||
|
||
<body> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>KiCad Library Downloader</title> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- External JS --> | ||
<script type="text/javascript" src="js/main.js" defer></script> | ||
<script type="text/javascript" src="js/zip.min.js"></script> | ||
<link rel="stylesheet" href="css/main.css" type="text/css" media="screen"> | ||
|
||
<!-- GitHub Corner --> | ||
<script src="https://unpkg.com/github-corner-element"></script> | ||
<github-corner href="https://github.com/ChSotiriou/SimpleElectronicsTools"></github-corner> | ||
</head> | ||
|
||
<body> | ||
<h1>KiCad Library Downloader</h1> | ||
<input type="file" | ||
id="lib" name="library" | ||
accept="application/zip"> | ||
<br></br> | ||
<input type="submit" id='submit_btn' value="Get Library Files" /> | ||
<div class="container my-5"> | ||
<h1 class="display-4 mb-4">KiCad Library Downloader</h1> | ||
|
||
<div class="mb-4"> | ||
<label for="lib" class="form-label">Upload Library File (ZIP)</label> | ||
<input type="file" class="form-control" id="lib" name="library" accept="application/zip"> | ||
</div> | ||
|
||
<button class="btn btn-primary btn-submit" id="submit_btn">Get Library Files</button> | ||
</div> | ||
|
||
</body> | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>KiCad PCB Outline Creator</title> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- External JS --> | ||
<script src="js/main.js" defer></script> | ||
<link rel="stylesheet" href="css/main.css" type="text/css" media="screen"> | ||
|
||
<!-- GitHub Corner --> | ||
<script src="https://unpkg.com/github-corner-element"></script> | ||
<github-corner href="https://github.com/ChSotiriou/SimpleElectronicsTools"></github-corner> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>KiCad PCB Outline Creator</h1> | ||
<div class="container"> | ||
<label class="lbl">Width (mm)</label><input type="number" name="rect_width" id="rect_width" value="50"> | ||
<label class="lbl">Height (mm)</label><input type="number" name="rect_height" id="rect_height" value="50"> | ||
<label class="lbl">Corner Radius (mm)</label><input type="number" name="fillet" id="fillet" value="5"> | ||
<label class="lbl">Layer (mm)</label> | ||
<select name="layer" id="layer_select"> | ||
<option>F.Cu</option> | ||
<option>In1.Cu</option> | ||
<option>In2.Cu</option> | ||
<option>B.Cu</option> | ||
<option>B.Adhes</option> | ||
<option>F.Adhes</option> | ||
<option>B.Paste</option> | ||
<option>F.Paste</option> | ||
<option>B.SilkS</option> | ||
<option>F.SilkS</option> | ||
<option>B.Mask</option> | ||
<option>F.Mask</option> | ||
<option>Dwgs.User</option> | ||
<option>Cmts.User</option> | ||
<option>Eco1.User</option> | ||
<option>Eco2.User</option> | ||
<option selected="selected">Edge.Cuts</option> | ||
<option>Margin</option> | ||
<option>B.CrtYd</option> | ||
<option>F.CrtYd</option> | ||
<option>B.Fab</option> | ||
<option>F.Fab</option> | ||
<option>User.1</option> | ||
<option>User.2</option> | ||
<option>User.3</option> | ||
<option>User.4</option> | ||
<option>User.5</option> | ||
<option>User.6</option> | ||
<option>User.7</option> | ||
<option>User.8</option> | ||
<option>User.9</option> | ||
</select> | ||
<input type="submit" id='submit_btn' class="submit_btn" value="Generate" /> | ||
<textarea name="output" id="output" readonly></textarea> | ||
<div class="container my-5"> | ||
<h1 class="display-4 mb-4">KiCad PCB Outline Creator</h1> | ||
|
||
<div class="mb-3"> | ||
<label for="rect_width" class="form-label">Width (mm)</label> | ||
<input type="number" class="form-control" name="rect_width" id="rect_width" value="50"> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="rect_height" class="form-label">Height (mm)</label> | ||
<input type="number" class="form-control" name="rect_height" id="rect_height" value="50"> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="fillet" class="form-label">Corner Radius (mm)</label> | ||
<input type="number" class="form-control" name="fillet" id="fillet" value="5"> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="layer_select" class="form-label">Layer</label> | ||
<select name="layer" id="layer_select" class="form-select"> | ||
<option>F.Cu</option> | ||
<option>In1.Cu</option> | ||
<option>In2.Cu</option> | ||
<option>B.Cu</option> | ||
<option>B.Adhes</option> | ||
<option>F.Adhes</option> | ||
<option>B.Paste</option> | ||
<option>F.Paste</option> | ||
<option>B.SilkS</option> | ||
<option>F.SilkS</option> | ||
<option>B.Mask</option> | ||
<option>F.Mask</option> | ||
<option>Dwgs.User</option> | ||
<option>Cmts.User</option> | ||
<option>Eco1.User</option> | ||
<option>Eco2.User</option> | ||
<option selected="selected">Edge.Cuts</option> | ||
<option>Margin</option> | ||
<option>B.CrtYd</option> | ||
<option>F.CrtYd</option> | ||
<option>B.Fab</option> | ||
<option>F.Fab</option> | ||
<option>User.1</option> | ||
<option>User.2</option> | ||
<option>User.3</option> | ||
<option>User.4</option> | ||
<option>User.5</option> | ||
<option>User.6</option> | ||
<option>User.7</option> | ||
<option>User.8</option> | ||
<option>User.9</option> | ||
</select> | ||
</div> | ||
|
||
<button type="submit" id="submit_btn" class="btn btn-primary submit-btn">Generate</button> | ||
|
||
<div class="mt-3"> | ||
<label for="output" class="form-label">Output</label> | ||
<textarea name="output" id="output" class="form-control" rows="5" readonly></textarea> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +0,0 @@ | ||
body { | ||
background-color: #f8f9fa; | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
} | ||
|
||
h2 { | ||
color: #343a40; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ | |
<title>Random Tools</title> | ||
<!-- Bootstrap CSS link --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- latest version --> | ||
<script src="https://unpkg.com/github-corner-element"></script> | ||
<github-corner href="https://github.com/ChSotiriou/SimpleElectronicsTools"></github-corner> | ||
</head> | ||
|
||
<body> | ||
|