Skip to content

Commit

Permalink
updating contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 committed Oct 11, 2019
1 parent d8f0703 commit e4cf586
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
16 changes: 16 additions & 0 deletions templates/contributors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
(% extends "minimal.html" %)

(% block content %)


<div>
Mingxun Wang
</div>
<div>
Simon Rogers
</div>
<div>
Wout Bittremieux
</div>

(% endblock %)
9 changes: 6 additions & 3 deletions templates/minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@

<!-- Links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/">Resolve New Identifier</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">Resolve New Identifier</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contributors">Contributors</a>
</li>
</ul>

</nav>
Expand Down
4 changes: 4 additions & 0 deletions views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
def renderhomepage():
return render_template('homepage.html')

@app.route('/contributors', methods=['GET'])
def contributors():
return render_template('contributors.html')

@app.route('/heartbeat', methods=['GET'])
def testapi():
return_obj = {}
Expand Down

0 comments on commit e4cf586

Please sign in to comment.