look & feel

This commit is contained in:
Paul Schneider 2017-02-08 01:44:34 +01:00
commit a29c3ffa0e
43 changed files with 32691 additions and 18 deletions

View file

@ -22,20 +22,18 @@
i=0;
foreach (var act in Model) {
string cls = (i==0) ? "item active":"item";
<div class="@cls" style="background-image: url('@act.Photo'); ">
<div class="@cls" style="background-image: url('@act.Photo'); background-repeat: no-repeat; ">
<!-- <img src="@act.Photo" alt="@act.Name" class="img-responsive" /> -->
<div class="carousel-caption-s" >
<p><em>@act.Name</em><br/>
@act.Description </p>
<p>
@foreach (var form in act.Forms) {
<a class="btn btn-default" asp-controller="FrontOffice" asp-action="@form.Action" asp-route-id="@act.Code">
@form.Title
</a>
}
</p>
</div>
</div>