From 763342bd92829259a716b08cb16ec5ed4cdd31e2 Mon Sep 17 00:00:00 2001 From: Coogan Date: Fri, 12 Jan 2018 13:25:40 -0600 Subject: [PATCH] swarm: added landing page template --- swarm/api/http/templates.go | 129 ++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/swarm/api/http/templates.go b/swarm/api/http/templates.go index 66b62f2ad3..619e44ec52 100644 --- a/swarm/api/http/templates.go +++ b/swarm/api/http/templates.go @@ -198,3 +198,132 @@ var landingPageTemplate = template.Must(template.New("landing-page").Parse(` `[1:])) + +var landingPageTemplate = template.Must(template.New("landing-page").Parse(` + + + + + + + + + Swarm:: Welcome to Swarm + + +
+
+
+ +
+
+

Welcome to Swarm

+
+
+
{{.Timestamp}}
+
+
+ +
+ + + + + + + + + + + + + +
+ Enter the hash or ENS of a swarm-hosted file below: +
+
+
+ +
+ + +`[1:]))