removed hello world; probably broken, trying to add navigation segment for index

small-nav
Mimi Momo 4 years ago
parent 0373da162b
commit 6f841349ae

@ -1,7 +0,0 @@
from bottle import route, run
@route('/hello')
def hello():
return "Hello World!"
run(host='localhost', port=8080, debug=True)

@ -1,5 +1,7 @@
from bottle import route, run, template from bottle import route, run, template
nav = <div class="nav-grid"><div class="nav-bar"></div><div class="nav-index"><a href="index.html"><div class="button">home</div></a></div><div class="nav-game"><a href="game"><div class="button">game</div></a></div><div class="nav-diary"><a href="diary"><div class="button">diary</div></a></div><div class="nav-presskit"><a href="presskit"><div class="button">presskit</div></a></div></div>
@route('/') @route('/')
def index(): def index():
"""home page""" """home page"""

@ -20,29 +20,7 @@
<div class="nav-row"></div> <div class="nav-row"></div>
<!--Navigation Bar--> <!--Navigation Bar-->
<div class="nav-grid"> {{nav}}
<div class="nav-bar"></div>
<div class="nav-index">
<a href="index.html">
<div class="button">home</div>
</a>
</div>
<div class="nav-game">
<a href="game.html">
<div class="button">game</div>
</a>
</div>
<div class="nav-diary">
<a href="diary.php">
<div class="button">diary</div>
</a>
</div>
<div class="nav-presskit">
<a href="presskit.html">
<div class="button">presskit</div>
</a>
</div>
</div>
<div class="body-row"> </div> <div class="body-row"> </div>

Loading…
Cancel
Save