Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>EcomBust: Gestión</title>
- <link rel="stylesheet" type="text/css" href="../CSS/estilos.css">
- </head>
- <body>
- <script>
- function spoiler() {
- var vis2 = document.getElementById("STable");
- var vis = document.getElementById("PTable");
- var button = document.getElementById("btn");
- button.style.visibility = "visible";
- vis.style.visibility = "visible";
- if (vis2.style.visibility = "visible") {
- vis2.style.visibility = "hidden";
- vis2.style.width = "0%";
- }
- }
- function spoiler2() {
- var vis = document.getElementById("PTable");
- var vis2 = document.getElementById("STable");
- var button = document.getElementById("btn");
- button.style.visibility = "visible";
- vis2.style.visibility = "visible";
- if (vis.style.visibility = "visible") {
- vis.style.visibility = "hidden";
- vis2.style.width = "0%";
- }
- }
- </script>
- <a href="../paginas/index.html"><img id="logo" src="../fotos/convector.png"></a>
- <br/>
- <div class="sticky">
- <ul class="cambio1" position="fixed">
- <li class="cambio2"><a href="../paginas/index.html">Inicio</a></li>
- <li class="dropdown">
- <a class="dropbtn" href="./paginas/gasolineras.html">Gasolineras</a>
- <div class="dropdown-content">
- <a href="../paginas/gasolineras.html#Precio">Precio</a>
- <a href="../paginas/gasolineras.html#Ubicación">Ubicación</a>
- <a href="../paginas/gasolineras.html#Servicios disponibles">Servicios disponibles</a>
- </div>
- </li>
- <li class="cambio2"><a href="../paginas/gestion.html">Gestión</a></li>
- <li class="dropdown">
- <a class="dropbtn" href="../paginas/sugerencias.html">Sugerencias</a>
- <div class="dropdown-content">
- <a href="../paginas/sugerencias.html#Sugerencias de clientes">Sugerencias de clientes</a>
- <a href="../paginas/sugerencias.html#SSugerencias de la aplicación">Sugerencias de la aplicación</a>
- </div>
- </li>
- <li class="cambio2"><a href="../paginas/viaje_personalizado.html">Viaje personalizado</a></li>
- <li style="float:right" class="dropdown">
- <a class="dropbtn" href="../paginas/registrate.html">Registrate</a>
- </li>
- </ul>
- </div>
- </br>
- </br>
- </br>
- </br>
- <button type="button" id="spoiler" onclick="spoiler()">
- </button>
- <label id="lbl" for="spoiler">Gestiona precios</label>
- <button type="button" id="spoiler2" onclick="spoiler2()">
- </button>
- <label id="lbl2" for="spoiler2">Gestiona servicios</label>
- </br>
- </br>
- </br>
- </br>
- <table class="preciosTable" id="PTable">
- <thead>
- <tr style="background-color:white;">
- <th style="width:30%;"></th>
- <th style="width:23%;"><img src="../fotos/repsol.png" style="width:140px; height:40px;"></th>
- <th style="width:23%;"><img src="../fotos/cepsa.png" style="width:120px; height:30px;"></th>
- <th style="width:23%;"><img src="../fotos/shell.jpg" style="width:120px; height:30px;"></th>
- <th style="width:23%;"><img src="../fotos/galp.jpg" style="width:120px; height:50px;"></th>
- <th style="width:23%;"><img src="../fotos/avia.png" style="width:140px; height:50px;"></th>
- <th style="width:23%;"><img src="../fotos/aralar.png" style="width:110px; height:30px;"></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td id="combust">Diesel</td>
- <td style="width:23%;"><input type="text" value="1.279" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.269" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.263" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.199" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.239" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.209" style="width:30%; text-align:right;"> €</td>
- </tr>
- <tr>
- <td id="combust">Sin plomo 95</td>
- <td style="width:23%;"><input type="text" value="1.369" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.369" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.355" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.293" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.329" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.219" style="width:30%; text-align:right;"> €</td>
- </tr>
- <tr>
- <td id="combust">Sin plomo 98</td>
- <td style="width:23%;"><input type="text" value="1.479" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.484" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.495" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.469" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.448" style="width:30%; text-align:right;"> €</td>
- <td style="width:23%;"><input type="text" value="1.309" style="width:30%; text-align:right;"> €</td>
- </tr>
- </tbody>
- </table>
- <table class="preciosTable" id="STable">
- <thead>
- <tr>
- <th style="background-color:green;"><img src="../fotos/combust.png"></th>
- <th><img src="../fotos/comida.png"></th>
- <th><img src="../fotos/baño.png"></th>
- <th><img src="../fotos/cafe.png"></th>
- <th><img src="../fotos/shop.png"></th>
- <th><img src="../fotos/car.png"></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td style="width:23%;">
- <select onChange="prueba()">
- <option value="Repsol">Repsol</option>
- <option value="Cepsa">Cepsa</option>
- <option value="Shell">Shell</option>
- <option value="Galp">Galp</option>
- <option value="Avia">Avia</option>
- <option value="Aralar">Aralar</option>
- </select>
- </td>
- <td style="width:23%;"><input type="checkbox" id="checkbox1"> </td>
- <td style="width:23%;"><input type="checkbox" id="checkbox2"> </td>
- <td style="width:23%;"><input type="checkbox" id="checkbox3"> </td>
- <td style="width:23%;"><input type="checkbox" id="checkbox4"> </td>
- <td style="width:23%;"><input type="checkbox" id="checkbox5"> </td>
- </tr>
- </tbody>
- </table>
- <a style="position: absolute; top: 940px; right: 500px;" id="btn" class="myButton">Guardar</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement