This commit is contained in:
		@@ -8,10 +8,21 @@
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
<h1>Viva++</h1>
 | 
			
		||||
<div class="video-box">
 | 
			
		||||
	<h2>{{.Title}}</h2>
 | 
			
		||||
	<div>{{.Description}}</div>
 | 
			
		||||
	<img src="{{.Thumbnail}}" alt="Thumbnail" />
 | 
			
		||||
<div class="video-container">
 | 
			
		||||
	<div class="video-box">
 | 
			
		||||
		<div class="thumbnail-container">
 | 
			
		||||
			<a href="/video/{{.ID}}">
 | 
			
		||||
				<img src="{{.Thumbnail}}" alt="Thumbnail" class="video-thumbnail" />
 | 
			
		||||
				<div class="play-button">
 | 
			
		||||
					<span class="play-symbol">▶</span>
 | 
			
		||||
				</div>
 | 
			
		||||
			</a>
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="video-info">
 | 
			
		||||
			<h2 class="video-title">{{.Title}}</h2>
 | 
			
		||||
			<p class="video-description">{{.Description}}</p>
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										35
									
								
								web/video.gohtml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								web/video.gohtml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
{{- /*gotype: vivaplusdl.VideoPlayerVM*/}}
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <title>{{.Title}} - Viva++</title>
 | 
			
		||||
    <link href="/static/style.css" rel="stylesheet">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h1>Viva++</h1>
 | 
			
		||||
    <div class="back-button-container">
 | 
			
		||||
        <a href="/" class="back-button">← Back to Home</a>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="video-player-container">
 | 
			
		||||
        <div class="video-player-box">
 | 
			
		||||
            <h2 class="video-title">{{.Title}}</h2>
 | 
			
		||||
            <div class="video-player">
 | 
			
		||||
                <video controls autoplay src="/stream/{{.ID}}">
 | 
			
		||||
                    Your browser does not support the video tag.
 | 
			
		||||
                </video>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="video-player-info">
 | 
			
		||||
                <p class="video-description">{{.Description}}</p>
 | 
			
		||||
				<!--
 | 
			
		||||
                <div class="video-actions">
 | 
			
		||||
                    <form method="post" action="/video/{{.ID}}/mark-watched">
 | 
			
		||||
                        <button type="submit" class="mark-watched">Mark as Watched</button>
 | 
			
		||||
                    </form>
 | 
			
		||||
                </div>
 | 
			
		||||
				-->
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user