diff --git a/app.py b/app.py deleted file mode 100644 index e2de1a5..0000000 --- a/app.py +++ /dev/null @@ -1,27 +0,0 @@ -from flask import Flask , render_template -import sqlite3 - -app = Flask(__name__) - -def get_db_connect(): - conn = sqlite3.connection("./db/my_library.db") - conn.row_factory = sqlite3.Row - return conn - -@app.route('/') -def index(): - conn = sqlite3.connection("./db/my_library.db") - query = """ - SELECT m.title, m.type, m.release_year, m.rating, - b.author, s.network - FROM media m - LEFT JOIN books b on m.id = b.books_id - LEFT JOIN shows s on m.id = s.shows_id - """ - items = conn.execute(query).fetchall() - conn.close() - -if __name__ == '__main__': - app.run(debug = True) - - diff --git a/css/style.css b/css/style.css deleted file mode 100644 index 314d0f3..0000000 --- a/css/style.css +++ /dev/null @@ -1,18 +0,0 @@ -#body_page{ - display: flex; - flex-direction: row; -} -#side_bar{ - background-color:brown; - display:flex; - flex-direction: column; - justify-content:center; - height: 100vh; - width: 30vw; -} -#menu{ - list-style-type:none; -} -#navagtor{ - -} diff --git a/js/main.js b/js/main.js deleted file mode 100644 index e69de29..0000000 diff --git a/main.html b/main.html deleted file mode 100644 index cdda1ea..0000000 --- a/main.html +++ /dev/null @@ -1,93 +0,0 @@ - - -
- - - - - -