From b1d67c2afb30a70fed73d502f1f233329ad8bd61 Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Wed, 16 Mar 2016 17:55:06 -0400 Subject: [PATCH 1/3] Removed python files and reorganized html/css. --- .../templates/index.html => index.html | 0 .../static/css/main.css => main.css | 0 runserver.py | 10 ---------- stardew_community_checklist/__init__.py | 15 --------------- 4 files changed, 25 deletions(-) rename stardew_community_checklist/templates/index.html => index.html (100%) rename stardew_community_checklist/static/css/main.css => main.css (100%) delete mode 100644 runserver.py delete mode 100644 stardew_community_checklist/__init__.py diff --git a/stardew_community_checklist/templates/index.html b/index.html similarity index 100% rename from stardew_community_checklist/templates/index.html rename to index.html 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/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') From 3d9002406a6f046475fefa4fc11945460cd3d745 Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Wed, 16 Mar 2016 18:11:01 -0400 Subject: [PATCH 2/3] Added JS and CSS Links. --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html b/index.html index f6b8c03..b191748 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,8 @@ Stardew Valley Community Checklist + +
@@ -80,4 +82,9 @@
+ + + + + From 5c6a8ef9a23a3a2c807720f60f4de6c700aff2df Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Wed, 16 Mar 2016 18:11:14 -0400 Subject: [PATCH 3/3] Added JS from codepen. --- main.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main.js 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'); + }); + +});