Skip to content
Snippets Groups Projects
Commit c72c4565 authored by Brian Wood's avatar Brian Wood
Browse files

Merge remote-tracking branch 'origin/develop' into develop

parents 78af97ee 138cc501
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,4 @@ from flask.ext.wtf import Form, TextField, validators
@app.route('/loaned')
@security('user')
def loaned(user=None):
return render_template('loan/master.html')
\ No newline at end of file
return render_template('loan/master.html', user=user)
\ No newline at end of file
......@@ -2,5 +2,58 @@
{% block content %}
<div class="col-sm-12">
<h3>Movies Loaned Out</h3>
<table class="table table-striped table-hover">
<thead>
<tr>
<td>Movie</td>
<td>Borrower</td>
<td>Date Borrowed</td>
<td>Due Date</td>
<td>Options</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>The Bourne Identity</p>
</td>
<td>
<!-- Maybe this can link to a modal that shows more information about the borrower??? -->
<p><a href="#">Brian Wood</a></p>
</td>
<td>
<p>Thur, April 17, 2014</p>
</td>
<td>
<p>Thur, May 1, 2014</p>
</td>
<td>
<button class="btn btn-default btn-sm">
<span class="glyphicon glyphicon-hand-down"></span> Return
</button>
</td>
</tr>
<tr>
<td>
<p>Frozen</p>
</td>
<td>
<!-- Maybe this can link to a modal that shows more information about the borrower??? -->
<p><a href="#">Grandma Bills</a></p>
</td>
<td>
<p>Sun, April 20, 2014</p>
</td>
<td>
<p>Sun, May 4, 2014</p>
</td>
<td>
<button class="btn btn-default btn-sm">
<span class="glyphicon glyphicon-hand-down"></span> Return
</button>
</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment