# Path: privacyscore/frontend/views.py
# def index(request: HttpRequest) -> HttpResponse:
# def browse(request: HttpRequest) -> HttpResponse:
# def contact(request: HttpRequest) -> HttpResponse:
# def info(request: HttpRequest) -> HttpResponse:
# def legal(request: HttpRequest) -> HttpResponse:
# def scan_list(request: HttpRequest) -> HttpResponse:
# def scan_list_created(request: HttpRequest, token: str) -> HttpResponse:
# def scan_site_created(request: HttpRequest, site_id: int) -> HttpResponse:
# def scan_scan_list(request: HttpRequest, scan_list_id: int) -> HttpResponse:
# def login(request: HttpRequest) -> HttpResponse:
# def lookup(request: HttpRequest) -> HttpResponse:
# def scan(request: HttpRequest) -> HttpResponse:
# def view_scan_list(request: HttpRequest, scan_list_id: int, format: str = 'html'):
# def render_scan_list_cachable(request: HttpRequest, scan_list, format: str = 'html'):
# def _enumerate_sites(sites: Iterable, start: int = 1) -> Iterable:
# def _get_column_index(param, scan_list):
# def _move_element(lst, el, direction):
# def _get_sorting_fn(sites, column_index):
#     def _sort_integer(value):
#     def _sort_float(value):
#     def _sort_str(value):
# def _calculate_ratings_count(sites):
# def _calculate_failures_count(sites):
# def site_screenshot(request: HttpRequest, site_id: int) -> HttpResponse:
# def view_site(request: HttpRequest, site_id: int) -> HttpResponse:
# def scan_site(request: HttpRequest, site_id: Union[int, None] = None) -> HttpResponse:
# def scan_list_csv(request: HttpRequest, scan_list_id: int) -> HttpResponse:
# def site_result_json(request: HttpRequest, site_id: int) -> HttpResponse:
# def third_parties(request: HttpRequest) -> HttpResponse:
# def user(request: HttpRequest) -> HttpResponse:
# def checks(request: HttpRequest):
# def roadmap(request: HttpRequest):
# def code(request: HttpRequest):
# def team(request: HttpRequest):
# def privacypolicy(request: HttpRequest):
# def faq(request: HttpRequest):
# def imprint(request: HttpRequest):
#     class ConfigurationForm(forms.Form):


from django.contrib.auth import views as auth_views
from django.conf.urls import url
from privacyscore.frontend import views
app_name = 'frontend'
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^browse/$', views.browse, name='browse'),
    url(r'^contact/$', views.contact, name='contact'),
    url(r'^info/$', views.info, name='info'),
    url(r'^legal/$', views.legal, name='legal'),
    url(r'^list/create/$', views.scan_list, name='scan_list'),
    url(r'^list/(?P<scan_list_id>\d+)/$', views.view_scan_list, {'format': 'html'},
        name='view_scan_list'),
    url(r'^list/(?P<scan_list_id>\d+)/result\.json$', views.view_scan_list, {'format': 'json'},
        name='view_scan_list_json'),
    url(r'^list/(?P<scan_list_id>\d+)/result\.csv$', views.view_scan_list, {'format': 'csv'},
        name='view_scan_list_csv'),
    url(r'^list/(?P<scan_list_id>\d+)/scan/$', views.scan_scan_list,
        name='scan_scan_list'),
    url(r'^list/(?P<token>\w+)/created/$', views.scan_list_created, name='scan_list_created'),
    url(r'^list/(?P<scan_list_id>\w+)\.csv$', views.scan_list_csv, name='scan_list_csv'),
    url(r'^site/(?P<site_id>\d+)/$', views.view_site, name='view_site'),
    url(r'^site/(?P<site_id>\d+)/created/$', views.scan_site_created, name='scan_site_created'),
    url(r'^site/(?P<site_id>\d+)/screenshot/$', views.site_screenshot, name='site_screenshot'),
    url(r'^site/(?P<site_id>\d+)/json/$', views.site_result_json, name='site_result_json'),
    url(r'^site/scan/$', views.scan_site, name='scan_site'),
    url(r'^site/(?P<site_id>\d+)/scan/$', views.scan_site, name='scan_site'),
    url(r'^lookup/$', views.lookup, name='lookup'),
    url(r'^scan/$', views.scan, name='scan'),
    url(r'^third_parties/$', views.third_parties, name='third_parties'),
    url(r'^login/$', auth_views.LoginView.as_view(template_name='frontend/login.html'), name='login'),
    url(r'^logout/$', auth_views.LogoutView.as_view(), name='logout'),
    url(r'^user/$', views.user, name='user'),

