From 7c0f89bc9566c7b614c9c356af3e82b1220cb793 Mon Sep 17 00:00:00 2001 From: azivner Date: Sun, 10 Sep 2017 21:33:39 -0400 Subject: [PATCH] encrypt / decrypt is now using icons next to note title --- src/templates/app.html | 36 ++++++++++++++++++++++++++---------- static/icons/lock.png | Bin 0 -> 323 bytes static/icons/unlock.png | Bin 0 -> 337 bytes static/style.css | 15 +++++++++------ 4 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 static/icons/lock.png create mode 100644 static/icons/unlock.png diff --git a/src/templates/app.html b/src/templates/app.html index 3f3f4a40c..ca84d30e1 100644 --- a/src/templates/app.html +++ b/src/templates/app.html @@ -26,11 +26,11 @@

- + Create new top level note - + Collapse tree @@ -40,14 +40,30 @@
- - + + + + + + + + + + + Encrypt note + + + + Decrypt note + + +  
diff --git a/static/icons/lock.png b/static/icons/lock.png new file mode 100644 index 0000000000000000000000000000000000000000..3680e1c63c20997a59380b904142192441792539 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHiPsK)%VPT&^aL0T3&hqn&g_X? z$e+`=r%8H2`sPoEYS@1?sLL={D<8SY!qQf`JY^5J%A%QBOi44}T+dKj6q(87XLNJ* z#VxMIS6D>sFL_H(ABgxFlm{m#MD8Bede<;HtvmXQv(Mws1(A4<+2J#wQy z2du7J?fSprJiAPfUbdmpxhuSf)aN~^jBHT;?va%^hl%^G@TxFVdQ&MBb@00U)qN&o-= literal 0 HcmV?d00001 diff --git a/static/icons/unlock.png b/static/icons/unlock.png new file mode 100644 index 0000000000000000000000000000000000000000..9d3d792c6e9b48f35eba5dfe1f5caea5c6491d58 GIT binary patch literal 337 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHi^Br^$IaZ&!M9he@ zQ&wH^T);cWe#fsu+wvZ8?MiBA-okev?8Y87;a}}D%_e?O&Hs9@X8*}Avo&iPXEpG< z90<+gKC>i!soe(lca~e3tIVwZ&+<30YpgUZxT3I*^T72pw5!WvcSyL^$xYAZ(G2jB8^oE0=r)JCcvFw)<)u=Qgx zYh**obLQ^HQeEyjlV|l`dVb|^&_70dHjC^?v#TDvgY~(z_MH5z)1dv{BPUUYnfr45 biivWqvy0Eh9A8!d^eKa span.fancytree-icon { overflow-x: hidden; } -#encryptButton { - position: absolute; - left: 950px; +.icon-action:hover { + text-decoration: none; } -#decryptButton { - position: absolute; - left: 950px; +#encryptButton, #decryptButton { + display: none; +} + +#encryptButton img, #decryptButton img { + top: -5px; + position: relative; } \ No newline at end of file