-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 | |||
@@ -1,26 +1,27 @@ | |||
1 | from frontendBuilder import FrontendBuilder | 1 | from frontendBuilder import FrontendBuilder |
2 | import shutil | 2 | 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 | ||
20 | # src = self.absolutePathForSourceFile('html', 'exit_template.html') | 21 | # src = self.absolutePathForSourceFile('html', 'exit_template.html') |
21 | # dst = self.absolutePathForTargetFile(targetFolder, '', 'exit.html') | 22 | # dst = self.absolutePathForTargetFile(targetFolder, '', 'exit.html') |
22 | # shutil.copy2(src, dst) | 23 | # shutil.copy2(src, dst) |
23 | 24 | ||
24 | # src = self.absolutePathForSourceFile('css', 'static.css') | 25 | # src = self.absolutePathForSourceFile('css', 'static.css') |
25 | # dst = self.absolutePathForTargetFile(targetFolder, '', 'static.css') | 26 | # dst = self.absolutePathForTargetFile(targetFolder, '', 'static.css') |
26 | # shutil.copy2(src, dst) | 27 | # shutil.copy2(src, dst) |