This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad0ad1f
commit 62cafc2
Showing
6 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@inject WilderBlog.Services.DataProviders.CalendarProvider appearances | ||
@{ | ||
ViewBag.Title = $"Upcoming Events - Shawn Wildermuth"; | ||
ViewBag.PageName = "Upcoming Events"; | ||
ViewBag.PageImage = "/img/headers/code.jpg"; | ||
} | ||
<div class="row"> | ||
<div class="col-lg-8 offset-lg-2"> | ||
@foreach (var ap in appearances.Get().Where(e => e.EventDate > DateTime.Today)) | ||
{ | ||
<div style="min-height: 100px;"> | ||
@if (!string.IsNullOrWhiteSpace(ap.Logo)) | ||
{ | ||
<a href="@ap.Link"><img src="@ap.Logo" alt="@ap.EventName" class="pull-right img-fluid" style="max-height: 100px;max-width: 200px;" /></a> | ||
} | ||
<h3><a href="@ap.Link" target="_blank">@ap.EventName</a></h3> | ||
<div>@ap.Location - @ap.FormattedDate</div> | ||
@if (!string.IsNullOrWhiteSpace(ap.Note)) | ||
{ | ||
<div class="muted">@ap.Note</div> | ||
} | ||
</div> <hr class="hr" /> | ||
} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters