Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / urls.py @ 6d7b9bc4

History | View | Annotate | Download (2 kB)

1 a5bc3755 Vangelis Koukis
# Copyright 2011 GRNET S.A. All rights reserved.
2 faf5ddde Kostas Papadimitriou
#
3 a5bc3755 Vangelis Koukis
# Redistribution and use in source and binary forms, with or
4 a5bc3755 Vangelis Koukis
# without modification, are permitted provided that the following
5 a5bc3755 Vangelis Koukis
# conditions are met:
6 faf5ddde Kostas Papadimitriou
#
7 a5bc3755 Vangelis Koukis
#   1. Redistributions of source code must retain the above
8 a5bc3755 Vangelis Koukis
#      copyright notice, this list of conditions and the following
9 a5bc3755 Vangelis Koukis
#      disclaimer.
10 faf5ddde Kostas Papadimitriou
#
11 a5bc3755 Vangelis Koukis
#   2. Redistributions in binary form must reproduce the above
12 a5bc3755 Vangelis Koukis
#      copyright notice, this list of conditions and the following
13 a5bc3755 Vangelis Koukis
#      disclaimer in the documentation and/or other materials
14 a5bc3755 Vangelis Koukis
#      provided with the distribution.
15 faf5ddde Kostas Papadimitriou
#
16 a5bc3755 Vangelis Koukis
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 a5bc3755 Vangelis Koukis
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 a5bc3755 Vangelis Koukis
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 a5bc3755 Vangelis Koukis
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 a5bc3755 Vangelis Koukis
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 a5bc3755 Vangelis Koukis
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 a5bc3755 Vangelis Koukis
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 a5bc3755 Vangelis Koukis
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 a5bc3755 Vangelis Koukis
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 a5bc3755 Vangelis Koukis
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 a5bc3755 Vangelis Koukis
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 a5bc3755 Vangelis Koukis
# POSSIBILITY OF SUCH DAMAGE.
28 faf5ddde Kostas Papadimitriou
#
29 a5bc3755 Vangelis Koukis
# The views and conclusions contained in the software and
30 a5bc3755 Vangelis Koukis
# documentation are those of the authors and should not be
31 a5bc3755 Vangelis Koukis
# interpreted as representing official policies, either expressed
32 a5bc3755 Vangelis Koukis
# or implied, of GRNET S.A.
33 faf5ddde Kostas Papadimitriou
#
34 cc7c5902 Dimitris Moraitis
from django.conf.urls.defaults import *
35 8d08f18a Kostas Papadimitriou
from django.conf import settings
36 cc7c5902 Dimitris Moraitis
37 4691814d Ilias Tsitsimpis
urlpatterns = patterns(
38 4691814d Ilias Tsitsimpis
    '',
39 d194e869 Kostas Papadimitriou
    url(r'^$', 'synnefo.ui.views.home', name='ui_index'),
40 0c2166b9 Kostas Papadimitriou
    url(r'^machines/console$', 'synnefo.ui.views.machines_console',
41 0c2166b9 Kostas Papadimitriou
        name='ui_machines_console'),
42 0c2166b9 Kostas Papadimitriou
    url(r'^machines/connect$', 'synnefo.ui.views.machines_connect',
43 0c2166b9 Kostas Papadimitriou
        name='ui_machines_connect'),
44 adbf7980 Kostas Papadimitriou
)
45 adbf7980 Kostas Papadimitriou
46 8d08f18a Kostas Papadimitriou
if settings.DEBUG or settings.TEST:
47 4691814d Ilias Tsitsimpis
    urlpatterns += patterns(
48 4691814d Ilias Tsitsimpis
        '', url(r'^jstests$', 'synnefo.ui.views.js_tests', name='js_tests'),)