This is tricky and has changed in the last few releases. If you have
are developing against the latest revision of galaxy-central this is
all handled via Backbone MVC code. In particular checkout the render
method of static/scripts/mvc/dataset/hda-base.js about 100 lines down.
The class of each of these HDA (history dataset) bodies is set based
on the state fetched from the server:
.attr( 'class', view.className ).addClass( 'state-' +
view.model.get( 'state' ) )
.append( $newRender.children() );
The visual properties of this class are described by CSS (in
static/style/blue/base.css which I think is actually a derived file
based on this LESS file static/style/src/less/history.less).
Hope this helps.
On Wed, Apr 9, 2014 at 11:44 PM, <neil.burd...@csiro.au> wrote:
> Can someone point me in the direction of where the code in Galaxy is
> called to change the history background for example when a job changes from
> Yellow to red on error, or yellow to green on success. I've been going
> around in circles now trying to figure out, how this is implemented and how
> the labels are updated on the history.
> Also, If I change history_common.mako file and I restart the system my
> changes aren't seen (i.e. add a new icon if the system goes into error)
> Thanks for any insight
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> To search Galaxy mailing lists use the unified search at:
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
To search Galaxy mailing lists use the unified search at: