~pexego/openobject-addons/6.1-pexego-sale_commission

« back to all changes in this revision

Viewing changes to django_pos/apps/inplaceeditform/templates/inplaceeditform/adaptor_image/render_field.html

  • Committer: Santi Argueso (Pexego)
  • Date: 2013-02-06 17:03:36 UTC
  • mfrom: (10.1.6 pexego-addons_6.1)
  • Revision ID: santiago@pexego.es-20130206170336-ml430s6p9jknun0j
[MERGE]

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends  "inplaceeditform/adaptor_file/render_field.html" %}
 
2
 
 
3
{% block classapply %}{{ block.super }} applyImage{% endblock %}
 
4
 
 
5
{% block actions %}
 
6
   {{ block.super }}
 
7
    <script src="{{ STATIC_URL }}js/jquery.filestyle.mini.js" type="text/javascript"></script>
 
8
    <script type="text/javascript">
 
9
        (function($){
 
10
            $(document).ready(function () {
 
11
                $("#{{ field.auto_id }}").filestyle({ 
 
12
                    image: "{{ STATIC_URL }}img/load.png",
 
13
                    imageheight : 22,
 
14
                    imagewidth : 19,
 
15
                    width : 50
 
16
                });
 
17
            });
 
18
        })(jQuery);
 
19
   </script>
 
20
{% endblock %}
 
 
b'\\ No newline at end of file'