-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
52 lines (45 loc) · 3.4 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import views
from django.conf import settings
from django.conf.urls import url, patterns
from django.conf.urls.static import static
__author__ = 'Miguel'
urlpatterns = patterns('',
url(r'^login/', views.user_login, name='login'),
url(r'^logout/', views.user_logout, name='logout'),
url(r'^$', views.config_manage, name='config_manage_index'),
url(r'^config/manage/$', views.config_manage, name='config manage'),
url(r'^config/submit/$', views.config_submit, name='config submit'),
url(r'^config/edit/(?P<config_id>\d+)/$', views.config_edit, name='config edit'),
url(r'^config/approve/(?P<config_id>\d+)/$', views.config_approve, name='config approve'),
url(r'^config/release/$', views.config_release, name='config release'),
url(r'^config/delete/(?P<config_id>\d+)/$', views.config_delete, name='config delete'),
url(r'^config/get/(?P<run_name>\S+)/$', views.config_get, name='config_get'),
url(r'^run/demultiplex_file/post/(?P<run_name>\S+)/$',
views.post_demultiplex_file, name='post_demultiplex'),
url(r'^run/get_runs_by_status/(?P<status>\d+)/$', views.get_runs_by_status,
name='get_runs_by_status'),
url(r'^run/set_run_status/(?P<run_name>\S+)/(?P<status>\d+)/$',
views.set_run_status, name='set_run_status'),
url(r'^library/get_library_status/(?P<run_name>\S+)/' +
'(?P<lane_number>\d+)/(?P<bionimbus_id>\d+-\d+)/$',
views.get_library_status, name='get_library_status'),
url(r'^barcode/manage/$', views.barcode_manage, name='barcode manage'),
url(r'^barcode/submit/$', views.barcode_submit, name='barcode submit'),
url(r'^barcode/upload/$', views.barcode_upload, name='barcode upload'),
url(r'^barcode/status/$', views.barcode_status, name='barcode status'),
url(r'^barcode/delete/(?P<barcode_id>\d+)/$', views.barcode_delete, name='barcode delete'),
url(r'^barcode/edit/(?P<barcode_id>\d+)/$', views.barcode_edit, name='barcode edit'),
url(r'^ajax/config/lane/(?P<num_lanes>\d+)/$', views.ajax_config_lane,
name='ajax_config_lane'),
url(r'^ajax/config/library/(?P<start>\d+)/(?P<stop>\d+)/(?P<lane>\d+)/$',
views.ajax_config_library,
name='ajax_config_library'),
url(r'^ajax/config/lane_edit/(?P<num_lanes>\d+)/(?P<config_id>\d+)/$',
views.ajax_config_lane_edit,
name='ajax_config_lane'),
url(r'^ajax/config/library_edit/(?P<lane_id>\d+)/$',
views.ajax_config_library_edit,
name='ajax_config_library'),
url(r'^ajax/bionimbus/project_by_bionimbus_bid/(?P<bionimbus_id>\S+)/$',
views.ajax_bionimbus_project_by_id, name='ajax_bionimbus_project_by_id'),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)