From fa858bd7176c1e81bf08defe6139eddcafb1822b Mon Sep 17 00:00:00 2001 From: Boris Bobrov Date: Mon, 18 Aug 2014 17:47:21 +0300 Subject: [PATCH] removed debug prints, added video icon --- mediagoblin/media_types/video/__init__.py | 2 +- mediagoblin/static/css/base.css | 4 ++-- mediagoblin/static/images/type_icons/video.png | Bin 0 -> 1245 bytes .../mediagoblin/utils/object_gallery.html | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 mediagoblin/static/images/type_icons/video.png diff --git a/mediagoblin/media_types/video/__init__.py b/mediagoblin/media_types/video/__init__.py index 0b460d29..1862ffe1 100644 --- a/mediagoblin/media_types/video/__init__.py +++ b/mediagoblin/media_types/video/__init__.py @@ -28,7 +28,7 @@ class VideoMediaManager(MediaManagerBase): human_readable = "Video" display_template = "mediagoblin/media_displays/video.html" default_thumb = "images/media_thumbs/video.jpg" - type_icon = "images/type_icons/video.jpg" + type_icon = "images/type_icons/video.png" # Used by the media_entry.get_display_media method media_fetch_order = [u'webm_video', u'original'] diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 5bbc1f74..7852cae9 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -610,8 +610,8 @@ a.thumb_entry_title { .entry_type_icon { position: absolute; - top: 0; - right: 0; + top: 2px; + left: 2px; } .thumb_entry_last { diff --git a/mediagoblin/static/images/type_icons/video.png b/mediagoblin/static/images/type_icons/video.png new file mode 100644 index 0000000000000000000000000000000000000000..83687617eb96c959248c4a19e3ae799cb9d480cb GIT binary patch literal 1245 zcmV<31S0#1P)NN@02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00c!zL_t(o!_}8tNLzOpz<<#; zUZ7R%%NjRijLAktS$!MGgb5B|jJcOS6vh|>w}-I~e4SL9hbdxRoTy_u5kkETaTl{? z7jw+wG*&%!r7Mk>rK6%ok2yISbJ3i=S~VB;_R3Zw(C%y}ajoQsHtUkqB#RYXpPA=W}y&zjZpD z{S6HbIVS-wMW@pN;P?CSdcA3Sz5ey`^6~|{-Tpx`RR2qxPN(}jRaM37_2TpS&YnAW zu5oH=YT9fzUjTGThto0~4zs$t3Q$l~R5ayqINGYKtIs4HZog1f6-7~yWm%tKE+uPenl0+yJdZM79;EUGQR@;>;S90T}`cQCM1_A+=mX=6Q zPk*ths%ma{c(@rzI}vc&f{|qzS(eib2E%(ZGcyYV0|T!DsR`}5M@1+U!sGD}iA2s9 z78ZUrHa7Nkb#=8N7OHnY;3bE{VLR48O-UgqCkItkgKoF`tE)sJk+h2!FMjHDI&U>KHNEgSg^4?y zrg~#z16h{I%F24KqM~BTYPGgsyLRpTqf{pZPD@So*47sJ`T1{GR#x8W?(TkTKh;S& zOa=l0R#sL>O-;=%DJl7Ue0*H2tE(&gPqB9Ia}yI2wnT&K^?EWhGXZeB-Jg|}mAwxH z*n5D~`XiAM4u`dE2am_|G>{D}od`GpQ53^Qqj7Y8e%`$M`=q{QEiW%eOeT}tVzF3( zVc;g4#{wTzeHB2p8+hiJ}<3 ze*OCG>FMe3ff3*~u>81Zytu$AilUlKrUy4}-1rUhr zfLTBWb`JZjnDv~?<=Sa#YPu^3!Z*=s9ZF$bDyJxl+S%E;(%#-~1#G|=;6ALvn8R5t zmQAD4IJ&;R{!>)pJzyQ!j)jdQ!MR+noyNw-dp4VGC|a%GqQg2E%hi7BunIdmI#$}+ z+N{yO8VCLWHjk_DSd|k5Ay8jm@0^>PvqU%2m?}IH+~VS5EQG0rN*6Zu*wd0JYP&sJq#I@%HK?u~<)!m$(owY{C&hLN}PlX3X$>`|lW@%~Z zUEmYo4d59dJy}4zo9qHm7CpiwT;V}*XMvpP&Yo0-|BLtw-=z00=q4h>00000NkvXX Hu0mjfx?E3o literal 0 HcmV?d00001 diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html index 396d2997..57cd7c25 100644 --- a/mediagoblin/templates/mediagoblin/utils/object_gallery.html +++ b/mediagoblin/templates/mediagoblin/utils/object_gallery.html @@ -37,7 +37,6 @@ {% if entry.title %} {{ entry.title }} - {{ entry.icon_url }} {% endif %} {% endfor %} -- 2.25.1