diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl new file mode 100644 index 0000000..041bda8 --- /dev/null +++ b/templates/explore/repo_list.tmpl @@ -0,0 +1,27 @@ +
+ {{range .Repos}} +
+
+ {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} + {{if .IsPrivate}} + + {{else if .IsFork}} + + {{else if .IsMirror}} + + {{end}} + +
+ {{.NumStars}} + {{.NumForks}} +
+
+ {{if .DescriptionHTML}}

{{.DescriptionHTML}}

{{end}} +

{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}

+
+ {{else}} +
+ {{$.i18n.Tr "explore.repo_no_results"}} +
+ {{end}} +
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl new file mode 100644 index 0000000..db5b6c7 --- /dev/null +++ b/templates/repo/header.tmpl @@ -0,0 +1,107 @@ +
+{{with .Repository}} +
+ +
+{{end}} +{{if not .IsDiffCompare}} +
+ +
+
+{{else}} +
+{{end}} +
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl new file mode 100644 index 0000000..bddcc49 --- /dev/null +++ b/templates/user/dashboard/dashboard.tmpl @@ -0,0 +1,119 @@ +{{template "base/head" .}} +
+ {{template "user/dashboard/navbar" .}} +
+ {{template "base/alert" .}} + +
+
+{{template "base/footer" .}}