author | Clipperz <info@clipperz.com> | 2013-01-09 10:56:27 (UTC) |
---|---|---|
committer | Clipperz <info@clipperz.com> | 2013-01-09 10:56:27 (UTC) |
commit | 34726bbee84efbf0490f204d5d267b15fb4d3214 (patch) (unidiff) | |
tree | 1dcc3953e6dd153b9c59232e63085dd6b0d88021 /frontend | |
parent | 5996ee475c193f08a713eb53338e4769c2716aa7 (diff) | |
download | clipperz-34726bbee84efbf0490f204d5d267b15fb4d3214.zip clipperz-34726bbee84efbf0490f204d5d267b15fb4d3214.tar.gz clipperz-34726bbee84efbf0490f204d5d267b15fb4d3214.tar.bz2 |
Fixed application version display on /gamma
-rw-r--r-- | frontend/gamma/css/web.css | 5 | ||||
-rw-r--r-- | frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/frontend/gamma/css/web.css b/frontend/gamma/css/web.css index 3540016..94cd715 100644 --- a/frontend/gamma/css/web.css +++ b/frontend/gamma/css/web.css | |||
@@ -472,136 +472,139 @@ div.pageHeaderAndBody div.pageHeader div#news { | |||
472 | } | 472 | } |
473 | div.pageHeaderAndBody div.pageHeader div#news div#newsframe { | 473 | div.pageHeaderAndBody div.pageHeader div#news div#newsframe { |
474 | margin-left: 10px; | 474 | margin-left: 10px; |
475 | margin-right: 10px; | 475 | margin-right: 10px; |
476 | height: 75px; | 476 | height: 75px; |
477 | overflow: hidden; | 477 | overflow: hidden; |
478 | } | 478 | } |
479 | div.pageHeaderAndBody div.pageHeader div#news div#newsframe iframe { | 479 | div.pageHeaderAndBody div.pageHeader div#news div#newsframe iframe { |
480 | width: 290px; | 480 | width: 290px; |
481 | border: 0px; | 481 | border: 0px; |
482 | color: #616475; | 482 | color: #616475; |
483 | background-color: #616475; | 483 | background-color: #616475; |
484 | } | 484 | } |
485 | div.pageHeaderAndBody div.pageHeader div#news div.grip { | 485 | div.pageHeaderAndBody div.pageHeader div#news div.grip { |
486 | width: 310px; | 486 | width: 310px; |
487 | height: 6px; | 487 | height: 6px; |
488 | margin-top: 2px; | 488 | margin-top: 2px; |
489 | cursor: pointer; | 489 | cursor: pointer; |
490 | } | 490 | } |
491 | div.pageHeaderAndBody div.pageHeader div#news div.grip div.gripHandler { | 491 | div.pageHeaderAndBody div.pageHeader div#news div.grip div.gripHandler { |
492 | margin-left: auto; | 492 | margin-left: auto; |
493 | margin-right: auto; | 493 | margin-right: auto; |
494 | margin-top: 8px; | 494 | margin-top: 8px; |
495 | width: 0; | 495 | width: 0; |
496 | height: 0; | 496 | height: 0; |
497 | border-left: 5px solid transparent; | 497 | border-left: 5px solid transparent; |
498 | border-right: 5px solid transparent; | 498 | border-right: 5px solid transparent; |
499 | } | 499 | } |
500 | div.pageHeaderAndBody div.pageHeader div#news.open div.grip div.gripHandler { | 500 | div.pageHeaderAndBody div.pageHeader div#news.open div.grip div.gripHandler { |
501 | border-bottom: 5px solid #e9e9ec; | 501 | border-bottom: 5px solid #e9e9ec; |
502 | } | 502 | } |
503 | div.pageHeaderAndBody div.pageHeader div#news.hidden div.grip div.gripHandler { | 503 | div.pageHeaderAndBody div.pageHeader div#news.hidden div.grip div.gripHandler { |
504 | border-top: 5px solid #e9e9ec; | 504 | border-top: 5px solid #e9e9ec; |
505 | } | 505 | } |
506 | div.pageFooter { | 506 | div.pageFooter { |
507 | margin-top: -90px; | 507 | margin-top: -90px; |
508 | height: 90px; | 508 | height: 90px; |
509 | clear: both; | 509 | clear: both; |
510 | } | 510 | } |
511 | div.pageFooter div.footerWrapper { | 511 | div.pageFooter div.footerWrapper { |
512 | clear: both; | 512 | clear: both; |
513 | padding-top: 10px; | 513 | padding-top: 10px; |
514 | } | 514 | } |
515 | div.pageFooter div.footerWrapper div.footerContent { | 515 | div.pageFooter div.footerWrapper div.footerContent { |
516 | background-color: #eaebe6; | 516 | background-color: #eaebe6; |
517 | padding: 20px; | 517 | padding: 20px; |
518 | font-size: 8pt; | 518 | font-size: 8pt; |
519 | } | 519 | } |
520 | div.pageFooter div.footerWrapper div.footerContent canvas.footerStarIcon { | 520 | div.pageFooter div.footerWrapper div.footerContent canvas.footerStarIcon { |
521 | width: 40px; | 521 | width: 40px; |
522 | height: 40px; | 522 | height: 40px; |
523 | float: left; | 523 | float: left; |
524 | } | 524 | } |
525 | div.pageFooter div.footerWrapper div.footerContent span.copyright { | 525 | div.pageFooter div.footerWrapper div.footerContent span.copyright { |
526 | padding-left: 10px; | 526 | padding-left: 10px; |
527 | color: #a0a0a0; | 527 | color: #a0a0a0; |
528 | } | 528 | } |
529 | div.pageFooter div.footerWrapper div.footerContent a { | 529 | div.pageFooter div.footerWrapper div.footerContent a { |
530 | padding-left: 50px; | 530 | padding-left: 50px; |
531 | display: block; | 531 | display: block; |
532 | color: #888888; | 532 | color: #888888; |
533 | font-weight: bold; | 533 | font-weight: bold; |
534 | text-decoration: none; | 534 | text-decoration: none; |
535 | } | 535 | } |
536 | div.pageFooter div.footerWrapper div.footerContent span.applicationVersion { | 536 | div.pageFooter div.footerWrapper div.footerContent div.applicationVersion { |
537 | padding: 8px; | 537 | padding: 8px; |
538 | color: #888888; | 538 | color: #888888; |
539 | background-color: #d2d2d2; | 539 | background-color: #d2d2d2; |
540 | position: relative; | 540 | position: relative; |
541 | top: -40px; | 541 | top: -40px; |
542 | float: right; | 542 | float: right; |
543 | } | 543 | } |
544 | div.pageFooter div.footerWrapper div.footerContent div.applicationVersion a { | ||
545 | display: inline; | ||
546 | } | ||
544 | /* | 547 | /* |
545 | 548 | ||
546 | Color list: | 549 | Color list: |
547 | - login box: | 550 | - login box: |
548 | light#ff9955 | 551 | light#ff9955 |
549 | dark#ff6622 | 552 | dark#ff6622 |
550 | - login button: | 553 | - login button: |
551 | regular#dd5500 | 554 | regular#dd5500 |
552 | hover#773311 | 555 | hover#773311 |
553 | - login translations: | 556 | - login translations: |
554 | box: #cc6622; | 557 | box: #cc6622; |
555 | not-selected: | 558 | not-selected: |
556 | color: #ddaa99 | 559 | color: #ddaa99 |
557 | background:#994422 | 560 | background:#994422 |
558 | selected: #772211; | 561 | selected: #772211; |
559 | */ | 562 | */ |
560 | html { | 563 | html { |
561 | height: 100%; | 564 | height: 100%; |
562 | } | 565 | } |
563 | body { | 566 | body { |
564 | font-family: Helvetica-Neue, Helvetica, Arial, Geneva, sans-serif; | 567 | font-family: Helvetica-Neue, Helvetica, Arial, Geneva, sans-serif; |
565 | margin: 0px; | 568 | margin: 0px; |
566 | } | 569 | } |
567 | div.modalDialogMask.userInfoBoxMask { | 570 | div.modalDialogMask.userInfoBoxMask { |
568 | -moz-opacity: 0.0; | 571 | -moz-opacity: 0.0; |
569 | opacity: .0; | 572 | opacity: .0; |
570 | filter: alpha(opacity=0); | 573 | filter: alpha(opacity=0); |
571 | z-index: 19000; | 574 | z-index: 19000; |
572 | } | 575 | } |
573 | .reset-margin { | 576 | .reset-margin { |
574 | margin: 0px; | 577 | margin: 0px; |
575 | padding: 0px; | 578 | padding: 0px; |
576 | border: 0px; | 579 | border: 0px; |
577 | } | 580 | } |
578 | .clear { | 581 | .clear { |
579 | clear: both; | 582 | clear: both; |
580 | } | 583 | } |
581 | .hidden_none { | 584 | .hidden_none { |
582 | display: none; | 585 | display: none; |
583 | visibility: hidden; | 586 | visibility: hidden; |
584 | } | 587 | } |
585 | .keepTogether { | 588 | .keepTogether { |
586 | display: inline-block; | 589 | display: inline-block; |
587 | white-space: nowrap; | 590 | white-space: nowrap; |
588 | } | 591 | } |
589 | #mainDiv { | 592 | #mainDiv { |
590 | margin: 0 auto; | 593 | margin: 0 auto; |
591 | } | 594 | } |
592 | div#loginBox { | 595 | div#loginBox { |
593 | width: 273px; | 596 | width: 273px; |
594 | z-index: 19000; | 597 | z-index: 19000; |
595 | top: -30px; | 598 | top: -30px; |
596 | right: 30px; | 599 | right: 30px; |
597 | position: relative; | 600 | position: relative; |
598 | float: right; | 601 | float: right; |
599 | } | 602 | } |
600 | div#loginBox div.header { | 603 | div#loginBox div.header { |
601 | height: 25px; | 604 | height: 25px; |
602 | width: 273px; | 605 | width: 273px; |
603 | background-color: #ff9b5a; | 606 | background-color: #ff9b5a; |
604 | -webkit-border-top-left-radius: 20px; | 607 | -webkit-border-top-left-radius: 20px; |
605 | -moz-border-radius-topleft: 20px; | 608 | -moz-border-radius-topleft: 20px; |
606 | border-top-left-radius: 20px; | 609 | border-top-left-radius: 20px; |
607 | -webkit-border-top-right-radius: 20px; | 610 | -webkit-border-top-right-radius: 20px; |
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 2b2865c..e6ae72b 100644 --- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js +++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js | |||
@@ -1,67 +1,67 @@ | |||
1 | /* | 1 | /* |
2 | 2 | ||
3 | Copyright 2008-2011 Clipperz Srl | 3 | Copyright 2008-2011 Clipperz Srl |
4 | 4 | ||
5 | This file is part of Clipperz Community Edition. | 5 | This file is part of Clipperz Community Edition. |
6 | Clipperz Community Edition is an online password manager. | 6 | Clipperz Community Edition is an online password manager. |
7 | For further information about its features and functionalities please | 7 | For further information about its features and functionalities please |
8 | refer to http://www.clipperz.com. | 8 | refer to http://www.clipperz.com. |
9 | 9 | ||
10 | * Clipperz Community Edition is free software: you can redistribute | 10 | * Clipperz Community Edition is free software: you can redistribute |
11 | it and/or modify it under the terms of the GNU Affero General Public | 11 | it and/or modify it under the terms of the GNU Affero General Public |
12 | License as published by the Free Software Foundation, either version | 12 | License as published by the Free Software Foundation, either version |
13 | 3 of the License, or (at your option) any later version. | 13 | 3 of the License, or (at your option) any later version. |
14 | 14 | ||
15 | * Clipperz Community Edition is distributed in the hope that it will | 15 | * Clipperz Community Edition is distributed in the hope that it will |
16 | be useful, but WITHOUT ANY WARRANTY; without even the implied | 16 | be useful, but WITHOUT ANY WARRANTY; without even the implied |
17 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 17 | warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
18 | See the GNU Affero General Public License for more details. | 18 | See the GNU Affero General Public License for more details. |
19 | 19 | ||
20 | * You should have received a copy of the GNU Affero General Public | 20 | * You should have received a copy of the GNU Affero General Public |
21 | License along with Clipperz Community Edition. If not, see | 21 | License along with Clipperz Community Edition. If not, see |
22 | <http://www.gnu.org/licenses/>. | 22 | <http://www.gnu.org/licenses/>. |
23 | 23 | ||
24 | */ | 24 | */ |
25 | 25 | ||
26 | Clipperz.Base.module('Clipperz.PM.UI.Web.Components'); | 26 | Clipperz.Base.module('Clipperz.PM.UI.Web.Components'); |
27 | 27 | ||
28 | Clipperz.PM.UI.Web.Components.PageFooter = function(args) { | 28 | Clipperz.PM.UI.Web.Components.PageFooter = function(args) { |
29 | args = args || {}; | 29 | args = args || {}; |
30 | 30 | ||
31 | Clipperz.PM.UI.Web.Components.PageFooter.superclass.constructor.apply(this, arguments); | 31 | Clipperz.PM.UI.Web.Components.PageFooter.superclass.constructor.apply(this, arguments); |
32 | 32 | ||
33 | return this; | 33 | return this; |
34 | } | 34 | } |
35 | 35 | ||
36 | //============================================================================= | 36 | //============================================================================= |
37 | 37 | ||
38 | Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, { | 38 | Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, { |
39 | 39 | ||
40 | //------------------------------------------------------------------------- | 40 | //------------------------------------------------------------------------- |
41 | 41 | ||
42 | 'toString': function () { | 42 | 'toString': function () { |
43 | return "Clipperz.PM.UI.Web.Components.PageFooter component"; | 43 | return "Clipperz.PM.UI.Web.Components.PageFooter component"; |
44 | }, | 44 | }, |
45 | 45 | ||
46 | //------------------------------------------------------------------------- | 46 | //------------------------------------------------------------------------- |
47 | 47 | ||
48 | 'renderSelf': function(/*aContainer, aPosition*/) { | 48 | 'renderSelf': function(/*aContainer, aPosition*/) { |
49 | this.append(this.element(), [ | 49 | this.append(this.element(), [ |
50 | {tag:'div', cls:'footerWrapper', children:[ | 50 | {tag:'div', cls:'footerWrapper', children:[ |
51 | {tag:'div', cls:'footerContent', children:[ | 51 | {tag:'div', cls:'footerContent', children:[ |
52 | {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'}, | 52 | {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'}, |
53 | {tag:'span', cls:'copyright', html:'Copyright © 2009-2013 Clipperz Srl'}, | 53 | {tag:'span', cls:'copyright', html:'Copyright © 2009-2013 Clipperz Srl'}, |
54 | {tag:'a', href:'http://www.clipperz.com/terms_of_service',target:'_blank', html:'terms of service'}, | 54 | {tag:'a', href:'http://www.clipperz.com/terms_of_service',target:'_blank', html:'terms of service'}, |
55 | {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'}, | 55 | {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'}, |
56 | {tag:'span', cls:'applicationVersion', htmlString:'application version: [<a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>]'} | 56 | {tag:'div', cls:'applicationVersion', htmlString:'application version: [<a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>]'} |
57 | ]} | 57 | ]} |
58 | ]} | 58 | ]} |
59 | ]); | 59 | ]); |
60 | 60 | ||
61 | Clipperz.PM.UI.Canvas.star.normal(this.getElement('footerStarIcon'), "#7e7e7e"); | 61 | Clipperz.PM.UI.Canvas.star.normal(this.getElement('footerStarIcon'), "#7e7e7e"); |
62 | }, | 62 | }, |
63 | 63 | ||
64 | //------------------------------------------------------------------------- | 64 | //------------------------------------------------------------------------- |
65 | 65 | ||
66 | __syntaxFix__: "syntax fix" | 66 | __syntaxFix__: "syntax fix" |
67 | }); | 67 | }); |