# Path: privacyscore/frontend/views.py
# def index(request: HttpRequest) -> HttpResponse:
# def browse(request: HttpRequest) -> HttpResponse:
# def contact(request: HttpRequest) -> HttpResponse:
# def info(request: HttpRequest) -> HttpResponse:
# def legal(request: HttpRequest) -> HttpResponse:
# def scan_list(request: HttpRequest) -> HttpResponse:
# def scan_list_created(request: HttpRequest, token: str) -> HttpResponse:
# def scan_site_created(request: HttpRequest, site_id: int) -> HttpResponse:
# def scan_scan_list(request: HttpRequest, scan_list_id: int) -> HttpResponse:
# def login(request: HttpRequest) -> HttpResponse:
# def lookup(request: HttpRequest) -> HttpResponse:
# def scan(request: HttpRequest) -> HttpResponse:
# def view_scan_list(request: HttpRequest, scan_list_id: int, format: str = 'html'):
# def render_scan_list_cachable(request: HttpRequest, scan_list, format: str = 'html'):
# def _enumerate_sites(sites: Iterable, start: int = 1) -> Iterable:
# def _get_column_index(param, scan_list):
# def _move_element(lst, el, direction):
# def _get_sorting_fn(sites, column_index):
#     def _sort_integer(value):
#     def _sort_float(value):
#     def _sort_str(value):
# def _calculate_ratings_count(sites):
# def _calculate_failures_count(sites):
# def site_screenshot(request: HttpRequest, site_id: int) -> HttpResponse:
# def view_site(request: HttpRequest, site_id: int) -> HttpResponse:
# def scan_site(request: HttpRequest, site_id: Union[int, None] = None) -> HttpResponse:
# def scan_list_csv(request: HttpRequest, scan_list_id: int) -> HttpResponse:
# def site_result_json(request: HttpRequest, site_id: int) -> HttpResponse:
# def third_parties(request: HttpRequest) -> HttpResponse:
# def user(request: HttpRequest) -> HttpResponse:
# def checks(request: HttpRequest):
# def roadmap(request: HttpRequest):
# def code(request: HttpRequest):
# def team(request: HttpRequest):
# def privacypolicy(request: HttpRequest):
# def faq(request: HttpRequest):
# def imprint(request: HttpRequest):
#     class ConfigurationForm(forms.Form):


# Path: privacyscore/frontend/urls.py
from django.contrib.auth import views as auth_views
from django.conf.urls import url
from privacyscore.frontend import views

app_name = 'frontend'
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^browse/$', views.browse, name='browse'),
    url(r'^contact/$', views.contact, name='contact'),
    url(r'^info/$', views.info, name='info'),
    url(r'^legal/$', views.legal, name='legal'),
    url(r'^list/create/$', views.scan_list, name='scan_list'),
    url(r'^list/(?P<scan_list_id>\d+)/$', views.view_scan_list, {'format': 'html'},
        name='view_scan_list'),
    url(r'^list/(?P<scan_list_id>\d+)/result\.json$', views.view_scan_list, {'format': 'json'},
        name='view_scan_list_json'),
    url(r'^list/(?P<scan_list_id>\d+)/result\.csv$', views.view_scan_list, {'format': 'csv'},
        name='view_scan_list_csv'),
    url(r'^list/(?P<scan_list_id>\d+)/scan/$', views.scan_scan_list,
        name='scan_scan_list'),
    url(r'^list/(?P<token>\w+)/created/$', views.scan_list_created, name='scan_list_created'),
    url(r'^list/(?P<scan_list_id>\w+)\.csv$', views.scan_list_csv, name='scan_list_csv'),
    url(r'^site/(?P<site_id>\d+)/$', views.view_site, name='view_site'),
    url(r'^site/(?P<site_id>\d+)/created/$', views.scan_site_created, name='scan_site_created'),
    url(r'^site/(?P<site_id>\d+)/screenshot/$', views.site_screenshot, name='site_screenshot'),
    url(r'^site/(?P<site_id>\d+)/json/$', views.site_result_json, name='site_result_json'),
    url(r'^site/scan/$', views.scan_site, name='scan_site'),
    url(r'^site/(?P<site_id>\d+)/scan/$', views.scan_site, name='scan_site'),
    url(r'^lookup/$', views.lookup, name='lookup'),
    url(r'^scan/$', views.scan, name='scan'),
    url(r'^third_parties/$', views.third_parties, name='third_parties'),
    url(r'^login/$', auth_views.LoginView.as_view(template_name='frontend/login.html'), name='login'),
    url(r'^logout/$', auth_views.LogoutView.as_view(), name='logout'),
    url(r'^user/$', views.user, name='user'),

    url(r'^checks/$', views.checks, name='checks'),