diff --git a/Webzine.Entity/Style.cs b/Webzine.Entity/Style.cs index 11c6f32..ed1cd12 100644 --- a/Webzine.Entity/Style.cs +++ b/Webzine.Entity/Style.cs @@ -18,5 +18,6 @@ namespace Webzine.Entity [Display(Name = "Libellé")] public string Libelle { get; set; } + public List Titres { get; set; } = new List(); } } diff --git a/Webzine.Entity/Titre.cs b/Webzine.Entity/Titre.cs index 2fd9671..4b00924 100644 --- a/Webzine.Entity/Titre.cs +++ b/Webzine.Entity/Titre.cs @@ -62,6 +62,6 @@ namespace Webzine.Entity public string Album { get; set; } public List Commentaires { get; set; } - + public List \ No newline at end of file diff --git a/Webzine.WebApplication/Views/Titre2/_Form.cshtml b/Webzine.WebApplication/Views/Titre2/_Form.cshtml new file mode 100644 index 0000000..e25215b --- /dev/null +++ b/Webzine.WebApplication/Views/Titre2/_Form.cshtml @@ -0,0 +1,135 @@ +@model Webzine.WebApplication.ViewModels.Admin.Titre.AdminTitreForm + +
+ +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+ + +
+
+ + seconds +
+
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + +
+ +
+
+ @foreach (var style in Model.AllStyles) + { +
+ + + +
+ } +
+
+
+ + +
+ +
+ @Model.NbLectures +
+
+
+ +
+ @Model.NbLikes +
+
+ + +
+
+ + + +
+
+ +
+
+ + Retour à l'administration des titres + +
\ No newline at end of file diff --git a/Webzine.WebApplication/wwwroot/css/app.css b/Webzine.WebApplication/wwwroot/css/app.css index e69de29..3ca026d 100644 --- a/Webzine.WebApplication/wwwroot/css/app.css +++ b/Webzine.WebApplication/wwwroot/css/app.css @@ -0,0 +1,3 @@ +a { + text-decoration: none !important; +} \ No newline at end of file