]> source.dussan.org Git - gitblit.git/commitdiff
Adjusted Metric chart widths. Diff hunk header css tweak.
authorJames Moger <james.moger@gitblit.com>
Fri, 30 Sep 2011 03:47:13 +0000 (23:47 -0400)
committerJames Moger <james.moger@gitblit.com>
Fri, 30 Sep 2011 03:47:13 +0000 (23:47 -0400)
resources/bootstrap.gb.css
src/com/gitblit/wicket/pages/MetricsPage.java

index db91249befb46e494b0bb65bb4de263093eef8ea..2ea2b5c21a94f2dcb2f2669b5dba6670f3149e85 100644 (file)
@@ -366,7 +366,8 @@ div.diff table th.header {
 }\r
 \r
 div.diff table td.hunk_header {\r
-       background-color: #dAe2e5 !important;   \r
+       background-color: #dAe2e5 !important;\r
+       border-top: 1px solid #bac2c5;  \r
        border-bottom: 1px solid #bac2c5;\r
        color: #555;\r
 }\r
index 23dcd8ab38cab1109b5342a092dfc742a18df035..41c605cbb970c67e4a29d8a44682ea54162ec0b7 100644 (file)
@@ -68,7 +68,7 @@ public class MetricsPage extends RepositoryPage {
                if ((metrics != null) && (metrics.size() > 0)) {\r
                        IChartData data = WicketUtils.getChartData(metrics);\r
 \r
-                       ChartProvider provider = new ChartProvider(new Dimension(500, 100), ChartType.LINE,\r
+                       ChartProvider provider = new ChartProvider(new Dimension(400, 100), ChartType.LINE,\r
                                        data);\r
                        ChartAxis dateAxis = new ChartAxis(ChartAxisType.BOTTOM);\r
                        dateAxis.setLabels(new String[] { metrics.get(0).name,\r
@@ -93,7 +93,7 @@ public class MetricsPage extends RepositoryPage {
                if ((metrics != null) && (metrics.size() > 0)) {\r
                        IChartData data = WicketUtils.getChartData(metrics);\r
 \r
-                       ChartProvider provider = new ChartProvider(new Dimension(500, 100),\r
+                       ChartProvider provider = new ChartProvider(new Dimension(400, 100),\r
                                        ChartType.BAR_VERTICAL_SET, data);\r
                        ChartAxis dateAxis = new ChartAxis(ChartAxisType.BOTTOM);\r
                        List<String> labels = new ArrayList<String>();\r