~mpt/errors/1320846-frequency-label

« back to all changes in this revision

Viewing changes to errors/static/js/most_common_problems.js

  • Committer: Brian Murray
  • Date: 2014-02-07 16:31:31 UTC
  • mfrom: (449.1.2 1267830-series-colors)
  • Revision ID: brian@canonical.com-20140207163131-06idprqmyq6ao865
merge mpt's color tweaks for the graphs and then update most_common_problems.js and retracers.js accordingly

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        } else if (selected_release == 'Ubuntu 13.10') {
151
151
            color = '#d20700';
152
152
        } else if (selected_release == 'Ubuntu 14.04') {
153
 
            color = '#dd4814';
 
153
            color = '#ff8b00';
154
154
//        } else if (selected_release == 'Ubuntu 14.10') {
155
155
//            color = '#d9c200';
 
156
//        } else if (selected_release == 'Ubuntu 15.04') {
 
157
//            color = '#00e600';
156
158
        }
157
159
        o.value = "<div class=\"chart-wrap\"><span class=\"chart-text\">" + o.value + "</span><div class=\"chart\" style=\"width: " + scale(o.value / current_max) + "px; background-color: " + color + "\">&nbsp;</div></div>";
158
160
        return o.value;