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