diff options
| author | Adrien CLERC <adrien@antipoul.fr> | 2012-02-11 19:18:34 +0100 |
|---|---|---|
| committer | Adrien CLERC <adrien@antipoul.fr> | 2012-02-11 19:18:34 +0100 |
| commit | bd1b0aaff3cabef1140646c75bf3476144c58c71 (patch) | |
| tree | 66a36a3f84b4814dd98cc319ea5c0e6276dcff13 /budget/templates/home.html | |
| parent | 2f928e08be5e3f84a1d468fabd15aec816928382 (diff) | |
| download | ihatemoney-mirror-bd1b0aaff3cabef1140646c75bf3476144c58c71.zip ihatemoney-mirror-bd1b0aaff3cabef1140646c75bf3476144c58c71.tar.gz ihatemoney-mirror-bd1b0aaff3cabef1140646c75bf3476144c58c71.tar.bz2 | |
Add QTip2 and use it to display a message about access code on the first page.
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index 013cde7..d21d0ec 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -39,4 +39,25 @@ </div> </div> </div> +<script> + $(document).ready(function(){ + $('form.create #password').qtip({ + content: '{{ _("This access code will be sent to your friends. It is stored as-is by the server, so don\\'t reuse a personal password here!") }}', + show: { + event: 'focus' + }, + hide: { + event: 'focusout' + }, + position: { + my: "bottom center", + at: "top center", + adjust: { + method: 'shift' + } + + } + }); + }); +</script> {% endblock %} |
