Using Images in Rally Applications

In the past, I included some of the images that exist on the Rally server in my applications - for example, I made a more general “picker” menu that displays checkboxes that, of course, rely on images for checks and fields.

Of course, I expect you to have to check if any of the images that I use are saved when the SDK version changes, but it never allows you to use some additional features and style that you could not have without the images that exist on the server.

My question is: since there is no way to place our own images in Rally *, is there a way to find all the images that may be available at our disposal on the server? I used the "resources" tab in chrome and can find what is used by specific pages, but it is not complete, only what is used.

My particular need is that I am trying to create a grid that shows a metric, and I want the column to show a green up / down arrow if the trend is good, and a red up / down arrow if the trend is bad.

*: The second answer below shows that this is not true: you can embed attachments in rallies and then refer to them in applications

+4
source share
2 answers

:

<span class="icon-NAME"></span>

, CSS:

<span class="icon-arrow-down" style="color:red"></span>

, :

icon-add
icon-add-column
icon-addTag
icon-admin
icon-archive
icon-arrow-down
icon-arrow-left
icon-arrow-right
icon-arrow-up
icon-attachment
icon-back
icon-bars
icon-bell
icon-blocked
icon-board
icon-box
icon-calendar
icon-cancel
icon-change-set
icon-chat
icon-chevron-down
icon-chevron-left
icon-chevron-right
icon-chevron-up
icon-children
icon-circle
icon-close
icon-collapse
icon-color
icon-comment
icon-cone
icon-cross
icon-dashboard
icon-defect
icon-defectSuite
icon-delete
icon-deploy
icon-donut
icon-dots
icon-down
icon-down_full
icon-down_hollow
icon-download
icon-drag
icon-dropdown
icon-edit
icon-embed
icon-empty
icon-enlarge
icon-expand
icon-export
icon-favorite
icon-feedback
icon-file
icon-filter
icon-fiveDots
icon-flag
icon-folder
icon-full-arrow-down
icon-full-arrow-left
icon-full-arrow-right
icon-full-arrow-up
icon-gear
icon-graph
icon-grid
icon-help
icon-hierarchy
icon-history
icon-home
icon-hourglass
icon-idea
icon-images
icon-infinity
icon-info
icon-info-circle
icon-leaf
icon-leave
icon-left
icon-line
icon-link
icon-lock
icon-lock-open
icon-mail
icon-minus
icon-more
icon-next
icon-none
icon-not-favorite
icon-ok
icon-partial
icon-pie
icon-plus
icon-popup
icon-portfolio
icon-post
icon-predecessor
icon-previous
icon-print
icon-program
icon-progress
icon-question
icon-ready
icon-recycle
icon-refresh
icon-reply-all
icon-right
icon-right_full
icon-right_hollow
icon-rss
icon-save
icon-scope-down
icon-scope-up
icon-scope-up-down
icon-search
icon-setup
icon-share
icon-shrink
icon-small-chevron-down
icon-small-chevron-left
icon-small-chevron-right
icon-small-chevron-up
icon-snapshot
icon-split
icon-square
icon-story
icon-successor
icon-tag
icon-task
icon-test
icon-test-run
icon-testCase
icon-testSet
icon-threeDots
icon-thumbs-down
icon-thumbs-up
icon-to-do
icon-triangle
icon-up
icon-upload
icon-user
icon-user-add
icon-users
icon-visible
icon-warning
icon-workspace

+2

Rally , URL-, :

 var myPanel = Ext.create('Ext.panel.Panel',{
        layout: 'hbox',
        itemId: 'p',
        items:[{
            xtype: 'image',
            autoRender: true,
            src: 'https://rally1.rallydev.com/slm/attachment/12345678/pic.png',
            width: 1000,
            height: 200
            }
        ]
        });
+3

Source: https://habr.com/ru/post/1523401/


All Articles