From 7a7b52c0535c247f0f4b9c625b30351c4e55e88d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 4 Nov 2019 15:24:29 -0500 Subject: [PATCH] dashboard.html: use scm.sr.ht template --- gitsrht/templates/dashboard.html | 50 ++++---------------------------- 1 file changed, 6 insertions(+), 44 deletions(-) diff --git a/gitsrht/templates/dashboard.html b/gitsrht/templates/dashboard.html index bd812be..727e671 100644 --- a/gitsrht/templates/dashboard.html +++ b/gitsrht/templates/dashboard.html @@ -1,45 +1,7 @@ -{% extends "layout.html" %} -{% block body %} -
-
-
-

- Welcome back, {{ current_user.username }}! This is the - {{cfg("sr.ht", "site-name")}} git hosting service. Documentation - for its use is - available here. -

- - Create new repository {{icon("caret-right")}} - -
-
-
- {% if repos and len(repos) %} -
- {% for repo in repos %} -
-

- - ~{{current_user.username}}/{{repo.name}} - - {% if repo.visibility.value != 'public' %} - - {{ repo.visibility.value }} - - {% endif %} -

- {% if repo.description %} -

{{ repo.description }}

- {% endif %} -
- {% endfor %} -
- - More on your profile {{icon("caret-right")}} - - {% endif %} -
-
-
+{% extends "bases/scmdashboard.html" %} +{% block welcome_user %} + Welcome back, {{ current_user.username }}! This is the + {{cfg("sr.ht", "site-name")}} git hosting service. Documentation + for its use is + available here. {% endblock %} -- 2.38.4