The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AuthToken.cshtml 879B

1234567891011121314151617
  1. @model Teknik.Areas.Users.ViewModels.AuthTokenViewModel
  2. <li class="list-group-item" id="authToken_@Model.AuthTokenId">
  3. <div class="btn-group btn-group-sm pull-right" role="group" aria-label="...">
  4. <button type="button" class="btn btn-default" onclick="editAuthToken(@Model.AuthTokenId)">Edit</button>
  5. <button type="button" class="btn btn-danger text-danger" onclick="deleteAuthToken(@Model.AuthTokenId)">Delete</button>
  6. </div>
  7. <h4 class="list-group-item-heading" id="authTokenName_@Model.AuthTokenId">@Model.Name</h4>
  8. @if (Model.LastDateUsed.HasValue)
  9. {
  10. <p class="list-group-item-text">Last Used on <i><time datetime="@Model.LastDateUsed.Value.ToString("s")">@Model.LastDateUsed.Value.ToString("MMMM dd, yyyy hh:mm tt")</time></i></p>
  11. }
  12. else
  13. {
  14. <p class="list-group-item-text">Last Used <i>Never</i></p>
  15. }
  16. </li>