diff --git a/web/views/download.html b/web/views/download.html index 8e95dc7..6cf3295 100644 --- a/web/views/download.html +++ b/web/views/download.html @@ -2,37 +2,29 @@

Download Video

{{.Meta.Title}}

{{.Url}}

- {{.Meta.Title}} - Download Another Video + {{.Meta.Title}} + + Download Another Video + -{{$id := .Meta.ID}} {{$url := .Url}} {{$basePath := .BasePath}} {{range -.Formats}} -
-
{{.Format}}
-
- - Download (direct) - - - Download (proxied) - + +{{$id := .Meta.ID}} +{{$url := .Url}} +{{$basePath := .BasePath}} + +
+ {{range .Formats}} + -
-{{end}} + {{end}} +
\ No newline at end of file diff --git a/web/views/index.html b/web/views/index.html index bd5d0bd..3ad3518 100644 --- a/web/views/index.html +++ b/web/views/index.html @@ -8,25 +8,11 @@
-
@@ -37,4 +23,4 @@ {{if .Flash}}
{{.Flash.message}}
{{end}} - + \ No newline at end of file diff --git a/web/views/layouts/main.html b/web/views/layouts/main.html index fde39f2..70f0e9b 100644 --- a/web/views/layouts/main.html +++ b/web/views/layouts/main.html @@ -1,63 +1,48 @@ - - - - - YTDL Web - - - - - - + + + + {{template "views/partials/navbar" .}} +
{{embed}}
+ - - + }); + + + + \ No newline at end of file diff --git a/web/views/partials/navbar.html b/web/views/partials/navbar.html index ecc9fb2..d9cfd5e 100644 --- a/web/views/partials/navbar.html +++ b/web/views/partials/navbar.html @@ -2,4 +2,4 @@
YTDL Web
- + \ No newline at end of file