Revision a5bc3755
b/ui/__init__.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
b/ui/i18n.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
1 | 34 |
from django import http |
2 | 35 |
from django.conf import settings |
3 | 36 |
from django.utils.translation import activate, to_locale |
b/ui/models.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
1 | 34 |
from django.db import models |
2 | 35 |
|
3 | 36 |
# Create your models here. |
b/ui/static/synnefo.js | ||
---|---|---|
1 |
// |
|
2 |
// Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
// |
|
4 |
// Redistribution and use in source and binary forms, with or |
|
5 |
// without modification, are permitted provided that the following |
|
6 |
// conditions are met: |
|
7 |
// |
|
8 |
// 1. Redistributions of source code must retain the above |
|
9 |
// copyright notice, this list of conditions and the following |
|
10 |
// disclaimer. |
|
11 |
// |
|
12 |
// 2. Redistributions in binary form must reproduce the above |
|
13 |
// copyright notice, this list of conditions and the following |
|
14 |
// disclaimer in the documentation and/or other materials |
|
15 |
// provided with the distribution. |
|
16 |
// |
|
17 |
// THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
// USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
// AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
// POSSIBILITY OF SUCH DAMAGE. |
|
29 |
// |
|
30 |
// The views and conclusions contained in the software and |
|
31 |
// documentation are those of the authors and should not be |
|
32 |
// interpreted as representing official policies, either expressed |
|
33 |
// or implied, of GRNET S.A. |
|
34 |
// |
|
1 | 35 |
var API_URL = "/api/v1.1"; |
2 | 36 |
var changes_since = 0, deferred = 0, update_request = false, load_request = false, pending_actions = []; |
3 | 37 |
var flavors = [], images = [], servers = [], disks = [], cpus = [], ram = []; |
b/ui/templates/apps.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
<div id="apps" class="separator"></div> |
2 | 37 |
|
3 | 38 |
apps |
b/ui/templates/desktops.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
<div id="desktops" class="separator"></div> |
2 | 37 |
|
3 | 38 |
desktops |
b/ui/templates/disks.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
<div id="disks" class="separator"></div> |
2 | 37 |
|
3 | 38 |
The disks |
b/ui/templates/files.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
<div id="files" class="separator"></div> |
2 | 37 |
|
3 | 38 |
files |
b/ui/templates/footer.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<div id='footer'> |
b/ui/templates/home.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
<!DOCTYPE html> |
3 | 38 |
<head> |
b/ui/templates/images.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
<div id="images" class="separator"></div> |
2 | 37 |
|
3 | 38 |
images |
b/ui/templates/machines.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<div id="machines" class="separator"></div> |
b/ui/templates/machines_console.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<html> |
b/ui/templates/machines_icon.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<!-- the standard view --> |
b/ui/templates/machines_list.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<div id="machinesview-list" class="list"> |
b/ui/templates/machines_single.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<!-- the single view --> |
b/ui/templates/networks.html | ||
---|---|---|
1 |
<!-- |
|
2 |
Copyright 2011 GRNET S.A. All rights reserved. |
|
3 |
|
|
4 |
Redistribution and use in source and binary forms, with or |
|
5 |
without modification, are permitted provided that the following |
|
6 |
conditions are met: |
|
7 |
|
|
8 |
1. Redistributions of source code must retain the above |
|
9 |
copyright notice, this list of conditions and the following |
|
10 |
disclaimer. |
|
11 |
|
|
12 |
2. Redistributions in binary form must reproduce the above |
|
13 |
copyright notice, this list of conditions and the following |
|
14 |
disclaimer in the documentation and/or other materials |
|
15 |
provided with the distribution. |
|
16 |
|
|
17 |
THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
18 |
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
19 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
20 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
21 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
22 |
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
23 |
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
24 |
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
25 |
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
26 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
27 |
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
|
|
30 |
The views and conclusions contained in the software and |
|
31 |
documentation are those of the authors and should not be |
|
32 |
interpreted as representing official policies, either expressed |
|
33 |
or implied, of GRNET S.A. |
|
34 |
--> |
|
35 |
|
|
1 | 36 |
{% load i18n %} |
2 | 37 |
|
3 | 38 |
<!-- the create button --> |
b/ui/tests.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
1 | 34 |
from django.test import TestCase |
2 | 35 |
from selenium import selenium |
3 | 36 |
from multiprocessing import Process |
b/ui/urls.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
1 | 34 |
from django.conf.urls.defaults import * |
2 | 35 |
import os |
3 | 36 |
|
b/ui/views.py | ||
---|---|---|
1 |
# Copyright 2011 GRNET S.A. All rights reserved. |
|
2 |
# |
|
3 |
# Redistribution and use in source and binary forms, with or |
|
4 |
# without modification, are permitted provided that the following |
|
5 |
# conditions are met: |
|
6 |
# |
|
7 |
# 1. Redistributions of source code must retain the above |
|
8 |
# copyright notice, this list of conditions and the following |
|
9 |
# disclaimer. |
|
10 |
# |
|
11 |
# 2. Redistributions in binary form must reproduce the above |
|
12 |
# copyright notice, this list of conditions and the following |
|
13 |
# disclaimer in the documentation and/or other materials |
|
14 |
# provided with the distribution. |
|
15 |
# |
|
16 |
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS |
|
17 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
18 |
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
19 |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR |
|
20 |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
21 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
22 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
23 |
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
24 |
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
25 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
26 |
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
27 |
# POSSIBILITY OF SUCH DAMAGE. |
|
28 |
# |
|
29 |
# The views and conclusions contained in the software and |
|
30 |
# documentation are those of the authors and should not be |
|
31 |
# interpreted as representing official policies, either expressed |
|
32 |
# or implied, of GRNET S.A. |
|
33 |
# |
|
1 | 34 |
import os |
2 | 35 |
from django.conf import settings |
3 | 36 |
from django.utils.translation import gettext_lazy as _ |
Also available in: Unified diff