Commit dd8c5d7a5d1e12502ea9c675f10eb3a10b94c744
1 parent
2726b9a0
Exists in
master
and in
1 other branch
Criação da funcionalidade para exibir imagem de loading
Showing
1 changed file
with
19 additions
and
14 deletions
Show diff stats
src/main/webapp/WEB-INF/jsp/index/index.jsp
@@ -39,9 +39,8 @@ | @@ -39,9 +39,8 @@ | ||
39 | 39 | ||
40 | 40 | ||
41 | <div class="tab"> | 41 | <div class="tab"> |
42 | - <input type="radio" id="tab-1" name="tab-group-1" | ||
43 | - checked="checked" accesskey="u"> | ||
44 | - <label class="rarios" for="tab-1">Validação pela URI <span>U</span></label> | 42 | + <input type="radio" id="tab-1" name="tab-group-1" checked="checked" accesskey="u"> |
43 | + <label class="rarios" id="Validacao_pela_URI" for="tab-1">Validação pela URI <a class="oculto">Tecla de atalho</a><span>U</span></label> | ||
45 | 44 | ||
46 | <div class="contenteudo"> | 45 | <div class="contenteudo"> |
47 | <form name="form1" action="avaliar" method="post"> | 46 | <form name="form1" action="avaliar" method="post"> |
@@ -53,10 +52,12 @@ | @@ -53,10 +52,12 @@ | ||
53 | <input type="hidden" name="behavior" value="true"> | 52 | <input type="hidden" name="behavior" value="true"> |
54 | 53 | ||
55 | 54 | ||
56 | - <label class="" for="url">URL:</label><input id="url" | 55 | + <label class="" for="url">URI:</label><input id="url" |
57 | name="url" value="http://" size="40" type="text"> | 56 | name="url" value="http://" size="40" type="text"> |
58 | <input id="input_tab_1" class="submit" name="executar" | 57 | <input id="input_tab_1" class="submit" name="executar" |
59 | - value="Executar" type="submit"><br> | 58 | + value="Executar" type="submit"> |
59 | + <!-- <div id="imagemLoadingUrl" class="imgLoading oculto"><label id="linkImagemLoadingUrl">Aguardando validação pela URI</label> </div>--> | ||
60 | + <div id="imagemLoadingUrl" class="imgLoading oculto"><a id="linkImagemLoadingUrl">Aguardando validação pela URI</a></div> | ||
60 | 61 | ||
61 | </form> | 62 | </form> |
62 | </div> | 63 | </div> |
@@ -64,7 +65,7 @@ | @@ -64,7 +65,7 @@ | ||
64 | 65 | ||
65 | <div class="tab"> | 66 | <div class="tab"> |
66 | <input type="radio" id="tab-2" name="tab-group-1" accesskey="a"> | 67 | <input type="radio" id="tab-2" name="tab-group-1" accesskey="a"> |
67 | - <label class="rarios" for="tab-2">Validação pelo upload de arquivo <span>A</span></label> | 68 | + <label id="validacaoPeloArquivo" class="rarios" for="tab-2">Validação pelo upload de arquivo <a class="oculto">Tecla de atalho</a><span>A</span></label> |
68 | 69 | ||
69 | <div class="contenteudo"> | 70 | <div class="contenteudo"> |
70 | <form name="form2" action="avaliar-arquivo" method="post" | 71 | <form name="form2" action="avaliar-arquivo" method="post" |
@@ -81,19 +82,20 @@ | @@ -81,19 +82,20 @@ | ||
81 | <label for="up_file">Arquivo:</label><input id="up_file" | 82 | <label for="up_file">Arquivo:</label><input id="up_file" |
82 | name="file" size="30" type="file"> | 83 | name="file" size="30" type="file"> |
83 | <input id="input_tab_2" class="submit" name="executar" | 84 | <input id="input_tab_2" class="submit" name="executar" |
84 | - value="Executar" type="submit"> | ||
85 | - | 85 | + value="Executar" type="submit"><br> |
86 | + <div id="imagemLoadingUp_file" class="imgLoading oculto"><a id="linkImagemLoadingUp_file">Aguardando validação pelo arquivo</a> | ||
87 | + </div> | ||
86 | </form> | 88 | </form> |
87 | </div> | 89 | </div> |
88 | </div> | 90 | </div> |
89 | 91 | ||
90 | <div class="tab"> | 92 | <div class="tab"> |
91 | <input type="radio" id="tab-3" name="tab-group-1" accesskey="c"> | 93 | <input type="radio" id="tab-3" name="tab-group-1" accesskey="c"> |
92 | - <label class="rarios" for="tab-3">Validação pelo código fonte <span>C</span></label> | 94 | + <label id="validacaoCodigoFonte" class="rarios" for="tab-3">Validação pelo código fonte <a class="oculto">Tecla de atalho</a><span>C</span></label> |
93 | 95 | ||
94 | <div class="contenteudo"> | 96 | <div class="contenteudo"> |
95 | - <form name="form3" action="avaliar-codigo" method="post" | ||
96 | - enctype="multipart/form-data"> | 97 | + <div id="formulario"> |
98 | + <form name="form3" action="avaliar-codigo" method="post" enctype="multipart/form-data"> | ||
97 | <input type="hidden" name="mark" value="true"> | 99 | <input type="hidden" name="mark" value="true"> |
98 | <input type="hidden" name="content" value="true"> | 100 | <input type="hidden" name="content" value="true"> |
99 | <input type="hidden" name="presentation" value="true"> | 101 | <input type="hidden" name="presentation" value="true"> |
@@ -105,10 +107,13 @@ | @@ -105,10 +107,13 @@ | ||
105 | <label for="input">Código a analisar:<br> | 107 | <label for="input">Código a analisar:<br> |
106 | <textarea id="input" name="html" rows="8" cols="75"></textarea> | 108 | <textarea id="input" name="html" rows="8" cols="75"></textarea> |
107 | </label> | 109 | </label> |
108 | - <br><input class="submit" name="executar" | ||
109 | - value="Executar" type="submit"> | 110 | + <br><input id="input_tab_3" class="submit" name="executar" value="Executar" type="submit"> |
111 | + </form> | ||
112 | + </div> | ||
110 | 113 | ||
111 | - </form> | 114 | + <div id="imagemLoadingHtml" class="imgLoadingHtml oculto"><a id="linkImagemLoadingHtml">Aguardando validação pelo código fonte</a> |
115 | + </div> | ||
116 | + | ||
112 | 117 | ||
113 | </div> | 118 | </div> |
114 | </div> | 119 | </div> |