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.

32 lines
2.0 KiB

9 years ago
  1. from django.conf.urls import url
  2. from hc.front import views
  3. urlpatterns = [
  4. url(r'^$', views.index, name="hc-index"),
  5. url(r'^checks/$', views.my_checks, name="hc-checks"),
  6. url(r'^checks/add/$', views.add_check, name="hc-add-check"),
  7. url(r'^checks/([\w-]+)/name/$', views.update_name, name="hc-update-name"),
  8. url(r'^checks/([\w-]+)/timeout/$', views.update_timeout, name="hc-update-timeout"),
  9. url(r'^checks/([\w-]+)/email/$', views.email_preview),
  10. url(r'^checks/([\w-]+)/remove/$', views.remove_check, name="hc-remove-check"),
  11. url(r'^checks/([\w-]+)/log/$', views.log, name="hc-log"),
  12. url(r'^docs/$', views.docs, name="hc-docs"),
  13. url(r'^docs/api/$', views.docs_api, name="hc-docs-api"),
  14. url(r'^about/$', views.about, name="hc-about"),
  15. url(r'^privacy/$', views.privacy, name="hc-privacy"),
  16. url(r'^integrations/$', views.channels, name="hc-channels"),
  17. url(r'^integrations/add/$', views.add_channel, name="hc-add-channel"),
  18. url(r'^integrations/add_email/$', views.add_email, name="hc-add-email"),
  19. url(r'^integrations/add_webhook/$', views.add_webhook, name="hc-add-webhook"),
  20. url(r'^integrations/add_pd/$', views.add_pd, name="hc-add-pd"),
  21. url(r'^integrations/add_slack/$', views.add_slack, name="hc-add-slack"),
  22. url(r'^integrations/add_hipchat/$', views.add_hipchat, name="hc-add-hipchat"),
  23. url(r'^integrations/add_pushover/$', views.add_pushover, name="hc-add-pushover"),
  24. url(r'^integrations/add_victorops/$', views.add_victorops, name="hc-add-victorops"),
  25. url(r'^integrations/([\w-]+)/checks/$', views.channel_checks, name="hc-channel-checks"),
  26. url(r'^integrations/([\w-]+)/remove/$', views.remove_channel, name="hc-remove-channel"),
  27. url(r'^integrations/([\w-]+)/verify/([\w-]+)/$',
  28. views.verify_email, name="hc-verify-email"),
  29. ]