1 | {% extends "base_formulario.html" %} |
---|
2 | {% load url from future %} |
---|
3 | {% load l10n %} |
---|
4 | {% load i18n %} |
---|
5 | |
---|
6 | {% block librerias %} |
---|
7 | <link rel="stylesheet" href="{{ MEDIA_URL }}css/themes/themes_jt/metro/green/jtable.css" type="text/css"> |
---|
8 | <script type="text/javascript" src="{{MEDIA_URL}}js/jquery.jtable.min.js"></script> |
---|
9 | <script type="text/javascript" src="{{MEDIA_URL}}js/jquery.jtable.es.js"></script> |
---|
10 | |
---|
11 | <style type="text/css"> |
---|
12 | div.jtable-main-container > table.jtable > thead th.jtable-column-header div.jtable-column-header-container { |
---|
13 | height: 84px; |
---|
14 | margin-left: 4px; |
---|
15 | } |
---|
16 | </style> |
---|
17 | |
---|
18 | <script type="text/javascript"> |
---|
19 | $(document).ready(function() { |
---|
20 | $('.jtable').wrap('<div class="jtable-main-container scroll-content" />'); |
---|
21 | $('#DirectorioTable').jtable({ |
---|
22 | title : '{{titulo}}', |
---|
23 | paging : true, |
---|
24 | pageSize : 20, |
---|
25 | sorting : false, |
---|
26 | //defaultSorting : 'id ASC', |
---|
27 | selecting : true, //Enable selecting |
---|
28 | multiselect : true, //Allow multiple selecting |
---|
29 | selectingCheckboxes : false, |
---|
30 | ajaxSettings : { |
---|
31 | type : 'GET', |
---|
32 | dataType : 'json', |
---|
33 | |
---|
34 | }, |
---|
35 | actions : { |
---|
36 | listAction : '{{BASE_URL}}/consolidadosjson', |
---|
37 | }, |
---|
38 | fields : { |
---|
39 | id : { |
---|
40 | key : true, |
---|
41 | create : false, |
---|
42 | edit : false, |
---|
43 | list : false |
---|
44 | }, |
---|
45 | |
---|
46 | HS_code_level : { |
---|
47 | title : '{% trans "HS Code Level" %}' |
---|
48 | }, |
---|
49 | |
---|
50 | Base_nomenclature : { |
---|
51 | title : '{% trans "Base nomenclature" %}' |
---|
52 | }, |
---|
53 | Product : { |
---|
54 | title : '{% trans "Product" %}' |
---|
55 | }, |
---|
56 | Number_of_subheadings : { |
---|
57 | title : '{% trans "Number of subheadings" %}' |
---|
58 | }, |
---|
59 | Binding : { |
---|
60 | title : '{% trans "Binding" %}' |
---|
61 | }, |
---|
62 | Number_of_lines : { |
---|
63 | title : '{% trans "Number of lines" %}' |
---|
64 | }, |
---|
65 | Number_of_AVDuties : { |
---|
66 | title : '{% trans "Number of AVDuties" %}' |
---|
67 | }, |
---|
68 | AVDuty_average : { |
---|
69 | title : '{% trans "AVDuty average" %}' |
---|
70 | }, |
---|
71 | AVDuty_minimum : { |
---|
72 | title : '{% trans "AVDuty minimum" %}' |
---|
73 | }, |
---|
74 | AVDuty_maximum : { |
---|
75 | title : '{% trans "AVDuty maximun" %}' |
---|
76 | }, |
---|
77 | Percent_duty_free : { |
---|
78 | title : '{% trans "Percent duty free" %}' |
---|
79 | }, |
---|
80 | Number_of_non_AVDuties : { |
---|
81 | title : '{% trans "Number of non AVDuties" %}' |
---|
82 | }, |
---|
83 | List_of_non_AVDuties : { |
---|
84 | title : '{% trans "List of non AVDuties" %}' |
---|
85 | }, |
---|
86 | SSG : { |
---|
87 | title : '{% trans "SSG" %}' |
---|
88 | }, |
---|
89 | ODC_Number_of_lines_dutiable : { |
---|
90 | title : '{% trans "ODC Number of lines dutiable" %}' |
---|
91 | }, |
---|
92 | ODC_AVDuty_average : { |
---|
93 | title : '{% trans "ODC AVDuty average" %}' |
---|
94 | }, |
---|
95 | ODC_Number_of_non_AV_duties : { |
---|
96 | title : '{% trans "ODC Number of non AV duties" %}' |
---|
97 | }, |
---|
98 | ODC_List_of_non_AV_duties : { |
---|
99 | title : '{% trans "ODC List of non AV duties" %}' |
---|
100 | }, |
---|
101 | List_of_present_instruments : { |
---|
102 | title : '{% trans "List of present instruments" %}' |
---|
103 | }, |
---|
104 | Implementation_year : { |
---|
105 | title : '{% trans "Implementation year" %}' |
---|
106 | }, |
---|
107 | List_of_INRs : { |
---|
108 | title : '{% trans "List of INRs" %}' |
---|
109 | }, |
---|
110 | Description : { |
---|
111 | title : '{% trans "Description" %}', |
---|
112 | hidden : true |
---|
113 | } |
---|
114 | |
---|
115 | }, |
---|
116 | |
---|
117 | }); |
---|
118 | |
---|
119 | $('#DirectorioTable').jtable('load'); |
---|
120 | |
---|
121 | }); |
---|
122 | </script> |
---|
123 | |
---|
124 | |
---|
125 | {% endblock librerias %} |
---|
126 | |
---|
127 | {% block titulo %}{% trans "aranceles" %}{% endblock %} |
---|
128 | {% block submenu %} |
---|
129 | <div style="width: 100%"> |
---|
130 | <h2>SUBMENU</h2> |
---|
131 | <ul class="menu"> |
---|
132 | <li><a class="" href="{{ BASE_URL }}/aranceles_consulta"> |
---|
133 | <i class="icon-th-list"></i> {% trans "Consultar Aranceles" %} |
---|
134 | </a> |
---|
135 | </li> |
---|
136 | <li><a class="" href="{{ BASE_URL }}/aranceles_carga"> |
---|
137 | <i class="icon-download-alt"></i> {% trans "Cargar Datos" %} |
---|
138 | </a> |
---|
139 | </li> |
---|
140 | </ul> |
---|
141 | </div> |
---|
142 | {% endblock submenu %} |
---|
143 | {% block formulario %} |
---|
144 | |
---|
145 | |
---|
146 | <h3>{% trans "Aranceles de los países ALBA-TCP" %}</h3> |
---|
147 | <div class="grid center" style="border: 1px solid black; margin:10px; padding: 0;"> |
---|
148 | <div id="DirectorioTable" style='overflow-x:scroll;overflow-y:hidden;width:995px,heigth:84px'></div> |
---|
149 | <div id="flotante"></div> |
---|
150 | <br /> |
---|
151 | <!-- <form id="forma" class="formulario" action={% url "codigos_arancelarios" %} method="post"> |
---|
152 | <input type="hidden" id="paises" name="paises" value=""> |
---|
153 | <button type="submit">Consultar</button> |
---|
154 | </form>--> |
---|
155 | </div> |
---|
156 | {% endblock formulario %} |
---|
157 | {% block articulouno %} |
---|
158 | {% endblock articulouno %} |
---|
159 | {% block articulodos %} |
---|
160 | {% endblock articulodos %} |
---|
161 | {% block noticias %} |
---|
162 | {% endblock noticias %} |
---|
163 | |
---|