Commit 0eef64cc4a0a57600744e5acf5d0d4d951f5c6fe

Authored by Edmar Moretti
1 parent 3447092b

correções na formatação HTML

ferramentas/analisageometrias/index.htm
1 <html> 1 <html>
2 <head> 2 <head>
3 -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">  
4 -<link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas.css">  
5 -<link rel="stylesheet" type="text/css" href="../../pacotes/yui231/build/tabview/assets/skins/sam/tabview.css">  
6 -<style type="text/css">  
7 -.yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;}  
8 -</style>  
9 -<title></title> 3 + <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  4 + <link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas.css">
  5 + <link rel="stylesheet" type="text/css" href="../../pacotes/yui231/build/tabview/assets/skins/sam/tabview.css">
  6 + <style type="text/css">
  7 + .yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;}
  8 + </style>
  9 + <title></title>
10 </head> 10 </head>
11 <body class="yui-skin-sam" > 11 <body class="yui-skin-sam" >
12 <div class=verdeescuro style="top:0px;cursor:pointer;left:0px;"> 12 <div class=verdeescuro style="top:0px;cursor:pointer;left:0px;">
@@ -16,17 +16,17 @@ @@ -16,17 +16,17 @@
16 </div> 16 </div>
17 <div id=geral style="left:0px;top:0px;" > 17 <div id=geral style="left:0px;top:0px;" >
18 <div id=guia1obj style="width:95%;text-align:left;position:relative;top:0px;left:5px"> 18 <div id=guia1obj style="width:95%;text-align:left;position:relative;top:0px;left:5px">
19 - <div id=opc1 style=left:0px >  
20 - Escolha o tema que receber&aacute; a sele&ccedil;&atilde;o:  
21 - <div id="temas" style="width:90%;text-align:left;left:0px"> 19 + <div id=opc1 style=left:0px >
  20 + Escolha o tema que receber&aacute; a sele&ccedil;&atilde;o:
  21 + <div id="temas" style="width:90%;text-align:left;left:0px">
  22 + </div>
  23 + <br>Tipo de sele&ccedil;&atilde;o:
  24 + <div id="operacao" style="width:90%;text-align:left;left:0px">
  25 + </div>
  26 + <div onclick="capturageo()" style="width:90%;text-align:left;left:0px">
  27 + <br><input id=botao1 size=45 type=button value="Capturar as geometrias selecionadas"/><br><br>
  28 + </div>
22 </div> 29 </div>
23 - <br>Tipo de sele&ccedil;&atilde;o:  
24 - <div id="operacao" style="width:90%;text-align:left;left:0px">  
25 - </div>  
26 - <div onclick="capturageo()" style="width:90%;text-align:left;left:0px">  
27 - <br><input id=botao1 size=45 type=button value="Capturar as geometrias selecionadas"/><br><br>  
28 - </div>  
29 - </div>  
30 <div id=men1 style="top:5px;left:0px">Ap&oacute;s escolher o tema, clique no mapa para selecionar os elementos desejados, caso vc j&aacute; n&atilde;o tenha feito isso ou caso deseje alterar a sele&ccedil;&atilde;o. Conclu&iacute;da a sele&ccedil;&atilde;o, clique no bot&atilde;o de captura para obter as geometrias. <br>As geometrias capturadas podem ser vistas na segunda guia. 30 <div id=men1 style="top:5px;left:0px">Ap&oacute;s escolher o tema, clique no mapa para selecionar os elementos desejados, caso vc j&aacute; n&atilde;o tenha feito isso ou caso deseje alterar a sele&ccedil;&atilde;o. Conclu&iacute;da a sele&ccedil;&atilde;o, clique no bot&atilde;o de captura para obter as geometrias. <br>As geometrias capturadas podem ser vistas na segunda guia.
31 </div> 31 </div>
32 </div> 32 </div>
@@ -44,42 +44,42 @@ @@ -44,42 +44,42 @@
44 <br><input id=botao2 type=buttom size=25 value="C&aacute;lculos" />&nbsp; 44 <br><input id=botao2 type=buttom size=25 value="C&aacute;lculos" />&nbsp;
45 </div> 45 </div>
46 <select id=calculos style=position:relative;top:-20px;left:120px > 46 <select id=calculos style=position:relative;top:-20px;left:120px >
47 - <option value="" selected >---</option>  
48 - <option value=area >&aacute;rea</option>  
49 - <option value=perimetro >per&iacute;metro</option> 47 + <option value="" selected >---</option>
  48 + <option value=area >&aacute;rea</option>
  49 + <option value=perimetro >per&iacute;metro</option>
