diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index f14f89d80b2..f5b0e3f377a 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -6,126 +6,11 @@
{{if .EnableHeatmap}} -
- -
-
{{.i18n.Tr "user.heatmap.loading"}}
-
-
-
-
+ {{template "user/dashboard/heatmap" .}} {{end}} {{template "user/dashboard/feeds" .}}
-
- -
- - - -
-
-
+ {{template "user/dashboard/repolist" .}}
diff --git a/templates/user/dashboard/heatmap.tmpl b/templates/user/dashboard/heatmap.tmpl new file mode 100644 index 00000000000..e1a3ca7d3a8 --- /dev/null +++ b/templates/user/dashboard/heatmap.tmpl @@ -0,0 +1,8 @@ +
+ +
+
{{.i18n.Tr "user.heatmap.loading"}}
+
+
+
+
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl new file mode 100644 index 00000000000..63019e58e83 --- /dev/null +++ b/templates/user/dashboard/repolist.tmpl @@ -0,0 +1,109 @@ +
+ +
+ + + +
+
+