MediaPage - media type info added
This commit is contained in:
@@ -7,8 +7,10 @@ public class MediaResponse : Media
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public long Id { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public MediaType Type { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="app.css?version=0.15"/>
|
||||
<link rel="stylesheet" href="WatchIt.Website.styles.css?version=0.24"/>
|
||||
<link rel="stylesheet" href="app.css?version=0.1.0.16"/>
|
||||
<link rel="stylesheet" href="WatchIt.Website.styles.css?version=0.1.0.25"/>
|
||||
|
||||
<!-- BOOTSTRAP -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
|
||||
@@ -64,6 +64,9 @@ else
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="d-flex flex-wrap gap-3">
|
||||
<div class="metadata-pill">
|
||||
<strong>@(_media.Type == MediaType.Movie ? "Movie" : "TV Series")</strong>
|
||||
</div>
|
||||
@if (!string.IsNullOrWhiteSpace(_media.OriginalTitle))
|
||||
{
|
||||
<div class="metadata-pill">
|
||||
|
||||
@@ -53,11 +53,11 @@
|
||||
},
|
||||
"Movies": {
|
||||
"Base": "/movies",
|
||||
"GetAll": "",
|
||||
"Get": "/{0}",
|
||||
"Post": "",
|
||||
"Put": "/{0}",
|
||||
"Delete": "/{0}",
|
||||
"GetAllMovies": "",
|
||||
"GetMovie": "/{0}",
|
||||
"PostMovie": "",
|
||||
"PutMovie": "/{0}",
|
||||
"DeleteMovie": "/{0}",
|
||||
"GetMoviesViewRank": "/view"
|
||||
},
|
||||
"Series": {
|
||||
|
||||
Reference in New Issue
Block a user