author | Clipperz <info@clipperz.com> | 2013-01-09 14:13:32 (UTC) |
---|---|---|
committer | Clipperz <info@clipperz.com> | 2013-01-09 14:13:32 (UTC) |
commit | 6642b868f781e8e6689db630877a092472ff0f0b (patch) (unidiff) | |
tree | 4a01bd44fbb261cc57c6411c3b750ae975a1f570 /scripts/builder | |
parent | 9741a93a9f5c76827135b43c03b20c0a48f12604 (diff) | |
download | clipperz-6642b868f781e8e6689db630877a092472ff0f0b.zip clipperz-6642b868f781e8e6689db630877a092472ff0f0b.tar.gz clipperz-6642b868f781e8e6689db630877a092472ff0f0b.tar.bz2 |
Fixed name of the exit page for /gamma
-rw-r--r-- | scripts/builder/frontends/gammaBuilder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/builder/frontends/gammaBuilder.py b/scripts/builder/frontends/gammaBuilder.py index 35fa68b..a6ecb7b 100644 --- a/scripts/builder/frontends/gammaBuilder.py +++ b/scripts/builder/frontends/gammaBuilder.py | |||
@@ -3,17 +3,18 @@ import shutil | |||
3 | 3 | ||
4 | class GammaBuilder(FrontendBuilder): | 4 | class GammaBuilder(FrontendBuilder): |
5 | 5 | ||
6 | def name(self): | 6 | def name(self): |
7 | return "/gamma builder" | 7 | return "/gamma builder" |
8 | 8 | ||
9 | def copyStaticResources (self, targetFolder): | 9 | def copyStaticResources (self, targetFolder): |
10 | resourcesToCopy = [ | 10 | resourcesToCopy = [ |
11 | {'folder': 'html', 'source': 'exit_template.html','target': 'exit.html'}, | 11 | # {'folder': 'html', 'source': 'exit_template.html','target': 'exit.html'}, |
12 | {'folder': 'html', 'source': 'exit_template.html','target': 'logout.html'}, | ||
12 | {'folder': 'css', 'source': 'static.css', 'target': 'static.css'} | 13 | {'folder': 'css', 'source': 'static.css', 'target': 'static.css'} |
13 | ] | 14 | ] |
14 | 15 | ||
15 | for resource in resourcesToCopy: | 16 | for resource in resourcesToCopy: |
16 | src = self.absolutePathForSourceFile(resource['folder'], resource['source']) | 17 | src = self.absolutePathForSourceFile(resource['folder'], resource['source']) |
17 | dst = self.absolutePathForTargetFile(targetFolder, '', resource['target']) | 18 | dst = self.absolutePathForTargetFile(targetFolder, '', resource['target']) |
18 | shutil.copy2(src, dst) | 19 | shutil.copy2(src, dst) |
19 | 20 | ||