Commit 9e10ed8aac963c6db334a6c05163b02d6390a7fe
1 parent
b86633e5
Exists in
master
and in
7 other branches
correção na interface datadownload e ogc.htm
Showing
4 changed files
with
21 additions
and
15 deletions
Show diff stats
classesjs/datadownload.js
... | ... | @@ -351,18 +351,20 @@ function dataDownloadLinks(rss) |
351 | 351 | } |
352 | 352 | var linhas = retorno.data.split("|") |
353 | 353 | var ins = "" |
354 | - for (var i=0;i<linhas.length; i++) | |
354 | + var n = linhas.length; | |
355 | + if(n == 1){return;} | |
356 | + for (var i=0;i<n; i++) | |
355 | 357 | { |
356 | 358 | var caso = linhas[i].split("#") |
357 | 359 | if (i > 0) |
358 | 360 | { |
359 | - ins += "<a style=text-align:left href='"+caso[2]+"' target=blank >"+caso[0]+" ("+caso[3]+")</a>" | |
361 | + ins += "<a style=text-align:left href='"+caso[2]+"' target=blank >"+caso[0]+" ("+caso[1]+")</a>" | |
360 | 362 | ins += "<br>" |
361 | 363 | } |
362 | 364 | else |
363 | 365 | {ins += "<p class=clique ><b>"+caso[0]+"</b> "+caso[1]+" </p>"} |
364 | 366 | } |
365 | - document.getElementById("RSSl").innerHTML = ins+"<br><br>" | |
367 | + document.getElementById("RSSl").innerHTML = ins | |
366 | 368 | } |
367 | 369 | if (document.getElementById("RSSl")) |
368 | 370 | { | ... | ... |
datadownload.htm
... | ... | @@ -13,25 +13,27 @@ P |
13 | 13 | #banner |
14 | 14 | {position:absolute;top:0px;left:0px;} |
15 | 15 | #arvoreTemas |
16 | -{overflow:auto;height:400px;width:270px;left:10px;top:135px;position:absolute;} | |
16 | +{width:270px;} | |
17 | 17 | #arvoreDir |
18 | -{text-align:left;overflow:auto;height:120px;top:35px;width:280px;left:10px;position:absolute;} | |
18 | +{width:280px;} | |
19 | 19 | #corpo |
20 | 20 | {text-align:left;font-size:12px;width:480px;position:absolute;top:20px;left:285px;background:rgb(250,250,250);} |
21 | 21 | #bandeiras |
22 | -{width:80px;position:absolute;top:25px;left:2px;} | |
22 | +{width:80px;text-align:left;} | |
23 | 23 | </style> |
24 | 24 | </head> |
25 | 25 | <body class="yui-skin-sam" style="background-color:white"> |
26 | - | |
27 | 26 | <div id=banner ><img src="imagens/barrasuperior_geradordelinks_2006.jpg" width="765" ></div> |
28 | -<div id="bandeiras" ></div> | |
29 | -<!-- aqui vão os links para download --> | |
30 | -<div id=arvoreDir > | |
31 | - <div id=RSSl style="height:100px;overflow:auto;width:230px;text-align:left" ></div> | |
27 | +<div id=menu style="position:absolute;left:10px;top:30px;"> | |
28 | + <div id="bandeiras" ></div> | |
29 | + <br></br> | |
30 | + <div id=arvoreDir > | |
31 | + <div id=RSSl style="width:230px;text-align:left" ></div> | |
32 | + </div> | |
33 | + <br></br> | |
34 | + <!-- aqui vai o menu de opções --> | |
35 | + <div id=arvoreTemas ></div> | |
32 | 36 | </div> |
33 | -<!-- aqui vai o menu de opções --> | |
34 | -<div id=arvoreTemas ></div> | |
35 | 37 | <!-- aqui vai o corpo da aplicação --> |
36 | 38 | <div id=corpo style="background-color:rgb(250,250,250)"> |
37 | 39 | <H1>Download de dados geográficos</H1> | ... | ... |
menutemas/admin.db
No preview for this file type
ogc.htm
... | ... | @@ -12,20 +12,22 @@ P |
12 | 12 | #banner |
13 | 13 | {position:absolute;top:0px;left:0px;} |
14 | 14 | #arvoreTemas |
15 | -{overflow:auto;height:400px;width:280px;position:absolute;top:70px;left:10px;} | |
15 | +{width:280px;} | |
16 | 16 | #corpo |
17 | 17 | {text-align:left;font-size:12px;width:425px;position:absolute;top:30px;left:295px;background:rgb(250,250,250);} |
18 | 18 | #bandeiras |
19 | -{width:80px;position:absolute;top:30px;left:10px;} | |
19 | +{width:80px;text-align:left;} | |
20 | 20 | </style> |
21 | 21 | </head> |
22 | 22 | <body class="yui-skin-sam" style="background-color:white"> |
23 | 23 | <div id=banner ><img src="imagens/barrasuperior_geradordelinks_2006.jpg" width="765" ></div> |
24 | +<div style=position:absolute;left:10px;top:30px; > | |
24 | 25 | <div id="bandeiras" ></div> |
25 | 26 | <br> |
26 | 27 | <div id=arvoreTemas > |
27 | 28 | <p>Carregando árvore... |
28 | 29 | </div> |
30 | +</div> | |
29 | 31 | <!-- aqui vai o corpo da aplicação --> |
30 | 32 | <div id=corpo style="background-color:rgb(250,250,250)"> |
31 | 33 | <H1>Web services OGC</H1> | ... | ... |