diff options
| author | fredericsureau <frederic.sureau@gmail.com> | 2012-02-15 07:03:39 -0800 |
|---|---|---|
| committer | fredericsureau <frederic.sureau@gmail.com> | 2012-02-15 07:03:39 -0800 |
| commit | c981002796584956e853062d23a208440837ae5a (patch) | |
| tree | 66a36a3f84b4814dd98cc319ea5c0e6276dcff13 /budget/templates | |
| parent | adfa5f9263460fcdff23166a0bba34e277ea1fab (diff) | |
| parent | bd1b0aaff3cabef1140646c75bf3476144c58c71 (diff) | |
| download | ihatemoney-mirror-c981002796584956e853062d23a208440837ae5a.zip ihatemoney-mirror-c981002796584956e853062d23a208440837ae5a.tar.gz ihatemoney-mirror-c981002796584956e853062d23a208440837ae5a.tar.bz2 | |
Merge pull request #78 from Glandos/master
Get rid of Google dependency for fonts and warn about access code
Diffstat (limited to 'budget/templates')
| -rw-r--r-- | budget/templates/home.html | 21 | ||||
| -rw-r--r-- | budget/templates/layout.html | 1 |
2 files changed, 22 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 %} diff --git a/budget/templates/layout.html b/budget/templates/layout.html index d4447e6..293ce75 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -7,6 +7,7 @@ <link rel=stylesheet type=text/css href="{{ url_for("static", filename='css/main.css') }}"> <script src="{{ url_for("static", filename="js/jquery-1.6.2.min.js") }}"></script> <script src="{{ url_for("static", filename="js/ihatemoney.js") }}"></script> + <script src="{{ url_for("static", filename="js/jquery.qtip.min.js") }}"></script> {% block head %}{% endblock %} <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ |
