summaryrefslogtreecommitdiff
authorClipperz <info@clipperz.com>2013-01-09 14:13:32 (UTC)
committer Clipperz <info@clipperz.com>2013-01-09 14:13:32 (UTC)
commit6642b868f781e8e6689db630877a092472ff0f0b (patch) (unidiff)
tree4a01bd44fbb261cc57c6411c3b750ae975a1f570
parent9741a93a9f5c76827135b43c03b20c0a48f12604 (diff)
downloadclipperz-6642b868f781e8e6689db630877a092472ff0f0b.zip
clipperz-6642b868f781e8e6689db630877a092472ff0f0b.tar.gz
clipperz-6642b868f781e8e6689db630877a092472ff0f0b.tar.bz2
Fixed name of the exit page for /gamma
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/frontends/gammaBuilder.py3
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 @@
1from frontendBuilder import FrontendBuilder 1from frontendBuilder import FrontendBuilder
2import shutil 2import shutil
3 3
4class GammaBuilder(FrontendBuilder): 4class 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)