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.

31 lines
1.9 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-]+)/remove/$', views.remove_check, name="hc-remove-check"),
  10. url(r'^checks/([\w-]+)/log/$', views.log, name="hc-log"),
  11. url(r'^docs/$', views.docs, name="hc-docs"),
  12. url(r'^docs/api/$', views.docs_api, name="hc-docs-api"),
  13. url(r'^about/$', views.about, name="hc-about"),
  14. url(r'^privacy/$', views.privacy, name="hc-privacy"),
  15. url(r'^integrations/$', views.channels, name="hc-channels"),
  16. url(r'^integrations/add/$', views.add_channel, name="hc-add-channel"),
  17. url(r'^integrations/add_email/$', views.add_email, name="hc-add-email"),
  18. url(r'^integrations/add_webhook/$', views.add_webhook, name="hc-add-webhook"),
  19. url(r'^integrations/add_pd/$', views.add_pd, name="hc-add-pd"),
  20. url(r'^integrations/add_slack/$', views.add_slack, name="hc-add-slack"),
  21. url(r'^integrations/add_hipchat/$', views.add_hipchat, name="hc-add-hipchat"),
  22. url(r'^integrations/add_pushover/$', views.add_pushover, name="hc-add-pushover"),
  23. url(r'^integrations/add_victorops/$', views.add_victorops, name="hc-add-victorops"),
  24. url(r'^integrations/([\w-]+)/checks/$', views.channel_checks, name="hc-channel-checks"),
  25. url(r'^integrations/([\w-]+)/remove/$', views.remove_channel, name="hc-remove-channel"),
  26. url(r'^integrations/([\w-]+)/verify/([\w-]+)/$',
  27. views.verify_email, name="hc-verify-email"),
  28. ]