aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/hbs/overview/overview-size.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/hbs/overview/overview-size.hbs')
-rw-r--r--server/sonar-web/src/main/hbs/overview/overview-size.hbs18
1 files changed, 13 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/hbs/overview/overview-size.hbs b/server/sonar-web/src/main/hbs/overview/overview-size.hbs
index b06b14ed706..907e4727c9f 100644
--- a/server/sonar-web/src/main/hbs/overview/overview-size.hbs
+++ b/server/sonar-web/src/main/hbs/overview/overview-size.hbs
@@ -1,16 +1,24 @@
+<header class="overview-card-header page-header">
+ <h2 class="page-title">{{t 'overview.size'}}</h2>
+</header>
+
<div class="overview-highlight">
- <h6 class="note">{{t 'overview.lines_of_code'}}</h6>
+ <h6 class="note">{{t 'metric.ncloc.name'}}</h6>
<div class="overview-main-measure">
- <a href="{{urlForDrilldown componentKey 'ncloc'}}">{{formatMeasure ncloc 'INT'}}</a>
+ <a href="{{urlForDrilldown componentKey 'ncloc'}}">{{formatMeasure ncloc 'SHORT_INT'}}</a>
</div>
+
{{#notNull ncloc3}}
<div class="spacer-top">
- <span class="overview-measure">{{formatMeasureVariation ncloc3 'INT'}}</span>
- <span class="note">{{period3Name}}</span>
+ <h6 class="note">{{period3Name}}</h6>
+ <span class="overview-measure">{{formatMeasureVariation ncloc3 'SHORT_INT'}}</span>
</div>
{{/notNull}}
</div>
<div class="overview-trend">
- <div class="overview-sparkline" id="overview-size-trend" data-width="300" data-height="50" data-color="#f3ca8e" data-type="INT"></div>
+ <div class="overview-sparkline" id="overview-size-trend" data-height="120" data-color="#f3ca8e"
+ data-type="SHORT_INT"></div>
</div>
+
+