From 709d3b6eed72486b2cff936aa2ff60a43b76f51d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 21 Feb 2017 12:02:12 +0100 Subject: [PATCH] banner --- Yavsc/Settings/SiteSettings.cs | 2 ++ Yavsc/Startup/Startup.cs | 1 + Yavsc/Views/Shared/_Layout.cshtml | 15 ++++++++------- Yavsc/appsettings.json | 3 ++- Yavsc/wwwroot/images/it/floss-license-dark.png | Bin 0 -> 110798 bytes 5 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 Yavsc/wwwroot/images/it/floss-license-dark.png diff --git a/Yavsc/Settings/SiteSettings.cs b/Yavsc/Settings/SiteSettings.cs index b360fa63..c677de7a 100644 --- a/Yavsc/Settings/SiteSettings.cs +++ b/Yavsc/Settings/SiteSettings.cs @@ -4,6 +4,8 @@ namespace Yavsc { public string Title { get; set; } public string Slogan { get; set; } + + public string Banner { get; set; } /// /// Conceptually, /// This authorisation server only has this present site as unique audience. diff --git a/Yavsc/Startup/Startup.cs b/Yavsc/Startup/Startup.cs index 419c7b20..39f587c9 100755 --- a/Yavsc/Startup/Startup.cs +++ b/Yavsc/Startup/Startup.cs @@ -346,6 +346,7 @@ namespace Yavsc name: "default", template: "{controller=Home}/{action=Index}/{id?}"); }); + } // Entry point for the application. diff --git a/Yavsc/Views/Shared/_Layout.cshtml b/Yavsc/Views/Shared/_Layout.cshtml index 113ed354..20412951 100755 --- a/Yavsc/Views/Shared/_Layout.cshtml +++ b/Yavsc/Views/Shared/_Layout.cshtml @@ -5,6 +5,7 @@ @ViewData["Title"] - @SiteSettings.Value.Title + @@ -32,13 +33,18 @@ + @RenderSection("header", required: false) @if (ViewData ["Notify"] != null) { foreach (Notification n in ViewData ["Notify"] as IEnumerable) { @@ -75,12 +81,7 @@

Site de développement

- - Get up. - - - Get up. - +@SiteSettings.Value.Slogan