diff --git a/scss/main.scss b/scss/main.scss index e4fec7f8c7500edeb696d1c20d2467f56ef6c18e..d72a24342c91efbc2488a0d578888b3259c9e59d 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -16,11 +16,3 @@ input { font-family: $font-family-monospace; } } - -// Compact grid for the database list on user and dashboard pages. -.repo-list { - display: grid; - grid-template-columns: 1fr auto; - grid-gap: 0.25rem 1rem; - align-items: baseline; -} diff --git a/web/templates.go b/web/templates.go index 12c254456adae7a0c52ab0736a5f6f258601b178..14becc6942c0ac9881da9959bd901f8a1c9dbc42 100644 --- a/web/templates.go +++ b/web/templates.go @@ -128,6 +128,7 @@ "abstime": func(t time.Time) string { return t.UTC().Format("2006-01-02 15:04:05 UTC") }, // humansize renders a byte count as a human-readable size. "humansize": humanizeSize, "upper": strings.ToUpper, + "lower": strings.ToLower, // inc/dec support 1-based page arithmetic in pagination links. "inc": func(n int) int { return n + 1 }, "dec": func(n int) int { return n - 1 }, diff --git a/web/templates/index.html b/web/templates/index.html index db1229ce42672ae38917617037d8b4c1cb797e6f..d65bdd79b2003defd72b428db18201a7b014e5bc 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -1,14 +1,27 @@ {{define "content" -}} {{if .CurrentUser}}
+ Welcome back, {{.CurrentUser.Username}}! This is your Dolt database
+ hosting service: dolt clone, push and
+ pull over HTTPS, with a web UI for browsing branches,
+ commits and tables.
+
{{.Description}}
+ {{end}} +