50 </select><br> 50 </select><br>
51 <div onclick='funcoes()' style="text-align:left;left:0px"> 51 <div onclick='funcoes()' style="text-align:left;left:0px">
52 Operações que criam novas geometrias a partir de duas ou mais geometrias:<br> 52 Operações que criam novas geometrias a partir de duas ou mais geometrias:<br>
53 <br><input id=botao3 type=button size=25 value='Fun&ccedil;&otilde;es nG' /> &nbsp; 53 <br><input id=botao3 type=button size=25 value='Fun&ccedil;&otilde;es nG' /> &nbsp;
54 </div> 54 </div>
55 <select id=funcoes style=position:relative;top:-20px;left:120px > 55 <select id=funcoes style=position:relative;top:-20px;left:120px >
56 - <option value="" selected >---</option>  
57 - <option value=union_geos >Uni&atilde;o</option>  
58 - <option value=intersection >Intersec&ccedil;&atilde;o</option>  
59 - <option value=difference >Diferen&ccedil;a</option>  
60 - <option value=symdifference >Diferen&ccedil;a inversa</option>  
61 - <option value=convexhull >Convexo</option> 56 + <option value="" selected >---</option>
  57 + <option value=union_geos >Uni&atilde;o</option>
  58 + <option value=intersection >Intersec&ccedil;&atilde;o</option>
  59 + <option value=difference >Diferen&ccedil;a</option>
  60 + <option value=symdifference >Diferen&ccedil;a inversa</option>
  61 + <option value=convexhull >Convexo</option>
62 </select> 62 </select>
63 <div onclick='funcoes1()' style="text-align:left;left:0px"> 63 <div onclick='funcoes1()' style="text-align:left;left:0px">
64 Operações que atuam sobre uma única geometria:<br> 64 Operações que atuam sobre uma única geometria:<br>
65 <br><input id=botaof1 type=button size=25 value='Fun&ccedil;&otilde;es 1G' /> &nbsp; 65 <br><input id=botaof1 type=button size=25 value='Fun&ccedil;&otilde;es 1G' /> &nbsp;
66 </div> 66 </div>
67 <select id=funcoes1 style=position:relative;top:-20px;left:120px > 67 <select id=funcoes1 style=position:relative;top:-20px;left:120px >
68 - <option value="" selected >---</option>  
69 - <option value=convexhull >convexo</option>  
70 - <option value=boundary >entorno</option> 68 + <option value="" selected >---</option>
  69 + <option value=convexhull >convexo</option>
  70 + <option value=boundary >entorno</option>
71 </select> 71 </select>
72 </div> 72 </div>
73 <div id=men2 style="text-align:left;left:0px" > 73 <div id=men2 style="text-align:left;left:0px" >
74 - As opera&ccedil;&otilde;es de an&aacute;lise s&atilde;o executadas sobre as geometrias selecionadas.  
75 - Para maiores informações, veja: <a href='http://www.opengeospatial.org/standards/sfs' target=blank >OGC</a>, <a href='http://postgis.refractions.net/docs/ch06.html' target=blank >PostGis, </a>e <a href='http://www.vividsolutions.com/jts/tests/index.html' target=blank >JTS</a>  
76 - <br>Algumas fun&ccedil;&otilde;es para operarem corretamente sobre temas pontuais, precisam que antes seja feita a uni&atilde;o dos pontos em uma nova geometria. 74 + As opera&ccedil;&otilde;es de an&aacute;lise s&atilde;o executadas sobre as geometrias selecionadas.
  75 + Para maiores informações, veja: <a href='http://www.opengeospatial.org/standards/sfs' target=blank >OGC</a>, <a href='http://postgis.refractions.net/docs/ch06.html' target=blank >PostGis, </a>e <a href='http://www.vividsolutions.com/jts/tests/index.html' target=blank >JTS</a>
  76 + <br>Algumas fun&ccedil;&otilde;es para operarem corretamente sobre temas pontuais, precisam que antes seja feita a uni&atilde;o dos pontos em uma nova geometria.
