Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MyMovieLibrary
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
MyMovieLibrary
Commits
c72c4565
Commit
c72c4565
authored
11 years ago
by
Brian Wood
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
78af97ee
138cc501
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
project/controllers/loan.py
+1
-1
1 addition, 1 deletion
project/controllers/loan.py
project/templates/loan/master.html
+53
-0
53 additions, 0 deletions
project/templates/loan/master.html
with
54 additions
and
1 deletion
project/controllers/loan.py
+
1
−
1
View file @
c72c4565
...
...
@@ -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
This diff is collapsed.
Click to expand it.
project/templates/loan/master.html
+
53
−
0
View file @
c72c4565
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment