ASP Classic blog framework - BrainOrdure
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

45 satır
1.3KB

  1. <div class="d-flex align-items-center justify-content-between mb-4">
  2. <div>
  3. <div class="eyebrow mb-2">Section index</div>
  4. <h1 class="page-title h3 mb-1">Categories</h1>
  5. <p class="text-muted mb-0">Browse post categories from ASPBlogBrainOrdure.</p>
  6. </div>
  7. <a class="btn btn-primary" href="<%= CategoryNewUrl() %>">New Category</a>
  8. </div>
  9. <%
  10. Dim categoryIter, categoryItem
  11. Set categoryIter = categories.Iterator()
  12. If categories.Count = 0 Then
  13. %>
  14. <div class="alert alert-secondary">No categories are available yet.</div>
  15. <%
  16. Else
  17. %>
  18. <div class="row gy-3 magazine-list">
  19. <%
  20. Do While categoryIter.HasNext
  21. Set categoryItem = categoryIter.GetNext()
  22. %>
  23. <div class="col-12">
  24. <article class="card shadow-sm">
  25. <div class="card-body">
  26. <h2 class="h5 mb-2">
  27. <a href="<%= CategoryUrl(categoryItem.CategoryID) %>" class="text-decoration-none">
  28. <%= H(categoryItem.Name) %>
  29. </a>
  30. </h2>
  31. <p class="text-muted mb-3"><%= H(categoryItem.Description) %></p>
  32. <a class="btn btn-sm btn-outline-primary" href="<%= CategoryUrl(categoryItem.CategoryID) %>">View</a>
  33. </div>
  34. </article>
  35. </div>
  36. <%
  37. Loop
  38. %>
  39. </div>
  40. <%
  41. End If
  42. %>

Powered by TurnKey Linux.