Advertisement
Guest User

Untitled

a guest
Jan 8th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. @model RoosterSysteem.Models.UserInfo
  2. @{
  3. ViewBag.Title = "Mijn gegevens";
  4. }
  5. <h3>@ViewBag.Message</h3>
  6.  
  7. <html>
  8. <body>
  9. <style>
  10. table {
  11. border-spacing: 0;
  12. width: 100%;
  13. border: 1px solid #ddd;
  14. }
  15.  
  16. th, td {
  17. text-align: left;
  18. padding: 17px;
  19. }
  20.  
  21. tr:nth-child(even) {
  22. background-color: #f2f2f2
  23. }
  24. </style>
  25. <table id="myTable">
  26. <tr>
  27. <th>@Html.LabelFor(m => m.FirstName)</th>
  28. <th>@Html.LabelFor(m => m.LastName)</th>
  29. <th>@Html.LabelFor(m => m.MailAddress)</th>
  30. <th>@Html.LabelFor(m => m.Faculty)</th>
  31. <th>@Html.LabelFor(m => m.Module)</th>
  32. <th>@Html.LabelFor(m => m.AvailableHours)</th>
  33. </tr>
  34. <tr>
  35. <td>@Model.FirstName</td>
  36. <td>@Model.LastName</td>
  37. <td>@Model.MailAddress</td>
  38. <td>@Model.Faculty</td>
  39. <td>@Model.Module</td>
  40. <td>@Model.AvailableHours</td>
  41. </tr>
  42. </table>
  43. <input type="submit" onclick="location.href='@Url.Action("EigenGegevensWijzigen", "Home")'" value="Wijzigen" /> <!-- deze knop gaat naar een andere pagina-->
  44. </body>
  45. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement