1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-24 01:07:35 +02:00

Added static resources used when exiting the application

Signed-off-by: Giulio Cesare Solaroli <giulio.cesare@clipperz.com>
This commit is contained in:
Giulio Cesare Solaroli
2012-03-03 17:03:57 -05:00
parent 7804333809
commit cf9c0c34e1
25 changed files with 4383 additions and 4350 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,151 +0,0 @@
/*
Copyright 2008-2011 Clipperz Srl
This file is part of Clipperz Community Edition.
Clipperz Community Edition is an online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz Community Edition is free software: you can redistribute
it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version
3 of the License, or (at your option) any later version.
* Clipperz Community Edition is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public
License along with Clipperz Community Edition. If not, see
<http://www.gnu.org/licenses/>.
*/
/* @override https://www.example.com/css/compact.css */
/*
Color list:
- login box:
light #ff9955
dark #ff6622
- login button:
regular #dd5500
hover #773311
- login translations:
box: #cc6622;
not-selected:
color: #ddaa99
background: #994422
selected: #772211;
*/
body.compact div#mainDiv {
/*
width: 250px;
height: 95%;
border: 1px solid #333366;
*/
padding: 0px;
}
body.compact div#compactHeader {
background-color: #333366;
}
body.compact div#compactHeader img {
padding: 2px 20px 2px 4px;
width: 60;
}
body.compact div#compactHeader a {
color: white;
text-decoration: none;
font-size: 10pt;
/* position: absolute; */
right: 10px;
top: 6px;
}
body.compact div#compactHeader a:hover {
color: #ff9400;
}
body.compact h4 {
color: #999999;
text-align: center;
padding: 20px;
font-weight: normal;
font-size: 12pt;
font-style: italic;
}
body.compact div.loginPanel form {
padding: 10px;
}
body.compact div.loginPanel dt {
color: #aaaaaa;
font-size: 10pt;
}
body.compact div.loginPanel input {
width: 180px;
}
body.compact ul#directLogins {
background-image: none;
padding: 4px 0px;
}
body.compact ul#directLogins li {
width: auto;
}
body.compact ul#directLogins li.hover {
width: auto;
padding-right: 0px;
}
body.compact div.lockPanel {
color: #999999;
font-size: 10pt;
padding: 10px;
}
div#compactMiscLinks ul {
/* text-align: center; */
display: block;
padding-left: 22px;
background-color: #ff9400;
}
div#compactMiscLinks ul li {
display: inline;
padding: 2px 5px;
}
div#compactHeader div#compactMiscLinks ul li a {
font-size: 9pt;
}
div#compactHeader div#compactMiscLinks ul li a:hover {
color: #333366;
}
div#lockBlock {
position: absolute;
right: 10px;
top: 6px;
}
div#lockBlock input {
width: auto;
padding-bottom: 2px;
}
div#lockBlock span {
font-size: 9pt;
padding: 0px 5px 0px 4px;
color: #aaaaaa;
}
div#lockBlock a#lock {
font-size: 9pt;
}
/* @group Donate */
a#donateHeaderLink {
font-weight: bold;
}
div#compactMiscLinks a#donateHeaderIconLink img#donateHeaderLinkIcon {
display: inline;
position: absolute;
top: 22px;
left: 1px;
width: 12px;
height: 12px;
}
/* @end */

File diff suppressed because one or more lines are too long

3703
frontend/gamma/css/web.css Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -29,15 +29,18 @@ Clipperz_normalizedNewLine = '\x0d\x0a';
<body>
<div id="mainDiv">
<div id="loading">
<a href="http://www.clipperz.com" target="_blank"><div id="logo"></div></a>
<h5 class="clipperzPayoff">keep it to yourself!</h5>
<h2>loading ...</h2>
<div>
<!-- a href="http://www.clipperz.com" target="_blank"><div id="logo"></div></a -->
<h1>clipperz</h1>
<h3 class="clipperzPayoff">keep it to yourself!</h3>
<!-- h5>loading ...</h5 -->
</div>
</div>
@js_EMBEDDED@
</div>
<div id="applicationVersionType" class="@application.version.type@"></div>
<!-- div id="applicationVersionType" class="@application.version.type@"></div -->
<script>
Clipperz.PM.Proxy.defaultProxy = new Clipperz.PM.Proxy.JSON({'url':'@request.path@', 'shouldPayTolls':@should.pay.toll@});
@@ -45,7 +48,7 @@ Clipperz_normalizedNewLine = '\x0d\x0a';
</script>
<!-- -->
<div id="javaScriptAlert">
<!-- div id="javaScriptAlert">
<div class="mask"></div>
<div class="message">
<div class="header"></div>
@@ -60,7 +63,7 @@ Clipperz_normalizedNewLine = '\x0d\x0a';
</div>
<div class="footer"></div>
</div>
</div>
</div -->
<!-- -->
</body>

View File

