ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <>
Subject [jira] [Created] (AMBARI-6095) Views: standardize way to obtain "icon" from view
Date Thu, 12 Jun 2014 03:22:02 GMT
Tom Beerbower created AMBARI-6095:

             Summary: Views: standardize way to obtain "icon" from view
                 Key: AMBARI-6095
             Project: Ambari
          Issue Type: Task
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower

As part of view definition (or part of standard ui resource that can be loaded from a view),
need a way to obtain the icon for the view.

1. <icon> for all sizes, but we recommend 32x32 (because we'll resize on display to
16x16, 32x32 and 48x48)


2. <icon64> for big size 64x64. If not specified, the smaller <icon> will be used.


3. Available at definition and instance level. Asking an instance for it's icon should handle
the logic (check if available on instance, if not, get use definition). If the icon is not
specified by the view, Ambari Web should have a default icon for views to use and it.




4. The path is relative to the view resource. And this is the path it should be in the view


This message was sent by Atlassian JIRA

View raw message