CPE_learningsite
This repository has no backups
This repository's network speed is throttled to 100KB/sec
Upgrade your account to fix these warnings, or use backups.vc for automated backups
4cd176a439ea516368a5d8827cdf8726027259a6
CPE_learningsite / CPE / CPE.App / CPE.App.Web / Views / Index / index.cshtml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
@using CPE.App.Web.Code @model List<CPE.App.Web.Models.MeetingSessionsDataResult> @{ ViewBag.Title = "Meeting Sessions"; int startYear = 2012; int currentYear = DateTime.Now.Year; int reportYear; if(!int.TryParse(Request.QueryString["year"], out reportYear)) { reportYear = currentYear; } } <script type="text/javascript" src="/static/js/index/index.js"></script> <div class="group"> <h2 class="floatleft">Meeting Sessions</h2> <h2 class="floatleft" style="padding-left: 16px;"> <select id="reportYear"> @for (int i = startYear; i <= currentYear; i++) { <option value="@i" @if(i == reportYear) {@("selected=\"selected\"")}>@i</option> } </select> </h2> <h3 class="floatright">@Html.ActionLink("On Demand Courses", "elucidat", "Index")</h3> <h3 class="floatright"> </h3> <h3 class="floatright">@Html.ActionLink("Webcast Certificate Report", "WebcastCertificateReport", "Index")</h3> </div> <hr/> <table id="meetingSessionsTable" class="display"> <thead> <tr> <th>Meeting</th> <th>Date</th> <th>Start</th> <th>End</th> <th>Total</th> <th>Pause</th> <th>Actual</th> <th>Polls</th> </tr> </thead> <tbody> @foreach (var meetingSession in Model) { <tr> <td class="cell namecell"><a href="/sessiondetails/@meetingSession.MeetingSessionKey">@meetingSession.Name</a></td> <td class="cell datecell">@Extensions.GetLocalDateTime(meetingSession.StartDate.Value).ToString("MM/dd/yyyy")</td> <td class="cell datecell">@Extensions.GetLocalDateTime(meetingSession.StartDate.Value).ToString("hh:mm tt")</td> <td class="cell datecell">@Extensions.GetLocalDateTime(meetingSession.EndDate.Value).ToString("hh:mm tt")</td> <td class="cell numbercell">@meetingSession.TotalSessionTime.GetValueOrDefault()</td> <td class="cell numbercell">@meetingSession.TotalSessionPauseTime.GetValueOrDefault()</td> <td class="cell numbercell">@meetingSession.ActualSessionTime.GetValueOrDefault()</td> <td class="cell numbercell">@meetingSession.SessionHeartbeatCount</td> </tr> } </tbody> </table> |
Commits for CPE_learningsiteCPE/CPE.App/CPE.App.Web/Views/Index/index.cshtml
Revision | Author | Commited | Message |
---|---|---|---|
4cd176 ... | v.shishlov | Fri 27 Aug, 2021 14:33:17 +0000 | initial commit |