Spaces:
Sleeping
Sleeping
maj-app
Browse files
app.py
CHANGED
|
@@ -59,6 +59,38 @@ with tab1:
|
|
| 59 |
st.header("1. L'analyse des chiffres sur 21 310 locations")
|
| 60 |
st.subheader("- A quelle fréquence sont loués les véhicules ?")
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
# ANALYSE DES LOCATIONS
|
| 63 |
|
| 64 |
# Premier graph nombre de locations des véhicules
|
|
|
|
| 59 |
st.header("1. L'analyse des chiffres sur 21 310 locations")
|
| 60 |
st.subheader("- A quelle fréquence sont loués les véhicules ?")
|
| 61 |
|
| 62 |
+
# Bouton retour en haut
|
| 63 |
+
st.markdown("""
|
| 64 |
+
<style>
|
| 65 |
+
#back-to-top {
|
| 66 |
+
position: fixed;
|
| 67 |
+
bottom: 30px;
|
| 68 |
+
right: 30px;
|
| 69 |
+
background-color: #4CAF50;
|
| 70 |
+
color: white;
|
| 71 |
+
border: none;
|
| 72 |
+
border-radius: 50%;
|
| 73 |
+
padding: 15px;
|
| 74 |
+
font-size: 20px;
|
| 75 |
+
cursor: pointer;
|
| 76 |
+
box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
|
| 77 |
+
transition: all 0.3s ease-in-out;
|
| 78 |
+
z-index: 9999;
|
| 79 |
+
}
|
| 80 |
+
#back-to-top:hover {
|
| 81 |
+
background-color: #45a049;
|
| 82 |
+
transform: scale(1.1);
|
| 83 |
+
}
|
| 84 |
+
</style>
|
| 85 |
+
<button id="back-to-top">⬆️</button>
|
| 86 |
+
<script>
|
| 87 |
+
const btn = document.getElementById("back-to-top");
|
| 88 |
+
btn.addEventListener("click", function(){
|
| 89 |
+
window.scrollTo({top: 0, behavior: 'smooth'});
|
| 90 |
+
});
|
| 91 |
+
</script>
|
| 92 |
+
""", unsafe_allow_html=True)
|
| 93 |
+
|
| 94 |
# ANALYSE DES LOCATIONS
|
| 95 |
|
| 96 |
# Premier graph nombre de locations des véhicules
|