initial commit
[CPE_learningsite] / CPE / CPE.App / CPE.App.Web / Views / Index / certificatereport.cshtml
1 @model List<CPE.App.Web.Models.CertficateDataResult>
2
3 @{
4     ViewBag.Title = "certificatereport";
5 }
6 <script type="text/javascript" src="/static/js/index/certificatereport.js"></script>
7 <h2>On-Demand Certificate Report</h2>
8 <h2 class="floatleft">Meeting Sessions</h2>
9 <h3 class="floatright"><a class="backlink" href="/Index/elucidat">Back to Courses</a></h3>
10 <hr/>
11 <table id="certificateReportTable" class="display">
12     <thead>
13         <tr>
14             <th>Name</th>
15             <th>Course</th>
16             <th>Purchase Date</th>
17             <th>Certificate Date</th>
18             <th>Overridden?</th>
19         </tr>
20     </thead>
21     <tbody>
22         @foreach (var earnedCert in Model)
23         {
24             <tr>
25                 <td class="cell">@earnedCert.Name</td>
26                 <td class="cell namecell" style="white-space:normal;">@earnedCert.Course</td>
27                 <td class="cell datecell">@earnedCert.pDate.ToShortDateString()</td>
28                 <td class="cell datecell">@earnedCert.cDate</td>
29                 <td class="cell">@if ((bool) earnedCert.isForced){<text>Yes</text>}</td>
30             </tr>
31         }
32     </tbody>
33 </table>
34