Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

préparation ampoule Pifodrome #429

Open
wants to merge 1 commit into
base: pifometre-v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ hr {
}

#pifofiltres div {
width: auto;
/*width: auto;*/
display: inline-block;
}

Expand Down Expand Up @@ -863,6 +863,24 @@ hr {
min-width: 300px;
}

#bouton_theme_route_de {
cursor: pointer;
position: relative;
top: 0;
right: 10px;
background: url("../img/ampoule_off.png") no-repeat center;
background-size: 72px;
width: 72px;
height: 90px;
font-weight: bold;
color: #333;
}

#bouton_theme_route_de.actif {
background: url("../img/ampoule.png") no-repeat center;
background-size: 72px;
}

/*-------------------------------------------------------------*/
/*-------------- Bloc Pifostats --------------*/
/*-------------------------------------------------------------*/
Expand Down Expand Up @@ -1467,6 +1485,14 @@ hr {
margin:revert;
}

/*-------------------------------------*/
/*-------- Sur Pifodrome --------*/
/*-------------------------------------*/
.zone-boutons-filtres {
float: left;
width: 49%;
}

/*-------------------------------------------------------------------*/
/*----------------- PAGE QUALIFICATION DES ADRESSES -----------------*/
/*------ Descriptif de la voie ou du lieu-dit en deux colonnes ------*/
Expand Down
Binary file added img/ampoule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ampoule_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 13 additions & 2 deletions pifodrome.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h3>Progression</h3>
</div>
<!----------------------- Pifofiltres ----------------------->
<div id="pifofiltres" class="pifodrome">
<h3>Afficher ou masquer...</h3>
<div class="ligne-boutons-filtres">
<div class="zone-boutons-filtres">
<h3>Afficher ou masquer...</h3>
<div>
<ul>
<li>
Expand All @@ -64,6 +64,9 @@ <h3>Afficher ou masquer...</h3>
</ul>
</div>
</div>
<div class="zone-boutons-themes">
<button id="bouton_theme_route_de">Les<br/>Routes de...</button>
</div>
</div>

<div id="descriptif">
Expand Down Expand Up @@ -305,6 +308,14 @@ <h2></h2> <!-- Nom voie -->
filtre_pifodrome()
})

//Idées
$('#pifofiltres.pifodrome button').click(function(){
if($(this).hasClass('actif')) {
$(this).removeClass('actif')
}
else $(this).addClass('actif')
})

function bilto(casaque_debut,casaque_fin){
$.ajax({
url: "bilto.py?debut="+casaque_debut+"&fin="+casaque_fin
Expand Down