mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-24 01:07:35 +02:00
Upated links to web site;
added stub for Account Info data. Updated the links to the main website to match the new content/structure. The new Account Info is now completely static; will become dynamic as soon as the backend infrastructure will be in place.
This commit is contained in:
@@ -49,7 +49,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
|
||||
|
||||
'iframeURL': function () {
|
||||
// return './rss_view.html';
|
||||
return 'http://www.clipperz.com/files/clipperz.com/appTips/index.html';
|
||||
return 'https://www.clipperz.com/tips/index.html';
|
||||
},
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
@@ -60,7 +60,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
|
||||
{tag:'ul', children:[
|
||||
{tag:'li', children:[{tag:'a', id:'donateHeaderLink', stringID:'pageHeader.donation', href:'http://www.clipperz.com/donations', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.donation')}]},
|
||||
{tag:'li', children:[{tag:'a', id:'forumHeaderLink', stringID:'pageHeader.forum', href:'http://www.clipperz.com/forum', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.forum')}]},
|
||||
{tag:'li', children:[{tag:'a', id:'creditsHeaderLink', stringID:'pageHeader.credits', href:'http://www.clipperz.com/credits', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.credits')}]},
|
||||
// {tag:'li', children:[{tag:'a', id:'creditsHeaderLink', stringID:'pageHeader.credits', href:'http://www.clipperz.com/credits', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.credits')}]},
|
||||
{tag:'li', children:[{tag:'a', id:'feedbackHeaderLink', stringID:'pageHeader.feedback', href:'http://www.clipperz.com/contact', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.feedback')}]},
|
||||
{tag:'li', children:[{tag:'a', id:'helpHeaderLink', stringID:'pageHeader.help', href:'http://www.clipperz.com/support/user_guide', target:'_blank', html:Clipperz.PM.Strings.getValue('pageHeader.help')}]}
|
||||
]}
|
||||
|
||||
@@ -166,13 +166,34 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.UserInfoBox, Clipperz.PM.UI.C
|
||||
{tag:'span', id:this.getId('directLoginsLabel'), html:"direct logins"}
|
||||
]}
|
||||
]},
|
||||
{tag:'div', cls:'accountInfo', children:[
|
||||
{tag:'div', cls:'payButton', children:[
|
||||
{tag:'a', href:'#', id:this.getId('payButton'), cls:'info', html:"info"}
|
||||
]},
|
||||
{tag:'h5', html:"Account info"},
|
||||
{tag:'div', cls:'accountStatus', children:[
|
||||
{tag:'span', cls:'label', html:"status"},
|
||||
{tag:'span', cls:'status', html:"early adopter"}
|
||||
]},
|
||||
{tag:'div', cls:'accountLevel', children:[
|
||||
{tag:'span', cls:'label', html:"level"},
|
||||
// {tag:'span', cls:'level', html:"★☆☆☆"}
|
||||
{tag:'span', cls:'level', html:"☆☆☆☆"}
|
||||
]},
|
||||
{tag:'div', cls:'accountExpiration', children:[
|
||||
{tag:'span', cls:'label', html:"expires"},
|
||||
// {tag:'span', cls:'expriation', html:"on 26 April 2014"}
|
||||
{tag:'span', cls:'expriation', html:"never"}
|
||||
]}
|
||||
]},
|
||||
{tag:'a', href:'#', id:this.getId('logout'), html:"logout >"}
|
||||
]},
|
||||
{tag:'div', cls:'footer'}
|
||||
]);
|
||||
|
||||
MochiKit.Signal.connect(this.getElement('logout'), 'onclick', this, 'handleLogout');
|
||||
MochiKit.Signal.connect(this.getElement('lock'), 'onclick', this, 'toggleLock');
|
||||
MochiKit.Signal.connect(this.getElement('logout'), 'onclick', this, 'handleLogout');
|
||||
MochiKit.Signal.connect(this.getElement('lock'), 'onclick', this, 'toggleLock');
|
||||
MochiKit.Signal.connect(this.getElement('payButton'), 'onclick', this, 'handlePayButton');
|
||||
|
||||
this._lockTooltip = new Clipperz.PM.UI.Common.Components.Tooltip({
|
||||
element: this.getElement('lock'),
|
||||
@@ -191,6 +212,13 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.UserInfoBox, Clipperz.PM.UI.C
|
||||
},
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
'handlePayButton': function (anEvent) {
|
||||
anEvent.preventDefault();
|
||||
window.open('https://www.clipperz.com/pricing/', '_blank');
|
||||
},
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/*
|
||||
'drawUserInfoBackground': function (canvas) {
|
||||
var kMyDrawingFunctionWidth = 188.0;
|
||||
|
||||
Reference in New Issue
Block a user