77 </div> 77 </div>
78 </div> 78 </div>
79 </div> 79 </div>
80 -<!--mantido aqui apenas para compatibilidade-->  
81 -<input type=hidden id=toleranciapt value=0 />  
82 -<script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script>  
83 -<script language="JavaScript" type="text/javascript" src="index.js"></script> 80 + <!--mantido aqui apenas para compatibilidade-->
  81 + <input type=hidden id=toleranciapt value=0 />
  82 + <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script>
  83 + <script language="JavaScript" type="text/javascript" src="index.js"></script>
84 </body> 84 </body>
85 </html> 85 </html>
86 \ No newline at end of file 86 \ No newline at end of file
ferramentas/cores.htm
@@ -5,8 +5,8 @@ e o elemento, elemento=xxx @@ -5,8 +5,8 @@ e o elemento, elemento=xxx
5 --> 5 -->
6 <html> 6 <html>
7 <head> 7 <head>
8 -</head>  
9 -<link rel="stylesheet" type="text/css" href="../css/geral.css"> 8 +<title></title>
  9 +
10 <style type="text/css"> 10 <style type="text/css">
11 div 11 div
12 { 12 {
@@ -18,6 +18,7 @@ div @@ -18,6 +18,7 @@ div
18 font-size:10px; 18 font-size:10px;
19 } 19 }
20 </style> 20 </style>
  21 +</head>
21 <body style='background-color:white'> 22 <body style='background-color:white'>
22 <div id='cores' > 23 <div id='cores' >
23 Aguarde... 24 Aguarde...
@@ -32,10 +33,10 @@ Aguarde... @@ -32,10 +33,10 @@ Aguarde...
32 <option value=amarelo >amarelo</option> 33 <option value=amarelo >amarelo</option>
33 <option value=misto >misto</option> 34 <option value=misto >misto</option>
34 </select> 35 </select>
35 -<img src=../imagens/plus.gif onclick="mais()"/>  
36 -<img src=../imagens/minus.gif onclick="menos()"/> 36 +<img alt="" src=../imagens/plus.gif onclick="mais()"/>
  37 +<img alt="" src=../imagens/minus.gif onclick="menos()"/>
