further work on ftbhot about page

This commit is contained in:
Xevion
2019-10-03 22:01:20 -05:00
parent 4baa86e90d
commit 72639cff6f
4 changed files with 29 additions and 3 deletions

View File

@@ -29,17 +29,22 @@ strgen = lambda length, charset=string.ascii_letters, weights=None : ''.join(ran
@app.route('/ftbhot/about')
@app.route('/ftbhot/about/')
def ftbhot_about():
return "about page xd"
return render_template('/ftbhot/about.html')
@app.route('/ftbhot/auth')
@app.route('/ftbhot/auth/')
def ftbhot_auth():
return 'hi bot guy'
return 'WIP'
@app.route('/ftbhot')
@app.route('/ftbhot/')
def ftbhot():
return 't'
return render_template('/ftbhot/embed.html')
@app.route('/ftbhot/json')
@app.route('/ftbhot/json/')
def ftbhot_embed():
return render_template('/ftbhot/current.json')
@app.route('/time/')
def time():

View File

@@ -0,0 +1,21 @@
{% extends 'base.html' %}
{% block head %}
{{ super() }}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js"></script>
{% endblock head %}
{% block body %}
<!-- About Section -->
<section class="section section-padding">
<div class="container">
<div class="columns is-mobile is-multiline is-centered">
<div class="card">
<div class="card-content">
<pre><code class="lang-shell">This mini-project doesn't really have that great of an explanation.<br>Go to the /r/feedthebeast subreddit's discord and use the ??backontopic command.</code></pre>
</div>
</div>
</div>
</div>
</section>
<!-- End About Section -->
{% endblock body %}