Changeset 40a5fca in observatorio
- Timestamp:
- Sep 4, 2014, 2:41:55 PM (10 years ago)
- Branches:
- master
- Children:
- a37a9ec
- Parents:
- e1678fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
procesos/apps/geocadena/templates/geocadena.html
r5c668cd r40a5fca 86 86 {% endfor %} 87 87 ]; 88 88 89 var acercade = '<img src="/sig/mapmedia/imgs/icons/logompv.png" width="120px"><br/>' + 90 '<p style="text-align:justify; padding-top:15px;">Sistema de Información Geográfico (SIG) para ' + 91 'la georeferencia de cadenas de producción e indicadores estadísticos</p>' + 92 '<p style="text-align:justify; padding-top:15px;">Centro Nacional de Desarrollo e Investigación ' + 93 'en Tecnologías Libres (CENDITEL) nodo Mérida - Venezuela</p>'; 94 89 95 /** 90 96 * @brief Ejecuta las instrucciones necesarias para crear la interfaz de usuario del sistema y la … … 92 98 */ 93 99 Ext.onReady(function() { 94 100 mapPanel = new GeoExt.MapPanel({ 95 101 border: true, 102 id: 'mapa', 96 103 region: "center", 97 104 map: mapa, … … 128 135 menu: [{ 129 136 id: 'acerca_de', 130 text: 'acerca de' 137 text: 'acerca de', 138 handler: function() { 139 Ext.Msg.show({ 140 title: 'Acerca de...', 141 msg: acercade, 142 width: 800, 143 buttons: Ext.Msg.OK, 144 icon: 'acercade', 145 fn: this.callback 146 }); 147 } 131 148 },{ 132 149 id: 'docusr', 133 150 text: 'manual para usuario', 134 151 handler: function() { 135 window.open("/sig/docs/ sistema/html/index.html");152 window.open("/sig/docs/usuario/build/index.html"); 136 153 } 137 154 },{% if debug %}{ … … 147 164 }) 148 165 }); 149 166 167 150 168 {% if cadena and referencias %} 151 169 // Invoca a la función de conexiones para establecer las relaciones entre las Unidades Económicas a … … 167 185 url_capa: "{% url 'load_layer_json' %}?capa="+capas_extra[c].capa+"&" + 168 186 "field="+capas_extra[c].campo, 169 //mediaURL: '/sig/mapmedia/geojson/',170 //archivo: 'carreteras_vzla',171 187 strokeDefaultColor: stroke_color, 172 188 strokeDefaultWidth: 1, … … 180 196 181 197 var treeConfig = [{ 182 nodeType: "gx_baselayercontainer" 198 nodeType: "gx_baselayercontainer", 199 text: "Capas Base" 183 200 }, { 184 201 nodeType: "gx_overlaylayercontainer", 202 text: "Capas Extra", 185 203 expanded: true, 186 204 loader: { … … 188 206 radioGroup: "foo", 189 207 uiProvider: "layernodeui" 190 } ,208 } 191 209 } 192 210 }]; … … 263 281 }; 264 282 265 var banner = '<img src="{% static 'images/BANNER2_MPV.jpg' %}" width="1450px" height="150px" />'; 283 var iconompv = '<img src="/sig/mapmedia/imgs/icons/logompv.png" width="120px">'; 284 var header_static = '<div style="float:left;">'+iconompv+'</div>'; 285 header_static += '<div style="float:left;text-align:center;width:91%; font-size: 14px; ' + 286 'font-weight: bold; height: 45px; padding-top: 15px;color:#24428B;"><span ' + 287 'style="vertical-align:middle">SISTEMA DE ' + 288 'INFORMACIÓN GEOGRAFICO</span></div>'; 266 289 267 290 new Ext.Viewport({ … … 271 294 layout: "border", 272 295 deferredRender: false, 273 items: [{ 296 items: [ 297 new Ext.BoxComponent({ 274 298 region: 'north', 275 h tml: banner,276 auto Height: true,277 border: false,278 margins: '0 0 5 0',279 collapsible: true280 } ,299 height: 48, // give north and south regions a height 300 autoEl: { 301 tag: 'div', 302 html: header_static 303 } 304 }), 281 305 mapPanel, 282 306 { … … 345 369 numDigits: 6, 346 370 emptyString: 'Cursor fuera del Mapa', 347 displayProjection: fromProjection ,371 displayProjection: fromProjection 348 372 })); 349 350 351 352 353 354 355 // Crea el objeto que permite mostrar un mensaje de cargando... 356 /*var loading = Ext.get('loading'); 357 var mask = Ext.get('loading-mask'); 358 mask.setOpacity(0.8); 359 mask.shift({ 360 xy: loading.getXY(), 361 width: loading.getWidth(), 362 height: loading.getHeight(), 363 remove: true, 364 duration: 1, 365 opacity: 0.3, 366 easing: 'easeOut', 367 callback: function() { 368 loading.fadeOut({ 369 duration: 1, 370 remove: true 371 }); 372 } 373 });*/ 373 374 374 }); 375 376 377 375 378 376 </script>
Note: See TracChangeset
for help on using the changeset viewer.