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.

29 lines
1.7 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'^pricing/$', views.pricing, name="hc-pricing"),
  13. url(r'^docs/$', views.docs, name="hc-docs"),
  14. url(r'^about/$', views.about, name="hc-about"),
  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/([\w-]+)/checks/$', views.channel_checks, name="hc-channel-checks"),
  23. url(r'^integrations/([\w-]+)/remove/$', views.remove_channel, name="hc-remove-channel"),
  24. url(r'^integrations/([\w-]+)/verify/([\w-]+)/$',
  25. views.verify_email, name="hc-verify-email"),
  26. ]