diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 31573820..3b2a9a50 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -133,15 +133,6 @@ a.mediagoblin_logo:hover { /* common website elements */ -.dotted_line { - width:100%; - height:0px; - border-bottom: dotted 1px #5f5f5f; - position:absolute; - left:0px; - margin-top:-20px; -} - .button { font-family:'Carter One', arial, serif; height:32px; @@ -164,6 +155,10 @@ a.mediagoblin_logo:hover { padding-right:11px; } +.pagination{ +text-align:center; +} + /* forms */ .form_box { @@ -223,6 +218,17 @@ a.mediagoblin_logo:hover { width:280px; } +/* comments */ + +.comment_author { + margin-bottom:40px; + padding-top:4px; +} + +.comment_content p { + margin-bottom:4px; +} + /* media galleries */ ul.media_thumbnail { @@ -240,3 +246,10 @@ li.media_thumbnail { zoom:1; . *display:inline; } + +/* icons */ + +img.media_icon{ + margin:0 4px; + vertical-align:sub; +} diff --git a/mediagoblin/static/images/iconDelete.png b/mediagoblin/static/images/iconDelete.png new file mode 100644 index 00000000..9d76a5db Binary files /dev/null and b/mediagoblin/static/images/iconDelete.png differ diff --git a/mediagoblin/static/images/iconEdit.png b/mediagoblin/static/images/iconEdit.png new file mode 100644 index 00000000..480c73ad Binary files /dev/null and b/mediagoblin/static/images/iconEdit.png differ diff --git a/mediagoblin/static/images/iconFeed.png b/mediagoblin/static/images/iconFeed.png new file mode 100644 index 00000000..11e5b1e7 Binary files /dev/null and b/mediagoblin/static/images/iconFeed.png differ diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 3cebe2f9..8ed25f9d 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -23,79 +23,76 @@ {# temporarily, an "image gallery" that isn't one really ;) #} {% if media %}
-

- {{media.title}} -

- +

+ {{media.title}} +

+ {% autoescape False %} +

{{ media.description_html }}

+ {% endautoescape %}

- Uploaded on + — uploaded on {{ "%4d-%02d-%02d"|format(media.created.year, media.created.month, media.created.day) }} by {{- media.uploader().username }} -

- - {% autoescape False %} -

{{ media.description_html }}

- {% endautoescape %} - - {% if media['uploader'] == request.user['_id'] %} -

Edit

- {% endif %} +

+

+

Comments

{% if request.user %}
-

Post a comment!

{{ wtforms_util.render_field_div(comment_form.comment) }}
- +
{% endif %} - {# {{ wtforms_util.render_textarea_div(submit_form.description) }} {{ wtforms_util.render_field_div(submit_form.file) }} #} - {% if comments %} -

Comments

{% for comment in comments %}
- -
{% autoescape False %} {{ comment.content_html }} {% endautoescape %} -
-
+
+
— + + {{ comment['author']['username'] }} at + + + {{ "%4d-%02d-%02d %02d:%02d"|format(comment.created.year, + comment.created.month, + comment.created.day, + comment.created.hour, + comment.created.minute) }} + +
+ {% endfor %} {% include "mediagoblin/utils/pagination.html" %} {% endif %} -
-

This is a sidebar! Yay!

+

Sidebar content here!

+

+ {% if media['uploader'] == request.user['_id'] %} +

edit

+

delete

+ {% endif %} +

{% else %}

Sorry, no such media found.

diff --git a/mediagoblin/templates/mediagoblin/utils/pagination.html b/mediagoblin/templates/mediagoblin/utils/pagination.html index 2be0b92e..2423d08d 100644 --- a/mediagoblin/templates/mediagoblin/utils/pagination.html +++ b/mediagoblin/templates/mediagoblin/utils/pagination.html @@ -19,17 +19,17 @@ {% if pagination %}

{% endif %}