Split image list in N tables

asked 2014-09-25 08:15:12 -0500

updated 2014-09-29 07:49:16 -0500

Hi all,

In Horizon, in the Image list view (project dashboard), I would like to split the image list in "N" HTML tables. Right now, all the images are in the same HTML table. I want to split this unique HTML table y "N" HTML tables.

  • How can I do that?
  • Maybe pre-processing (grouping) the images in _data_table.html file?

Use case: I have images only for Ubuntu, Windows and Cirros. All the image names start by <flavor>.MajorVersion.MinorVersion, example, Ubuntu.12.04. In that case, I want 3 (N=3) HTML tables (one per flavor) because I have 3 flavors (Ubuntu, Windows and Cirros).

UPDATED 29-09-2014

Picture of example that I want has been uploaded!

picture example image list split

edit retag flag offensive close merge delete


I think that Horizon TemplateLoader https://github.com/openstack/horizon/... could be useful for customizing and re-defining specific views. I think in Icehouse anybody is using this loader.

Marcos F. Lobo gravatar imageMarcos F. Lobo ( 2014-09-29 08:10:06 -0500 )edit

As this is a dev question, I would suggest you to get on to the Horizon IRC channel (#openstack-horizon) !

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-09-30 01:05:04 -0500 )edit