diff --git a/templates/profil.html b/templates/profil.html index 5bb300e..b71dd9c 100644 --- a/templates/profil.html +++ b/templates/profil.html @@ -30,9 +30,9 @@ - Theme - - Default + Thème + + Choisissez votre couleur amber blue cyan diff --git a/views/profil.py b/views/profil.py index b263964..e925141 100644 --- a/views/profil.py +++ b/views/profil.py @@ -68,7 +68,7 @@ def profile() : f = request.files['fic'] - if request.form['theme'] != "Default": + if request.form['theme']: copy( "static/vendors/picocss/pico.fluid.classless."+request.form['theme']+".min.css", os.path.join(DOSSIER_PERSO, user ,'theme.min.css') )