Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

48 rindas
1.2KB

  1. <%
  2. Class HomeController_Class
  3. Private m_useLayout
  4. Private m_title
  5. Private Sub Class_Initialize()
  6. m_useLayout = True
  7. m_title = "Home"
  8. End Sub
  9. Public Property Get useLayout
  10. useLayout = m_useLayout
  11. End Property
  12. Public Property Let useLayout(v)
  13. m_useLayout = v
  14. End Property
  15. Public Property Get Title
  16. Title = m_title
  17. End Property
  18. Public Property Let Title(v)
  19. m_title = v
  20. End Property
  21. Public Sub index()
  22. If Not KeycloakRequireLogin("") Then Exit Sub
  23. Dim totalBoards : totalBoards = boards_Repository().Count()
  24. Dim totalCards : totalCards = cards_Repository().Count()
  25. Dim boardSummaries : Set boardSummaries = boards_Repository().GetBoardSummaries()
  26. %>
  27. <!--#include file="../views/Home/index.asp" -->
  28. <%
  29. Set boardSummaries = Nothing
  30. End Sub
  31. End Class
  32. Dim HomeController_Class__Singleton
  33. Function HomeController()
  34. If IsEmpty(HomeController_Class__Singleton) Then
  35. Set HomeController_Class__Singleton = New HomeController_Class
  36. End If
  37. Set HomeController = HomeController_Class__Singleton
  38. End Function
  39. %>

Powered by TurnKey Linux.