Skip to content

Instantly share code, notes, and snippets.

@wnielson
Created June 13, 2012 17:23
Show Gist options
  • Save wnielson/2925359 to your computer and use it in GitHub Desktop.
Save wnielson/2925359 to your computer and use it in GitHub Desktop.
diff --git a/media_tree/templates/admin/media_tree/filenode/mptt_change_list.html b/media_tree/templates/admin/media_tree/filenode/mptt_change_list.html
index d882dd3..c081f53 100644
--- a/media_tree/templates/admin/media_tree/filenode/mptt_change_list.html
+++ b/media_tree/templates/admin/media_tree/filenode/mptt_change_list.html
@@ -1,5 +1,5 @@
{% extends "admin/mptt_change_list.html" %}
-{% load adminmedia admin_list i18n mptt_tags media_tree_admin %}
+{% load adminmedia admin_list i18n mptt_tags media_tree_admin static %}
{% block extrahead %}
{{ block.super }}
@@ -8,6 +8,18 @@ Since the FileNodeAdmin's Media class can't use reverse to determine the jsi18n
it is embedded here.
{% endcomment %}
<script type="text/javascript" src="{% url admin:media_tree_jsi18n %}"></script>
+<style>
+ .qq-upload-button {
+ color: white;
+ height: 16px;
+ padding-right: 8px;
+ background: #999 url({% static "admin/img/tool-right.gif" %}) top right no-repeat;
+ }
+
+ .qq-upload-button:hover {
+ background: #5b80b2 url({% static "admin/img/tool-right_over.gif" %}) top right no-repeat;
+ }
+</style>
{% endblock %}
{% block breadcrumbs %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment