from django.urls import path
from django.conf.urls import url

from . import views
from . import rest

urlpatterns = [
	path('', views.overview, name='index'),
	path('index.html', views.overview),
	path('overview.html', views.overview),
	path('details.html', views.details),
	url('attack.html', views.attack),

	# GET
	url('proc_info', rest.handle_proc_info),
	url('list_images', rest.handle_list_images),
	url('classify', rest.handle_classify),

	# POST
	url('start_attack', rest.handle_start_attack),
	url('delete_proc', rest.handle_delete_proc)
]