video page styling

This commit is contained in:
Carl Pearson
2024-09-25 06:08:16 -06:00
parent 7f6de26f80
commit a5d80f4e01
3 changed files with 15 additions and 6 deletions

View File

@@ -54,6 +54,7 @@ Build and push this container to ghcr
- [ ] change from Audio -> Video - [ ] change from Audio -> Video
- [x] Provide a better name for downloaded files - [x] Provide a better name for downloaded files
- [x] Environment variable to control whether "Secure" flag set on cookie - [x] Environment variable to control whether "Secure" flag set on cookie
- [ ] Allow custom FPS for video transcode
- [ ] Provide an about page - [ ] Provide an about page
- `ffmpeg` version - `ffmpeg` version
- `yt-dlp` version - `yt-dlp` version

View File

@@ -19,6 +19,18 @@ button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} }
.media-card button {
display: inline-block;
padding: 10px 15px;
text-decoration: none;
border-radius: 4px;
}
.new-transcode button {
background-color: green;
color: white;
}
.media-card h3 { .media-card h3 {
padding: 15px; padding: 15px;
margin: 0; margin: 0;
@@ -57,12 +69,8 @@ button {
} }
.media-controls button { .media-controls button {
display: inline-block;
padding: 10px 15px;
background-color: red; background-color: red;
color: white; color: white;
text-decoration: none;
border-radius: 4px;
} }
/* narrower than 600px */ /* narrower than 600px */

View File

@@ -36,7 +36,7 @@
{{end}} {{end}}
</div> </div>
{{end}} {{end}}
<div class="media-card"> <div class="media-card new-transcode">
<form action="/transcode_to_video/{{.original.ID}}" method="post"> <form action="/transcode_to_video/{{.original.ID}}" method="post">
<input type="hidden" name="original_id" value="{{.original.ID}}"> <input type="hidden" name="original_id" value="{{.original.ID}}">
<label for="height-select">Height:</label> <label for="height-select">Height:</label>
@@ -72,7 +72,7 @@
{{end}} {{end}}
</div> </div>
{{end}} {{end}}
<div class="media-card"> <div class="media-card new-transcode">
<form action="/transcode_to_audio/{{.original.ID}}" method="post"> <form action="/transcode_to_audio/{{.original.ID}}" method="post">
<input type="hidden" name="original_id" value="{{.original.ID}}"> <input type="hidden" name="original_id" value="{{.original.ID}}">
<label for="kbps-select">Kbps:</label> <label for="kbps-select">Kbps:</label>