mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
Merge branch 'master' into JSON
This commit is contained in:
commit
d7e24a04a5
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Stardew Valley Community Checklist</title>
|
||||
<link type="text/css" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
|
||||
<link type="text/css" rel="stylesheet" href="main.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@ -80,4 +82,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/vue/1.0.17/vue.min.js"></script>
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="main.js"></script>
|
||||
</html>
|
||||
|
||||
13
main.js
Normal file
13
main.js
Normal file
@ -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');
|
||||
});
|
||||
|
||||
});
|
||||
10
runserver.py
10
runserver.py
@ -1,10 +0,0 @@
|
||||
"""
|
||||
|
||||
Author: John Cleaver <cleaver.john.k@gmail.com>
|
||||
Copyright: 2016 John Cleaver
|
||||
License: See LICENSE file
|
||||
"""
|
||||
|
||||
from stardew_community_checklist import app
|
||||
|
||||
app.run(debug=True)
|
||||
@ -1,15 +0,0 @@
|
||||
"""
|
||||
|
||||
Author: John Cleaver <cleaver.john.k@gmail.com>
|
||||
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')
|
||||
Loading…
Reference in New Issue
Block a user