cleanup and add title
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
    <head>
 | 
			
		||||
        <meta charset="utf-8">
 | 
			
		||||
        <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
        <title>Youtube Downloader UI</title>
 | 
			
		||||
        <title>{{ $.Title }}</title>
 | 
			
		||||
        <!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
 | 
			
		||||
        <link rel="icon" href="data:;base64,iVBORw0KGgo=">
 | 
			
		||||
        <link href="assets/bootstrap.css" rel="stylesheet" >
 | 
			
		||||
@@ -45,7 +45,7 @@
 | 
			
		||||
        </script>
 | 
			
		||||
    </head>
 | 
			
		||||
    <body>
 | 
			
		||||
        <h1 class="text-center"> {{ .Foo }} </h1>
 | 
			
		||||
        <h1 class="text-center"> {{ $.Title }} </h1>
 | 
			
		||||
        <div class="container">
 | 
			
		||||
            <div class="row my-4 text-center">
 | 
			
		||||
                <form method="POST" action="/">
 | 
			
		||||
@@ -68,7 +68,7 @@
 | 
			
		||||
                                <h6 class="card-subtitle mb-2 text-muted">On {{ .Date }}</h6>
 | 
			
		||||
                                <a href="{{ .URL }}" class="card-link d-block mb-2">Youtube Link</a>
 | 
			
		||||
                                {{ if eq .Status "Done" }}
 | 
			
		||||
                                <a class="btn btn-primary w-100" target="_blank" href="{{ vids_prefix }}/{{ .FileName }}">Watch</a>
 | 
			
		||||
                                <a class="btn btn-primary w-100" target="_blank" href="{{ $.VidoesUrl }}/{{ .FileName }}">Watch</a>
 | 
			
		||||
                                {{ else if eq .Status "InProgress" }}
 | 
			
		||||
                                <span class="border border-info w-100 text-center d-block" data-ytstatus="progress" data-ytid="{{.Id}}">In Progress</span>
 | 
			
		||||
                                {{ else }}
 | 
			
		||||
@@ -103,7 +103,7 @@
 | 
			
		||||
                        </td>
 | 
			
		||||
                        <td>
 | 
			
		||||
                            {{ if eq .Status "Done" }}
 | 
			
		||||
                            <a target="_blank" href="{{ vids_prefix }}/{{ .FileName }}">Watch</a>
 | 
			
		||||
                            <a target="_blank" href="{{ $.VidoesUrl }}/{{ .FileName }}">Watch</a>
 | 
			
		||||
                            {{ else if eq .Status "InProgress" }}
 | 
			
		||||
                            <span data-ytstatus="progress" data-ytid="{{.Id}}">In Progress</span>
 | 
			
		||||
                            {{ else }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user