diff --git a/stardew_community_checklist/templates/index.html b/index.html similarity index 88% rename from stardew_community_checklist/templates/index.html rename to index.html index f6b8c03..b191748 100644 --- a/stardew_community_checklist/templates/index.html +++ b/index.html @@ -3,6 +3,8 @@ Stardew Valley Community Checklist + +
@@ -80,4 +82,9 @@
+ + + + + diff --git a/stardew_community_checklist/static/css/main.css b/main.css similarity index 100% rename from stardew_community_checklist/static/css/main.css rename to main.css diff --git a/main.js b/main.js new file mode 100644 index 0000000..7d29951 --- /dev/null +++ b/main.js @@ -0,0 +1,13 @@ +v = new Vue({ + el: '#app' +}); + +$(function() { + + $('.list-group-item').on('click', function() { + $('.glyphicon', this) + .toggleClass('glyphicon-chevron-right') + .toggleClass('glyphicon-chevron-down'); + }); + +}); diff --git a/runserver.py b/runserver.py deleted file mode 100644 index 7df7d9a..0000000 --- a/runserver.py +++ /dev/null @@ -1,10 +0,0 @@ -""" - -Author: John Cleaver -Copyright: 2016 John Cleaver -License: See LICENSE file -""" - -from stardew_community_checklist import app - -app.run(debug=True) diff --git a/stardew_community_checklist/__init__.py b/stardew_community_checklist/__init__.py deleted file mode 100644 index cc669ec..0000000 --- a/stardew_community_checklist/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -""" - -Author: John Cleaver -Copyright: 2016 John Cleaver -License: See LICENSE file -""" - -from flask import Flask, render_template - -app = Flask(__name__) - - -@app.route("/") -def index(): - return render_template('index.html')