diff --git a/web/index.html b/web/index.html index b213bde..2b88232 100644 --- a/web/index.html +++ b/web/index.html @@ -1,40 +1,33 @@ {{ define "content" }} +

Drag this bookmarklet: Gropple to your bookmark bar, and click it on any page you want to grab the video from.

- -{{ range $k, $v := .Downloads }} -
-

{{ $v.Url }}

- - - - - - - - - - - - - - - - - -
state{{ $v.State }}
percent{{ $v.Percent }}
files{{ range $i, $f := $v.Files }}{{ $f }} {{ end }}
exit code{{ $v.ExitCode }}
- -
-    {{ range $i, $l := $v.Log }}
-line: {{ $l }}
-    {{- end -}}
-    
-
-{{ end }} +
+ + + + + + + + {{ range $k, $v := .Downloads }} + + + + + + + + + + {{ end }} + +
idfilenameurlstatepercentetafinished
{{ $v.Id }}{{ range $_, $f := $v.Files }}{{ $f }}
{{ end }}
link{{ $v.State }}{{ $v.Percent }}{{ $v.Eta }}{{ $v.Finished }}
+
{{ end }} {{ define "js" }} diff --git a/web/layout.tmpl b/web/layout.tmpl index c6b66ac..e8446d2 100644 --- a/web/layout.tmpl +++ b/web/layout.tmpl @@ -8,7 +8,7 @@ - + {{ template "content" . }} {{ template "js" . }}