Updated inventory to support display of inventory items based on uuid/barcode_id...
[htsworkflow.git] / htsworkflow / frontend / inventory / urls.py
index 844208ef41b0c8b39888ef9cb063fc7655e21ca3..49ede616e44a0ecce7f25ca5a4242cb4d9e48589 100644 (file)
@@ -1,5 +1,14 @@
 from django.conf.urls.defaults import *
 
 urlpatterns = patterns('',
-     (r'^lts/link/(?P<flowcell>.+)/(?P<serial>.+)/$', 'htsworkflow.frontend.inventory.views.link_flowcell_and_device'),                                                                                                 
+    # DATA
+     (r'^data/items/$', 'htsworkflow.frontend.inventory.views.data_items'),
+    # REMOTE LINKING
+     (r'^lts/link/(?P<flowcell>.+)/(?P<serial>.+)/$', 'htsworkflow.frontend.inventory.views.link_flowcell_and_device'),
+     
+    # INDEX
+    (r'^(?P<uuid>[a-fA-F0-9]{32})/$', 'htsworkflow.frontend.inventory.views.item_summary_by_uuid'),
+    (r'^(?P<uuid>[a-fA-F0-9]{32})/print/$', 'htsworkflow.frontend.inventory.views.item_print'),
+    (r'^(?P<barcode_id>.+)/$', 'htsworkflow.frontend.inventory.views.item_summary_by_barcode'),
+    (r'^$', 'htsworkflow.frontend.inventory.views.index')
     )