Skip to content

Commit

Permalink
Tarea #38
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosaj98 committed Nov 4, 2016
2 parents cfafa8f + e9b14ce commit 1846b89
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
9 changes: 5 additions & 4 deletions css/estilo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
color:black;
margin:480px;
padding:10px;
text-align:centre;
width:900px;
textAlign:center;
}

.b {
Expand Down Expand Up @@ -102,7 +103,7 @@ etiquetainventada1 {
width: 250px;
text-align: center;
float: right;
margin-right: 32px;
margin-right: 0px;
}
.procesar2 {
color: white;
Expand Down Expand Up @@ -176,7 +177,7 @@ etiquetainventada1 {
width: 250px;
border-radius: 8px;
margin-top: 37px;
margin-right: 30px;
margin-right: -15px;
resize: none;
}
button {
Expand All @@ -189,7 +190,7 @@ button {
border: 2px solid #999;
border-radius: 4px;
width: 248px;
margin-right: 33px;
margin-right: -15px;
}

a {
Expand Down
17 changes: 12 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,17 @@
<etiquetainventada1><br></etiquetainventada1>


<center><form>
<div><form>
<table class="d">
<tbody>
<tr>
<td class="d">
<input type="text" class="texto" id="entrada" value="a" onClick="EditarAAnadir('anadir','anadir','textoanadir')"></input>
</td>
<td class="d">
<a href="#" class="tooltip"><div class="anadir" id="anadir" onclick="Anadir('valores','entrada')"><p id="textoanadir" class="borrar2">Añadir</p></div></a>

<a href="#" class="tooltip"><div class="anadir" id="anadir" onclick="Anadir('valores','entrada')"><p id="textoanadir" class="borrar2"><a href="#" class="tooltip">Añadir<span>julio es la hostia por acabar esto</span></a></p></div></a>

</td>
<td rowspan="2" class="d">
<select class="desplegable" id="valores2">
Expand All @@ -97,25 +99,30 @@
</tr>
<tr>
<td colspan="2" class="d">


<div class="borrar" onclick="Borrar('valores')"><a href="#" class="tooltip">Borrar<span>Elimina las entradas seleccionadas</span></a><p class="borrar2"></p></div>

<br class="espacio">



<div class="limpiar" onclick="Limpiar('valores')"><a href="#" class="tooltip">Limpiar</a><p class="borrar2"></p></div>
<div class="limpiar" onclick="Limpiar('valores')"><a href="#" class="tooltip">Limpiar<span>julio es la hostia por acabar esto</span></a><p class="borrar2"></p></div>


</td>
<td class="d">

<div class="procesar" onclick="Procesar()"><a href="#" class="tooltip">Procesar</a><p class="procesar2"></p></div>

<div class="procesar" onclick="Procesar()"><a href="#" class="tooltip">Procesar<span>julio es la hostia por acabar esto</span></a><p class="procesar2"></p></div>

</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
</form>
</center>
</div>
<script>
document.onkeypress = stopRKey;
</script>
Expand Down
9 changes: 9 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ function Procesar(idvalor2, idtexto) {
document.getElementById(idtexto).innerHTML = "Procesando " + valores.options[seleccionado].value;
}

<<<<<<< HEAD
function mostrarMensaje(idTexto, valor) {
document.getElementById(idTexto).innerHTML += valor + "&#13;&#10;"; // Agrego nueva linea antes
}
=======
function mostrarMensaje (idTexto,valor) {
document.getElementById(idTexto).innerHTML += valor +"&#13;&#10;"; // Agrego nueva linea antes
}



>>>>>>> e9b14ceb6fa88c3b902a83aa7d742cb2844c8f95

0 comments on commit 1846b89

Please sign in to comment.