Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: frontend/croschart/urls.py

Issue 6821082: Integrate dynamic charts into autotest frontend. (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Add license. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frontend/croschart/templates/plot_unavailable.html ('k') | frontend/croschart/views.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frontend/croschart/urls.py
diff --git a/frontend/croschart/urls.py b/frontend/croschart/urls.py
new file mode 100644
index 0000000000000000000000000000000000000000..c3064b665d6c395b9d9b64a779f4312bf13464ef
--- /dev/null
+++ b/frontend/croschart/urls.py
@@ -0,0 +1,40 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from django.conf.urls import defaults
+import common
+
+urlpatterns = defaults.patterns(
+ '',
+ (r'^(?P<boards>[\w\-&]*)/'
+ '(?P<netbook>[\w\-]*)/'
+ '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
+ '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
+ '(?P<test_name>[\w\-\.]+)/'
+ '(?P<test_key>[\w\-\.]+)/'
+ '(?P<width>[\d]+)/'
+ '(?P<height>[\d]+)/$',
+ 'frontend.croschart.views.PlotChartFromBuilds'),
+ (r'^(?P<boards>[\w\-&]+)/'
+ '(?P<netbook>[\w\-]+)/'
+ '(?P<test_name>[\w\-\.]+)/'
+ '(?P<test_key>[\w\-\.]+)/'
+ '(?P<width>[\d]+)/'
+ '(?P<height>[\d]+)/$',
+ 'frontend.croschart.views.PlotChartInterval'),
+ (r'^charts/'
+ '(?P<boards>[\w\-&]+)/'
+ '(?P<netbook>[\w\-]+)/'
+ '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
+ '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
+ '(?P<test_key_names>[\w\-,&\.]+)/'
+ '(?P<width>[\d]+)/'
+ '(?P<height>[\d]+)/$',
+ 'frontend.croschart.views.FrameChartsTestsKeys'),
+ (r'^charts/'
+ '(?P<boards>[\w\-&]+)/'
+ '(?P<netbook>[\w\-]+)/'
+ '(?P<width>[\d]+)/'
+ '(?P<height>[\d]+)/$',
+ 'frontend.croschart.views.FrameChartsBoardNetbook'))
« no previous file with comments | « frontend/croschart/templates/plot_unavailable.html ('k') | frontend/croschart/views.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698