From b8dff4a817a7d03f0f5e73894f09961256cd2738 Mon Sep 17 00:00:00 2001 From: assar Date: Thu, 1 Jun 2017 21:28:49 +0000 Subject: [PATCH] Initial commit --- .gitignore | 1 + server.py | 9 +++++++++ static/script.js | 0 static/style.css | 15 +++++++++++++++ templates/partsearch.html | 15 +++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 server.py create mode 100644 static/script.js create mode 100644 static/style.css create mode 100644 templates/partsearch.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4637c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +admin.json diff --git a/server.py b/server.py new file mode 100644 index 0000000..27d2472 --- /dev/null +++ b/server.py @@ -0,0 +1,9 @@ +import sqlalchemy +from flask import Flask +from flask import render_template + +app = Flask(__name__) + +@app.route('/') +def index(): + return render_template('partsearch.html') diff --git a/static/script.js b/static/script.js new file mode 100644 index 0000000..e69de29 diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..2f4e4e3 --- /dev/null +++ b/static/style.css @@ -0,0 +1,15 @@ +html { + background-color: #D7E2E2; + color: #000F0F; + font-family: 'Roboto', sans-serif; +} + +h1 { + margin-left: 40pt; + margin-top: 20pt; +} + +p { + margin-left: 20pt; +} + diff --git a/templates/partsearch.html b/templates/partsearch.html new file mode 100644 index 0000000..c21999d --- /dev/null +++ b/templates/partsearch.html @@ -0,0 +1,15 @@ + + + + + ELAB Part Search Engine + + + + + +

ELAB Part Search Engine

+

Looking for obsolete ICs that were discontinued years ago?

+ + +