# HG changeset patch
# User Brian Neal
# Date 1379201499 18000
# Node ID 1fd0f88480bc6e73cd1fea9c5706b3cac1188337
# Parent 094492e66eb929a1a40e21d728978701c57d634f
Finalize user photos detail page. Disable upload button on form submit.
diff -r 094492e66eb9 -r 1fd0f88480bc sg101/templates/user_photos/photo_detail.html
--- a/sg101/templates/user_photos/photo_detail.html Sat Sep 14 17:23:13 2013 -0500
+++ b/sg101/templates/user_photos/photo_detail.html Sat Sep 14 18:31:39 2013 -0500
@@ -1,18 +1,59 @@
{% extends 'base.html' %}
{% block title %}User Photo Details{% endblock %}
+{% block custom_js %}
+
+{% endblock %}
{% block content %}
User Photo Details
-
- - Uploader: {{ object.user.username }}
- - Upload date: {{ object.upload_date|date }}
-
-
-
+
+
-
-
-
+Photo Details
+
+
+ Uploader: |
+ {{ object.user.username }} |
+
+
+ Date: |
+ {{ object.upload_date|date }} |
+
+
+
+Image Codes
+
+Use the SG101 code on this site. The BB Code will work on many other forums.
+The direct link is useful for email.
+
+
+
+
+
+
+Upload another photo
+
+
+
{% endblock %}
diff -r 094492e66eb9 -r 1fd0f88480bc sg101/templates/user_photos/upload_form.html
--- a/sg101/templates/user_photos/upload_form.html Sat Sep 14 17:23:13 2013 -0500
+++ b/sg101/templates/user_photos/upload_form.html Sat Sep 14 18:31:39 2013 -0500
@@ -9,11 +9,12 @@
resize your photo for you. When the process is complete we will return an
image code you can paste into your post to display your photo.
-
{% else %}
diff -r 094492e66eb9 -r 1fd0f88480bc static/icons/picture_add.png
Binary file static/icons/picture_add.png has changed