-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- allow for users to view images they have edited
- Loading branch information
1 parent
5288080
commit 2c1209e
Showing
6 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends "index.html" %} | ||
|
||
{% block content %} | ||
|
||
{% verbatim %} | ||
<div class="container"> | ||
<div class="row"> | ||
<h1 class="gallery">Gallery</h1> | ||
<div class="row" ng-repeat="image in gallery | orderBy: '-created_at'"> | ||
<div class="col-lg-3 col-sm-4 col-xs-6"><a title="{{image.id}}" href="#"><img class="thumbnail img-responsive" ng-src="{{image.phedited_image}}" alt="{{image.id}}"></a></div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endverbatim %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from django.conf.urls import url | ||
from app.views import landing, dashboard | ||
from app.views import landing, dashboard, gallery | ||
|
||
urlpatterns = [ | ||
url(r'^$', landing), | ||
url(r'^app/', dashboard), | ||
url(r'^gallery/', gallery), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters