diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-30 13:42:42 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-30 13:42:42 +0200 |
commit | fcc90027f5b624b333f4e00045a04dacb7d67394 (patch) | |
tree | c82aadae3cc621a1832440a5bbb338966cc3ca50 /server/sonar-web/src/main/hbs/overview/overview-debt.hbs | |
parent | 3fa0d737fb0177414765ca800f0271b6859437d9 (diff) | |
download | sonarqube-fcc90027f5b624b333f4e00045a04dacb7d67394.tar.gz sonarqube-fcc90027f5b624b333f4e00045a04dacb7d67394.zip |
SONAR-6331 add a project overview page
Diffstat (limited to 'server/sonar-web/src/main/hbs/overview/overview-debt.hbs')
-rw-r--r-- | server/sonar-web/src/main/hbs/overview/overview-debt.hbs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/hbs/overview/overview-debt.hbs b/server/sonar-web/src/main/hbs/overview/overview-debt.hbs new file mode 100644 index 00000000000..232cc2228fe --- /dev/null +++ b/server/sonar-web/src/main/hbs/overview/overview-debt.hbs @@ -0,0 +1,35 @@ +<h6 class="note">{{t 'overview.debt'}}</h6> + +<table class="width100"> + <tr> + <td class="width-55"> + <div class="overview-main-measure"> + <a href="{{urlForDrilldown componentKey 'sqale_index'}}">{{formatMeasure debt 'WORK_DUR'}}</a> + </div> + <div class="overview-trend"> + <div id="overview-debt-trend" data-width="100" data-height="30" data-color="#4b9fd5"></div> + </div> + </td> + <td class="width-15"> + <a href="{{urlForDrilldown componentKey 'sqale_index' 1}}" + class="overview-measure {{#gt deb1 0}}text-danger{{/gt}}{{#lt debt1 0}}text-success{{/lt}}"> + {{formatMeasureVariation debt1 'WORK_DUR'}} + </a> + <p class="note">{{period1Name}}</p> + </td> + <td class="width-15"> + <a href="{{urlForDrilldown componentKey 'sqale_index' 2}}" + class="overview-measure {{#gt debt2 0}}text-danger{{/gt}}{{#lt debt2 0}}text-success{{/lt}}"> + {{formatMeasureVariation debt2 'WORK_DUR'}} + </a> + <p class="note">{{period2Name}}</p> + </td> + <td class="width-15"> + <a href="{{urlForDrilldown componentKey 'sqale_index' 3}}" + class="overview-measure {{#gt debt3 0}}text-danger{{/gt}}{{#lt debt3 0}}text-success{{/lt}}"> + {{formatMeasureVariation debt3 'WORK_DUR'}} + </a> + <p class="note">{{period3Name}}</p> + </td> + </tr> +</table> |