diff --git a/README b/README
index 19977cd..c6fdd44 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ Prerequisites:
* Python 2.5.4+
* Django 1.3+
* django-mptt e734079+
- * (optional) django-grappelli 2.0+
+ * (optional) django-grappelli 2.4+
* (optional) south 0.7.2+
* (philo.contrib.penfield) django-taggit 0.9.3+
* (philo.contrib.waldo, optional) recaptcha-django r6+
diff --git a/README.markdown b/README.markdown
index 2653f52..74a1438 100644
--- a/README.markdown
+++ b/README.markdown
@@ -5,7 +5,7 @@ Prerequisites:
* [Python 2.5.4+](http://www.python.org/)
* [Django 1.3+](http://www.djangoproject.com/)
* [django-mptt e734079+](https://github.com/django-mptt/django-mptt/)
- * (optional) [django-grappelli 2.0+](http://code.google.com/p/django-grappelli/)
+ * (optional) [django-grappelli 2.4+](https://github.com/sehmaschine/django-grappelli/)
* (optional) [south 0.7.2+](http://south.aeracode.org/)
* (philo.contrib.penfield) [django-taggit 0.9.3+](https://github.com/alex/django-taggit/)
* (philo.contrib.waldo, optional) [recaptcha-django r6+](http://code.google.com/p/recaptcha-django/)
diff --git a/philo/static/philo/css/EmbedWidget.css b/philo/static/philo/css/EmbedWidget.css
index 6741034..e986c89 100644
--- a/philo/static/philo/css/EmbedWidget.css
+++ b/philo/static/philo/css/EmbedWidget.css
@@ -10,27 +10,7 @@
background-color:#EEE;
}
.embed-widget textarea{
- margin-top:0;
-}
-.embed-widget button, .embed-widget select{
- vertical-align:middle;
- margin-right:3px;
-}
-.embed-toolbar button{
- background:#FFF;
- border:1px solid #CCC;
- border-radius:3px;
- -webkit-border-radius:3px;
- -moz-border-radius:3px;
- color:#666;
-}
-.embed-toolbar button:hover{
- color:#444;
-}
-.embed-toolbar button:active{
- color:#FFF;
- background:#666;
- border-color:#666;
+ margin-top: 0;
}
.grappelli .embed-widget{
@@ -44,8 +24,8 @@
margin:0 -3px;
}
.grappelli .embed-toolbar{
- padding:0;
+ padding:0 5px;
padding-bottom:3px;
background:none;
border:none;
-}
\ No newline at end of file
+}
diff --git a/philo/static/philo/js/EmbedWidget.js b/philo/static/philo/js/EmbedWidget.js
index 7293125..934af0e 100644
--- a/philo/static/philo/js/EmbedWidget.js
+++ b/philo/static/philo/js/EmbedWidget.js
@@ -9,13 +9,14 @@
EmbedWidgets = widget.EmbedWidgets,
EmbedBars = widget.EmbedBars,
EmbedButtons = widget.EmbedButtons,
- EmbedSelects = widget.EmbedSelects;
+ EmbedSelects = widget.EmbedSelects,
+ LoupeImageUrl = 'grappelli' in window ? "/grapelli/img/admin/selector-search.gif" : __admin_media_prefix__ + "img/selector-search.gif";
EmbedFields.wrap($('
'));
EmbedWidgets = $('.embed-widget');
EmbedWidgets.prepend($('
'));
EmbedBars = $('.embed-toolbar');
- EmbedBars.append('Embed ');
+ EmbedBars.append('Embed Media: ');
EmbedButtons = $('.embed-button');
EmbedSelects = $('.embed-select');
@@ -85,7 +86,7 @@
optgroup_el, group;
// append a title
- $this.append('Media Types ');
+ $this.append('Select a Media Type ');
// for each group
for (name in optgroups){
diff --git a/philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html b/philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html
index 25c1ac4..2546faa 100644
--- a/philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html
+++ b/philo/templates/admin/philo/edit_inline/grappelli_tabular_attribute.html
@@ -1,31 +1,31 @@
{% load i18n adminmedia grp_tags %}
-