diff --git a/hc/front/views.py b/hc/front/views.py index 0d7c8a8e..dcccbd0f 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -7,7 +7,11 @@ from hc.front.forms import TimeoutForm, TIMEOUT_CHOICES def index(request): - return render(request, "index.html") + ctx = { + "page": "welcome" + } + + return render(request, "index.html", ctx) @login_required @@ -18,7 +22,8 @@ def checks(request): ctx = { "checks": checks, "now": timezone.now, - "timeout_choices": TIMEOUT_CHOICES + "timeout_choices": TIMEOUT_CHOICES, + "page": "checks" } return render(request, "front/index.html", ctx) diff --git a/static/img/intro-create-check.png b/static/img/intro-create-check.png new file mode 100644 index 00000000..d4ed9cb1 Binary files /dev/null and b/static/img/intro-create-check.png differ diff --git a/templates/base.html b/templates/base.html index 4d64c6ba..64f663f4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,6 +9,39 @@
+ +diff --git a/templates/index.html b/templates/index.html index fbbab476..5c60fc54 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,33 +1,73 @@ {% extends "base.html" %} +{% load staticfiles %} {% block content %} |
---|