Comment 1 for bug 1461040

Revision history for this message
Robert Lyon (robertl-9) wrote : Re: no layouts visible

Hi Peter,

In Mahara 15.04.1 the layout 'images' are not image files anymore but instead are Scalable Vector Graphics (SVG) rendered directly by the browser.

I've checked firefox 38.0.1 on windows and I can see the layout 'images'

If you do a view of the source code for the layout page do you see code similar to this:
 <svg aria-labelledby="titlelid556e7781ec001 desclid556e7781ec001" height="48" width="76" role="img" xmlns="http://www.w3.org/2000/svg">
  <title id="titlelid556e7781ec001">Layout preview image</title>
  <desc id="desclid556e7781ec001">67-33</desc>
  <rect class="layout1" height="48" width="48.91" y="0" x="0"/><rect class="layout1" height="48" width="24.09" y="0" x="51.91"/>
 </svg>

The colours for these come from the theme/raw/static/style/style.css file and the .layoutthumb rect.layout0 and .layoutthumb rect.layout1 styles in particular.

Are you able to check if those styles are being applied to the <rect> tag?

Cheers

Robert