use the logo when available

vnext
Paul Schneider 5 years ago
parent afb5554425
commit 2d0342cc79
4 changed files with 6 additions and 10 deletions

@ -9,7 +9,7 @@ namespace Yavsc
public string StyleSheet { get; set; }
public string FavIcon { get; set; }
public string Icon { get; set; }
public string Logo { get; set; }
/// <summary>
/// Conceptually,
/// This authorisation server only has this present site as unique audience.

@ -85,12 +85,12 @@
@section ctxmenu {
@if (ViewData["Announces"]!=null) {
<li><a asp-controller="HairCutCommand" class="badge" >
<img src="@SiteSettings.Value.Icon" alt="basket" title="Annonces @SiteSettings.Value.Title" /></a></li>
<li><a asp-controller="Announces" class="badge" >
<img src="@SiteSettings.Value.Logo" alt="announces" title="Annonces @SiteSettings.Value.Title" /></a></li>
}
@if ((int)ViewData["HaircutCommandCount"]>0) {
<li><a asp-controller="HairCutCommand" class="badge" >
<img src="~/images/shoppingcart.svg" alt="basket" title="Vos commandes en coiffure à domicile" />(@ViewData["HaircutCommandCount"])</a></li>
<img src="~/images/shoppingcart.svg" alt="basket" title="Vos bons de commande" />(@ViewData["HaircutCommandCount"])</a></li>
}
}

@ -65,7 +65,8 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a asp-controller="Home" asp-action="Index" asp-route-id="" class="navbar-brand">@SiteSettings.Value.Title</a>
<a asp-controller="Home" asp-action="Index" asp-route-id="" class="navbar-brand">
<img src="@SiteSettings.Value.Logo" alt="@SiteSettings.Value.Title"/></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">

@ -1,5 +0,0 @@
nav { background: url(/images/it/neworleans-louisiana-bywater-1973969-o.jpg);
background-attachment: local;
background-size: cover;
background-repeat: no-repeat;
}
Loading…