# Path: job_runner/apps/job_runner/views.py
# class DashboardView(TemplateView):
#     template_name = 'job_runner/index.html'
# 
#     def get_context_data(self, **kwargs):
#         context_data = super(DashboardView, self).get_context_data(**kwargs)
#         context_data['ws_server'] = settings.JOB_RUNNER_WS_SERVER
#         return context_data


from django.conf.urls.defaults import patterns, url
from django.contrib.auth.decorators import login_required
from job_runner.apps.job_runner.views import DashboardView
        name='project'
    ),
    url(
        r'^project/(?P<project_id>\d+)/runs/$',
        view,
        name='runs'
    ),
    url(
        r'^project/(?P<project_id>\d+)/runs/(?P<run_id>\d+)/$',
        view,
        name='runs_run'
    ),
    url(
        r'^project/(?P<project_id>\d+)/jobs/$',
        view,
        name='jobs'
    ),
    url(
        r'^project/(?P<project_id>\d+)/jobs/(?P<job_id>\d+)/$',
        view,
        name='job'
    ),
    url(
        (
            r'^project/(?P<project_id>\d+)/jobs/'
            r'(?P<job_id>\d+)/runs/(?P<run_id>\d+)/$'
        ),
        view,
        name='job_run'
    ),

# Path: job_runner/apps/job_runner/views.py
# class DashboardView(TemplateView):
#     template_name = 'job_runner/index.html'
# 
#     def get_context_data(self, **kwargs):
#         context_data = super(DashboardView, self).get_context_data(**kwargs)
#         context_data['ws_server'] = settings.JOB_RUNNER_WS_SERVER
#         return context_data


# Path: job_runner/apps/job_runner/urls.py
from django.conf.urls.defaults import patterns, url
from django.contrib.auth.decorators import login_required
from job_runner.apps.job_runner.views import DashboardView

        name='project'
    ),
    url(
        r'^project/(?P<project_id>\d+)/runs/$',
        view,
        name='runs'
    ),
    url(
        r'^project/(?P<project_id>\d+)/runs/(?P<run_id>\d+)/$',
        view,
        name='runs_run'
    ),
    url(
        r'^project/(?P<project_id>\d+)/jobs/$',
        view,
        name='jobs'
    ),
    url(
        r'^project/(?P<project_id>\d+)/jobs/(?P<job_id>\d+)/$',
        view,
        name='job'
    ),
    url(
        (
            r'^project/(?P<project_id>\d+)/jobs/'
            r'(?P<job_id>\d+)/runs/(?P<run_id>\d+)/$'
        ),
        view,
        name='job_run'
    ),

    url(