Added start of inventory summary view and cleaned up inventory template location
[htsworkflow.git] / htsworkflow / frontend / inventory / urls.py
index 844208ef41b0c8b39888ef9cb063fc7655e21ca3..0d7da6c21699c20341f07b2a4967200bcb5ba5a4 100644 (file)
@@ -1,5 +1,12 @@
 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'),
+     (r'^$', 'htsworkflow.frontend.inventory.views.index')
     )