From 0eecbb0d2095c0384989e8378a4a8d1b08a9d798 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Wed, 4 Dec 2013 14:47:04 +0100 Subject: [PATCH] add popover infos --- src/font/icons.eot | Bin 2928 -> 3080 bytes src/font/icons.svg | 3 ++- src/font/icons.ttf | Bin 2764 -> 2924 bytes src/font/icons.woff | Bin 2840 -> 3000 bytes src/js/controller/login-initial.js | 1 - src/js/controller/popover.js | 10 ++------- src/sass/components/_popover.scss | 6 ++++++ src/tpl/desktop.html | 11 +--------- src/tpl/login-existing.html | 14 +++++++++++- src/tpl/login-initial.html | 15 ++++++++++++- src/tpl/login-new-device.html | 33 ++++++++++++++++++++++++++--- src/tpl/read.html | 13 +++++++++--- 12 files changed, 78 insertions(+), 28 deletions(-) diff --git a/src/font/icons.eot b/src/font/icons.eot index 8909197ccba8340ba3ce6fdbb1e4c4d3349c0ce3..038851388220883c7c744a654ed628408833afa0 100755 GIT binary patch delta 1856 zcmZuyTWl0n7(VCB?ab`X%+Act>~_1mv%77#-KDgp-EG-g+AVU4h8PNnH6petwFP^% zEoo8N5_sTZ1u`#$2ju|?3Go&rJd}q@8lyx}6E!3ftfGktM0wEw=}tY=WdzNV*hWQbS~;T^={p1z4!U%RP~5Z(&_cc-_za|e3%#+v}}?L@Ed zB@Vuu86f-^;ibL(qvKV#!Rv&7N_eVou&dL3TD(g5AA|?{JI9AAfET)o9Eyye}E$ zBuV0oWu+nBjaf~SC8VjsvP^5#7c(#gO~{IFuB>5Q1*a87G<{hzskwcc%!ncsC5mGi zguSr{X&nN11#W;_-odNwzwF!J*!8F!p8g)%_w8BxKD>Uhx)lBhKLOSdo%ABZ7lvMz zgVG{uh7B-feMARxVfavpmsdeYKxdFt6f?q4HP-umQ5m^7O_8A866%^b^z@o?tuYLL z#fsu#InwM9T@_TD8i(2&SvZ5;62n5?t3+GUacsZLV#M*hsz?kh<5b1NV2;D~b-6N? zDGsWfU(Ue~s1OoW6=O;^{l5B@tHQpLVwtkD;f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cTB*akH?pw55;0i-N2Yg2b?%9_VSH{#GI&UKCATC9wYAEjP5* zY(5qJ~th8dw z3A`lgj%KD)DLpN#QNr4(MmQw$NMP*<3u>As_2)H*7}4m8p5+?+(EEyX!;9Wsaw4Np zUQz_bNt%ln&7{Mi#8btP4k>nAhmjz4=vl;h=lL|m-c7zRvqg{FN}!^Tkf>-vQZf|U z7Ze6A`Gs2uvsZp-aUbF^$_8HW2T2d{RMrH)Jt)TYh~x74Kwr4=u!4u>*a-sV%iJmN zJ-Vhlp6FN>j?{I;(47N|=Ot4S1jUrln*s9g&32w`g{Nly;aPaIFjts^>kjyDc)AcV z?pJ;{GJCd@)x75Agp9c#ADmv;kIygcpT-9l{$k843B}b;rl+Q+C*!=|zOmTfU)bX)cl)Vj7N9&R%fk9}) z9Q+a9MPK76&f-CQk|}|e434pR69n>p4_R!+o?glaDmy?`j2K>5#hBr`D&`m-u3`dg z#sbe^f>F>_#S&;_gB%0Mi7XR%R&d3$f-9a3_pzdiX+@}*Rxr;t=c}75rVm^P-c%^D sqIz5G8Y>k`r9J< Generated by IcoMoon - + @@ -17,4 +17,5 @@ + \ No newline at end of file diff --git a/src/font/icons.ttf b/src/font/icons.ttf index b0a6b99d80792c9137fd98e53d2b6703c3b7ce13..2e45a9598fd830e5e0172d046de9f11ca252d664 100755 GIT binary patch delta 1836 zcmZuyTWl0%6#g%B-<_GAnVs2XySvlf-j~wrwq+}{TjZjKC^xZ2#WtlSUH3dLOwK#D5`sEb8Un2QN9(JYw&jU40I1omrtKY2uDF*y`y`02xI{CE|9{G z{sS+){EImZdLKgkUwysZ+sPBRUPDOi1bcHI5MnR88}xTTFYO!HJ5n=)UIG1M(9`{c zJ(+I*S@{MKzXK5+=pGqDLG(UC5(9ei?(Tu!Yfsw0fnEwlDuxD!_rgSB_|~8Nq&|dU zD*qo@R6HGc7dKYa0WZKqKo(Dn(}B6Ud4xPPce|L_v)-pWoA4cqlbq8|T63B%t=ax+ z_VE*Y*R!S+D36BP+tadU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icnJ%_OFnxrDcFU5{!x&~~syiR`sxsIKeOYi&%*swCRFsbj}d zS_^|2ufdftOhZvqX=C4To;nYuoLFmXv!l9>K~xQDI;J8)QnVpX6h$FcI^j}T6f{MR zU{jYfGp${5Gj2%;7hi#PII{GWs!@y(f)F9n+}-Qw4fQUuDI<@wBC;8=GU(a)b)pz)U54S@mL$Oca?SthxepwT`qj-Tg%!w_ zZ;m*n;gS0hTc^u@B4x6#8Gz+e1mKH62f%@`G>F5_rZy;c#vp({!p-opH>JVw zW_aUL*o$&-;c|EX%j`LV`(T{mwfi6xuKz))1QQYP}?#IWf3NY_JmzrTiM=E z;5kXv2|;qy%#?bXX!sk8xqzj%47RZU5Mny%FG%sZ@owHLOql!p1OPSZ)gb8C@ zntuuj!SiAU;$U7Z&TKamuEtl zk*bCiuHwbG5eY(}z}FYAKB(Y98oNPY`GRmV*hDvUC6XO0qOoj89lCjF>8xUFlBC%R zdV{m@&TQxDHh6M29GQi`73Yd`aO0uy_24@iv+h;?G&*~_lhwQy{7G~6L40_6@gP3C zcyJmYUcAk+ASIR8d%2$a`ktKk{;I9zfr0YYRZEX!umoVYPb5ty>{38tM14*3qXuCK zB(f$E{~dH>YAV&6_q=>>a7l94+tG+1Ns^#Cx+Lk2dN+wgZ9{DNfz1N`esi3$-aGNM zQT!W3*hyLZeEj$$_nyH8xeuyuD;<24v0(!Sp$mKAukaT79>;Mv9>fbw=T0g(#>Nc~ z#3rjVqk~g-b-v2(PmLqSH`X|2JX_-e<0CarfXg!O$p;t(t7}{Vc`yzzfP%~v?pftk z&nmBaGTzUMs;1S2s%e#rY;&QuxoWzL8CO7=p#t^<`ABk2jqe(-lq;1z;JyN|4NQQY a;03T7jDdakuLYGz3ud2;|GTh}O#cOAk02ue diff --git a/src/js/controller/login-initial.js b/src/js/controller/login-initial.js index 800fcee..854cf1f 100644 --- a/src/js/controller/login-initial.js +++ b/src/js/controller/login-initial.js @@ -21,7 +21,6 @@ define(function(require) { }; $scope.state.ui = states.IDLE; // initial state - // // scope functions // diff --git a/src/js/controller/popover.js b/src/js/controller/popover.js index 4cb1299..32148eb 100644 --- a/src/js/controller/popover.js +++ b/src/js/controller/popover.js @@ -18,14 +18,8 @@ define(function(require) { var ngModule = angular.module('popover', []); ngModule.directive('popover', function() { return function(scope, elm, attrs) { - var popover = angular.element(document.querySelector('.popover')); - - var model = attrs.popover; - scope.$watch(model, function(value) { - // set popover title and content - scope.state.popover.title = attrs.popoverTitle; - scope.state.popover.content = value; - }); + var selector = attrs.popover; + var popover = angular.element(document.querySelector(selector)); elm.on('mouseover', function() { // set popover position diff --git a/src/sass/components/_popover.scss b/src/sass/components/_popover.scss index 30ca392..6a7525e 100644 --- a/src/sass/components/_popover.scss +++ b/src/sass/components/_popover.scss @@ -121,4 +121,10 @@ border-left-color: #ffffff; bottom: -10px; } +} + +.popover-info { + cursor: pointer; + color: $color-blue; + margin-left: 5px; } \ No newline at end of file diff --git a/src/tpl/desktop.html b/src/tpl/desktop.html index 566c9a0..2ab6f22 100644 --- a/src/tpl/desktop.html +++ b/src/tpl/desktop.html @@ -27,13 +27,4 @@ - - -
-
-
-
{{state.popover.title}}
-
-
{{state.popover.content}}
-
\ No newline at end of file + \ No newline at end of file diff --git a/src/tpl/login-existing.html b/src/tpl/login-existing.html index f561b9a..bba0a46 100644 --- a/src/tpl/login-existing.html +++ b/src/tpl/login-existing.html @@ -11,6 +11,7 @@
+
@@ -22,4 +23,15 @@ \ No newline at end of file +
+ + +
+
+
What is this?
+
+

The passphrase protects your encrypted mailbox.

+

There is no way to access your messages without your passphrase.

+

If you have forgotten your passphrase, please request an account reset by sending an email to support@whiteout.io. You will not be able to read previous messages after a reset.

+
+
\ No newline at end of file diff --git a/src/tpl/login-initial.html b/src/tpl/login-initial.html index 6a67239..48f5edd 100644 --- a/src/tpl/login-initial.html +++ b/src/tpl/login-initial.html @@ -12,6 +12,7 @@
+
@@ -37,4 +38,16 @@ \ No newline at end of file +
+ + +
+
+
What is this?
+
+

A passphrase is like a password but longer.

+

If your device is lost or stolen the passphrase protects the contents of your mailbox.

+

The passphrase should consist of multiple words that are easy to remember.

+

You cannot change your passphrase at a later time.

+
+
\ No newline at end of file diff --git a/src/tpl/login-new-device.html b/src/tpl/login-new-device.html index 1a7ad92..ae8b01c 100644 --- a/src/tpl/login-new-device.html +++ b/src/tpl/login-new-device.html @@ -9,8 +9,14 @@

You are already registered on another device. To access your emails on this device, please import your key file.

-
-
+
+ + +
+
+ + +
@@ -19,4 +25,25 @@ \ No newline at end of file + + + +
+
+
What is this?
+
+

The keyfile contains your PGP keys.

+

It can be exported on your first computer under "Account".

+

You can import it from a USB flash drive. Never send the keyfile to yourself via email.

+
+
+ +
+
+
What is this?
+
+

The passphrase protects your encrypted mailbox.

+

There is no way to access your messages without your passphrase.

+

If you have forgotten your passphrase, please request an account reset by sending an email to support@whiteout.io. You will not be able to read previous messages after a reset.

+
+
\ No newline at end of file diff --git a/src/tpl/read.html b/src/tpl/read.html index 4a4b377..b76b26d 100644 --- a/src/tpl/read.html +++ b/src/tpl/read.html @@ -9,10 +9,10 @@

{{state.mailList.selected.subject || 'No subject'}}

{{state.mailList.selected.sentDate | date:'EEEE, MMM d, yyyy h:mm a'}}

- From: {{f.name || f.address}} + From: {{f.name || f.address}}

- To: {{t.address}} + To: {{t.address}}

@@ -29,4 +29,11 @@ {{line}}

- \ No newline at end of file + + +
+
+
Fingerprint
+
{{fingerprint}}
+
+