summaryrefslogtreecommitdiff
path: root/frontend/gamma/js/Clipperz/PM/UI/Web
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2012-03-03 22:03:57 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2012-03-03 22:03:57 (UTC)
commitcf9c0c34e1358452e0c7276c5b3ec6598f0c089d (patch) (unidiff)
treed9366dae335a9bded5c0ee859895abe251790818 /frontend/gamma/js/Clipperz/PM/UI/Web
parent7804333809bf725e32a08c531a06acd7d668e190 (diff)
downloadclipperz-cf9c0c34e1358452e0c7276c5b3ec6598f0c089d.zip
clipperz-cf9c0c34e1358452e0c7276c5b3ec6598f0c089d.tar.gz
clipperz-cf9c0c34e1358452e0c7276c5b3ec6598f0c089d.tar.bz2
Added static resources used when exiting the application
Signed-off-by: Giulio Cesare Solaroli <giulio.cesare@clipperz.com>
Diffstat (limited to 'frontend/gamma/js/Clipperz/PM/UI/Web') (more/less context) (show whitespace changes)
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js2
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageHeader.js16
2 files changed, 14 insertions, 4 deletions
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
index 5e8cd7f..a25c8f5 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
@@ -51,7 +51,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Co
51 {tag:'div', cls:'footerContent', children:[ 51 {tag:'div', cls:'footerContent', children:[
52 // {tag:'div', cls:'footerStarIcon'}, 52 // {tag:'div', cls:'footerStarIcon'},
53 {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'}, 53 {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'},
54 {tag:'span', cls:'copyright', html:'Copyright &copy; 2009 Clipperz Srl'}, 54 {tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2012 Clipperz Srl'},
55 {tag:'a', href:'http://www.clipperz.com/terms_of_service',target:'_blank', html:'terms of service'}, 55 {tag:'a', href:'http://www.clipperz.com/terms_of_service',target:'_blank', html:'terms of service'},
56 {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'}, 56 {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'},
57 {tag:'span', cls:'applicationVersion', html:'application version: [1992]'} 57 {tag:'span', cls:'applicationVersion', html:'application version: [1992]'}
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageHeader.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageHeader.js
index bce8395..b8f3b05 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageHeader.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageHeader.js
@@ -68,8 +68,11 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
68 ]} 68 ]}
69 ]}, 69 ]},
70 {tag:'div', id:'logoFrame', children:[ 70 {tag:'div', id:'logoFrame', children:[
71 {tag:'a', href:'http://www.clipperz.com', target:'_blank', children:[{tag:'div', id:'logo'}]}, 71 {tag:'a', href:'http://www.clipperz.com', target:'_blank', children:[
72 {tag:'h5', cls:'clipperzPayoff', html:'keep it to yourself!'} 72 // {tag:'h1', cls:'logo', html:"clipperz"},
73 {tag:'canvas', id:this.getId('logo'), cls:'logo'},
74 {tag:'h5', cls:'clipperzPayoff', html:"keep it to yourself!"}
75 ]}
73 ]}, 76 ]},
74 {tag:'div', id:'news', cls:'hidden', children:[ 77 {tag:'div', id:'news', cls:'hidden', children:[
75 // {tag:'div', cls:'close', children:[ 78 // {tag:'div', cls:'close', children:[
@@ -78,7 +81,9 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
78 {tag:'div', id:'newsframe', children:[ 81 {tag:'div', id:'newsframe', children:[
79 {tag:'iframe', id:this.getId('iframe'), src:this.iframeURL()} 82 {tag:'iframe', id:this.getId('iframe'), src:this.iframeURL()}
80 ]}, 83 ]},
81 {tag:'div', id:this.getId('newsGrip'), cls:'grip', children:[]} 84 {tag:'div', id:this.getId('newsGrip'), cls:'grip', children:[
85 {tag:'div', cls:'gripHandler', children:[]}
86 ]}
82 ]}, 87 ]},
83 {tag:'div', id:'featureTabs', children:[ 88 {tag:'div', id:'featureTabs', children:[
84 {tag:'table', children:[{tag:'tr', children:[ 89 {tag:'table', children:[{tag:'tr', children:[
@@ -97,6 +102,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
97 102
98 MochiKit.Signal.connect(this.getElement('newsGrip'), 'onclick', this, 'toggleTips'); 103 MochiKit.Signal.connect(this.getElement('newsGrip'), 'onclick', this, 'toggleTips');
99 MochiKit.Signal.connect(this.getElement('iframe'), 'onload', this, 'handleIframeDidLoad'); 104 MochiKit.Signal.connect(this.getElement('iframe'), 'onload', this, 'handleIframeDidLoad');
105 this.setLogoDefaultColors();
100 }, 106 },
101 107
102 //------------------------------------------------------------------------- 108 //-------------------------------------------------------------------------
@@ -165,6 +171,10 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
165 } 171 }
166 }, 172 },
167 173
174 'setLogoDefaultColors': function () {
175 Clipperz.PM.UI.Canvas.logo.normal(this.getElement('logo'), "clipperz", "28.0pt", "#ffffff");
176 },
177
168 //------------------------------------------------------------------------- 178 //-------------------------------------------------------------------------
169 179
170 'handleIframeDidLoad': function (anEvent) { 180 'handleIframeDidLoad': function (anEvent) {