styling
This commit is contained in:
@@ -32,4 +32,9 @@
|
||||
margin-right: 5px;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.video-options .delete-btn {
|
||||
background-color: rgb(255, 70, 70);
|
||||
color: white;
|
||||
}
|
@@ -8,13 +8,12 @@
|
||||
<title>Playlist</title>
|
||||
<link rel="stylesheet" href="/static/style/common.css">
|
||||
<link rel="stylesheet" href="/static/style/videos.css">
|
||||
{{template "playlist-video-card-css" .}}
|
||||
{{template "footer-css" .}}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{.playlist.Title}}</h1>
|
||||
<h2>Playlist</h2>
|
||||
|
||||
<div class="video-list">
|
||||
{{range .unwatched}}
|
||||
{{template "playlist-video-card-html" .}}
|
||||
|
@@ -45,12 +45,12 @@
|
||||
</form>
|
||||
{{end}}
|
||||
<form action="/video/{{.ID}}/delete" method="post" style="display:inline;">
|
||||
<button type="submit">Delete</button>
|
||||
<button class="delete-btn" type="submit">Delete</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{define "playlist-video-card-css"}}
|
||||
<!-- <link rel="stylesheet" href="/static/style/footer.css"> -->
|
||||
<link rel="stylesheet" href="/static/style/video-card.css">
|
||||
{{end}}
|
@@ -48,7 +48,7 @@
|
||||
{{else if eq .Status "downloading"}}
|
||||
{{end}}
|
||||
<form action="/video/{{.ID}}/delete" method="post" style="display:inline;">
|
||||
<button type="submit">Delete</button>
|
||||
<button type="submit" class="delete-btn">Delete</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -69,7 +69,7 @@
|
||||
<div class="video-info"><a href="{{.URL}}">{{.URL}}</a></div>
|
||||
<div class="video-options">
|
||||
<form action="/p/{{.ID}}/delete" method="post" style="display:inline;">
|
||||
<button type="submit">Delete</button>
|
||||
<button type="submit" class="delete-btn">Delete</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user