37 </div> 38 </div>
38 -</body> 39 +
39 <script type="text/javascript" > 40 <script type="text/javascript" >
40 //detec�o do navegador 41 //detec�o do navegador
41 navm = false; // IE 42 navm = false; // IE
@@ -61,12 +62,7 @@ function inicia(esquema) @@ -61,12 +62,7 @@ function inicia(esquema)
61 ins += "<tbody><tr>\n"; 62 ins += "<tbody><tr>\n";
62 for (colunas = 1; colunas < numc; colunas++) 63 for (colunas = 1; colunas < numc; colunas++)
63 { 64 {
64 - //if ((r < 256) && (g < 256) && (b < 256))  
65 - //{  
66 - ins += "<td onclick='aplicacor(\""+r+","+g+","+b+"\")' width=10 style='padding: 0px; border: 0px; line-height:5pt;cursor:pointer; background-color:rgb("+r+","+g+","+b+")' >&nbsp;</td>\n";  
67 - //}  
68 - //else  
69 - //{ins += "<td></td>\n";} 65 + ins += "\<td onclick='aplicacor(\""+r+","+g+","+b+"\")' width=10 style='padding: 0px; border: 0px; line-height:5pt;cursor:pointer; background-color:rgb("+r+","+g+","+b+")' \>&nbsp;\<\/td\>\n";
70 if (esquema == "vermelho") {g = g + intnc;b = b + intnc;} 66 if (esquema == "vermelho") {g = g + intnc;b = b + intnc;}
71 if (esquema == "verde") {r = r + intnc;b = b + intnc;} 67 if (esquema == "verde") {r = r + intnc;b = b + intnc;}
72 if (esquema == "azul") {g = g + intnc;r = r + intnc;} 68 if (esquema == "azul") {g = g + intnc;r = r + intnc;}
@@ -75,7 +71,7 @@ function inicia(esquema) @@ -75,7 +71,7 @@ function inicia(esquema)
75 if (esquema == "amarelo") {g = g + intnc;r = 255; b = 0;} 71 if (esquema == "amarelo") {g = g + intnc;r = 255; b = 0;}
76 if (esquema == "misto") {g = Math.ceil(Math.random() * 255);r = Math.ceil(Math.random() * 255);b = Math.ceil(Math.random() * 255);} 72 if (esquema == "misto") {g = Math.ceil(Math.random() * 255);r = Math.ceil(Math.random() * 255);b = Math.ceil(Math.random() * 255);}
77 } 73 }
78 - ins += "</tr></tbody>\n"; 74 + ins += "\<\/tr\>\<\/tbody>\n";
79 if (esquema == "vermelho"){r = r + intnl; g = 0; b = 0;} 75 if (esquema == "vermelho"){r = r + intnl; g = 0; b = 0;}
80 if (esquema == "verde"){g = g + intnl; r = 0; b = 0;} 76 if (esquema == "verde"){g = g + intnl; r = 0; b = 0;}
81 if (esquema == "azul"){b = b + intnl; g = 0; r = 0;} 77 if (esquema == "azul"){b = b + intnl; g = 0; r = 0;}
@@ -83,7 +79,7 @@ function inicia(esquema) @@ -83,7 +79,7 @@ function inicia(esquema)
83 if (esquema == "ciano"){b = 255; g = linhas; r = 0;} 79 if (esquema == "ciano"){b = 255; g = linhas; r = 0;}
84 if (esquema == "amarelo"){b = 0; g = linhas; r = 255;} 80 if (esquema == "amarelo"){b = 0; g = linhas; r = 255;}
85 } 81 }
86 - document.getElementById("cores").innerHTML = "<table cellpadding='0' cellspacing='0' border='0'>"+ins+"</table>" 82 + document.getElementById("cores").innerHTML = "\<table cellpadding='0' cellspacing='0' border='0'\>"+ins+"\<\/table\>"
87 } 83 }
88 function muda (e) 84 function muda (e)
89 { 85 {
@@ -108,3 +104,5 @@ function aplicacor(c) @@ -108,3 +104,5 @@ function aplicacor(c)
108 window.parent.wdocafechaf('wdocac') 104 window.parent.wdocafechaf('wdocac')
109 } 105 }
110 </script> 106 </script>
  107 +</body>
  108 +</html>
111 \ No newline at end of file 109 \ No newline at end of file
ferramentas/googlemaps/index.htm
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script> 3 <script src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script>
4 -<script language="JavaScript" type="text/javascript" src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAg9kA9xQlYqK9iBDKaeTpgxSieGwtcPDeiUtRiq7Xa63cyLppcxTVYXnVlPwveOe-sXuXfpBeNpL6pA"> 4 +<script language="JavaScript" type="text/javascript" src="http://maps.google.com/maps?file=api&amp;v=1&amp;key=ABQIAAAAg9kA9xQlYqK9iBDKaeTpgxSieGwtcPDeiUtRiq7Xa63cyLppcxTVYXnVlPwveOe-sXuXfpBeNpL6pA">
5 </script> 5 </script>
6 <title></title> 6 <title></title>
7 </head> 7 </head>