--- a/src/pyams_content/component/paragraph/pictogram.py Wed Mar 14 09:43:32 2018 +0100
+++ b/src/pyams_content/component/paragraph/pictogram.py Wed Mar 14 10:14:47 2018 +0100
@@ -215,7 +215,7 @@
class PictogramParagraph(RenderedContentMixin, BaseParagraph):
"""Pictograms paragraph"""
- icon_class = 'fa-paint-brush'
+ icon_class = 'fa-linode'
icon_hint = _("Pictograms")
renderer = FieldProperty(IPictogramParagraph['renderer'])
--- a/src/pyams_content/component/paragraph/zmi/pictogram.py Wed Mar 14 09:43:32 2018 +0100
+++ b/src/pyams_content/component/paragraph/zmi/pictogram.py Wed Mar 14 10:14:47 2018 +0100
@@ -79,7 +79,7 @@
"""Pictogram paragraph add menu"""
label = _("Pictograms...")
- label_css_class = 'fa fa-fw fa-paint-brush'
+ label_css_class = 'fa fa-fw fa-linode'
url = 'add-pictogram-paragraph.html'
paragraph_type = PICTOGRAM_PARAGRAPH_TYPE
@@ -90,7 +90,7 @@
"""Pictogram paragraph add form"""
legend = _("Add new pictogram paragraph")
- icon_css_class = 'fa fa-fw fa-paint-brush'
+ icon_css_class = 'fa fa-fw fa-linode'
fields = field.Fields(IPictogramParagraph).select('title', 'renderer')
ajax_handler = 'add-pictogram-paragraph.json'
@@ -120,7 +120,7 @@
return II18n(content).query_attribute('title', request=self.request)
legend = _("Edit pictogram paragraph properties")
- icon_css_class = 'fa fa-fw fa-paint-brush'
+ icon_css_class = 'fa fa-fw fa-linode'
fields = field.Fields(IPictogramParagraph).select('title', 'renderer')
fields['renderer'].widgetFactory = RendererFieldWidget
@@ -417,7 +417,7 @@
def updateWidgets(self, prefix=None):
super(PictogramAddForm, self).updateWidgets(prefix)
if 'body' in self.widgets:
- self.widgets['body'].widget_css_class = 'textarea'
+ self.widgets['body'].widget_css_class = 'textarea height-100'
def create(self, data):
return PictogramItem()
@@ -453,7 +453,7 @@
"""Pictogram properties edit form"""
legend = _("Edit pictogram properties")
- icon_css_class = 'fa fa-fw fa-paint-brush'
+ icon_css_class = 'fa fa-fw fa-linode'
fields = field.Fields(IPictogramItem).omit('__parent__', '__name__', 'visible')
ajax_handler = 'properties.json'
@@ -462,7 +462,7 @@
def updateWidgets(self, prefix=None):
super(PictogramPropertiesEditForm, self).updateWidgets(prefix)
if 'body' in self.widgets:
- self.widgets['body'].widget_css_class = 'textarea'
+ self.widgets['body'].widget_css_class = 'textarea height-100'
@view_config(name='properties.json', context=IPictogramItem, request_type=IPyAMSLayer,