@@ -25,38 +25,30 @@ refer to http://www.clipperz.com.
//
// normal.js
// normal
// New Image
//
// Created by Giulio Cesare Solaroli on 3/25/10
// Copyright 2010 Clipperz
// Created by Giulio Cesare Solaroli on 2/13/12
// Copyright 2012 Clipperz
// This code was generated by Opacity. You may use or modify it in any way.
//
var kClipperz_PM_UI_Canvas_Logo_normalWidth = 150.0;
var kClipperz_PM_UI_Canvas_Logo_normalHeight = 39.0;
function Clipperz_PM_UI_Canvas_Logo_normal(canvas, aMainColor, aSecondaryColor)
function Clipperz_PM_UI_Canvas_Logo_normal(canvas, logo, fontSize, text_color)
{
var context = canvas.getContext("2d");
var string;
canvas.width = kClipperz_PM_UI_Canvas_Logo_normalWidth;
canvas.height = kClipperz_PM_UI_Canvas_Logo_normalHeight;
context.save();
context.scale(canvas.width / kClipperz_PM_UI_Canvas_Logo_normalWidth, canvas.height / kClipperz_PM_UI_Canvas_Logo_normalHeight);
context.clearRect(0.0, 0.0, kClipperz_PM_UI_Canvas_Logo_normalWidth, kClipperz_PM_UI_Canvas_Logo_normalHeight);
// clipper…
string = "clipper";
context.font = "38.0pt Helvetica-Bold";
context.fillStyle = aMainColor;
context.fillText(string, -9.0, -9.0);
// …z
string = "z";
context.font = "38.0pt Helvetica-Bold";
context.fillStyle = aSecondaryColor;
context.fillText(string, 125.0, -9.0);
context.font = fontSize + " HelveticaNeue-Bold";
context.fillStyle = text_color;
context.fillText(logo, 3, 30);
context.restore();
}

View File

@@ -51,7 +51,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Co
{tag:'div', cls:'footerContent', children:[
// {tag:'div', cls:'footerStarIcon'},
{tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'},
{tag:'span', cls:'copyright', html:'Copyright &copy; 2009 Clipperz Srl'},
{tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2012 Clipperz Srl'},
{tag:'a', href:'http://www.clipperz.com/terms_of_service', target:'_blank', html:'terms of service'},
{tag:'a', href:'http://www.clipperz.com/privacy_policy', target:'_blank', html:'privacy policy'},
{tag:'span', cls:'applicationVersion', html:'application version: [1992]'}

View File

@@ -68,8 +68,11 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
]}
]},
{tag:'div', id:'logoFrame', children:[
{tag:'a', href:'http://www.clipperz.com', target:'_blank', children:[{tag:'div', id:'logo'}]},
{tag:'h5', cls:'clipperzPayoff', html:'keep it to yourself!'}
{tag:'a', href:'http://www.clipperz.com', target:'_blank', children:[
// {tag:'h1', cls:'logo', html:"clipperz"},
{tag:'canvas', id:this.getId('logo'), cls:'logo'},
{tag:'h5', cls:'clipperzPayoff', html:"keep it to yourself!"}
]}
]},
{tag:'div', id:'news', cls:'hidden', children:[
// {tag:'div', cls:'close', children:[
@@ -78,7 +81,9 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
{tag:'div', id:'newsframe', children:[
{tag:'iframe', id:this.getId('iframe'), src:this.iframeURL()}
]},
{tag:'div', id:this.getId('newsGrip'), cls:'grip', children:[]}
{tag:'div', id:this.getId('newsGrip'), cls:'grip', children:[
{tag:'div', cls:'gripHandler', children:[]}
]}
]},
{tag:'div', id:'featureTabs', children:[
{tag:'table', children:[{tag:'tr', children:[
@@ -97,6 +102,7 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
MochiKit.Signal.connect(this.getElement('newsGrip'), 'onclick', this, 'toggleTips');
MochiKit.Signal.connect(this.getElement('iframe'), 'onload', this, 'handleIframeDidLoad');
this.setLogoDefaultColors();
},
//-------------------------------------------------------------------------
@@ -164,6 +170,10 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageHeader, Clipperz.PM.UI.Co
this.toggleNewsIsOpen();
}
},
'setLogoDefaultColors': function () {
Clipperz.PM.UI.Canvas.logo.normal(this.getElement('logo'), "clipperz", "28.0pt", "#ffffff");
},
//-------------------------------------------------------------------------

View File

@@ -51,15 +51,10 @@ function run() {
var shouldShowRegistrationForm;
var useCompactDesign;
var controllerParameters;
// var iPhoneDesign;
// MochiKit.Signal.connect(document.body, 'onkeydown', _pm_logEvent);
// MochiKit.Signal.connect(document.body, 'onkeypress', _pm_logEvent);
// MochiKit.Signal.connect(document.body, 'onclick', _pm_logEvent);
controllerParameters = {};
MochiKit.DOM.removeElement('javaScriptAlert');
// MochiKit.DOM.removeElement('javaScriptAlert');
Clipperz.PM.Strings.Languages.initSetup();
if (window.location.search.indexOf('registration') != -1) {
@@ -72,12 +67,6 @@ function run() {
controllerParameters['autocomplete'] = 'on'
}
// if ((window.location.search.indexOf('iPhone') != -1) || (navigator.userAgent.match('iPhone'))) {
// iPhoneDesign = true;
// } else {
// iPhoneDesign = false;
// }
if (window.location.search.indexOf('compact') != -1) {
useCompactDesign = true;
} else {
@@ -86,8 +75,6 @@ function run() {
if (useCompactDesign == true) {
Clipperz.PM.RunTime.mainController = new Clipperz.PM.UI.Compact.Controllers.MainController(controllerParameters);
// } else if (iPhoneDesign == true) {
// Clipperz.PM.RunTime.mainController = new Clipperz.PM.UI.iPhone.Controllers.MainController();
} else {
Clipperz.PM.RunTime.mainController = new Clipperz.PM.UI.Web.Controllers.MainController(controllerParameters);
}

View File

@@ -183,7 +183,6 @@
],
"css": [
"clipperz.css",
"compact.css"
"web.css"
]
}