Add bog theme in interface
This commit is contained in:
parent
c4b9eaf60a
commit
5c1dfb1fee
@ -12,10 +12,10 @@
|
|||||||
<label for="blog-theme">Theme</label>
|
<label for="blog-theme">Theme</label>
|
||||||
<select id="blog-theme" name="blog-theme">
|
<select id="blog-theme" name="blog-theme">
|
||||||
<option selected> Default </option>
|
<option selected> Default </option>
|
||||||
<option>Blanc et noir</option>
|
<option>orangina</option>
|
||||||
<option>Noir et blanc </option>
|
<option>Blanc&Noir</option>
|
||||||
<option>Chocolat</option>
|
<option>Noir&Blanc</option>
|
||||||
<option>Orange et noir</option>
|
<option>Orange&noir</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -134,7 +134,7 @@ def personnalize_blog():
|
|||||||
|
|
||||||
f = request.files['personnal-blog-theme']
|
f = request.files['personnal-blog-theme']
|
||||||
|
|
||||||
blog_theme = escape(request.form['blog-theme'])
|
blog_theme = str(request.form['blog-theme'])
|
||||||
|
|
||||||
|
|
||||||
if blog_theme != "Default":
|
if blog_theme != "Default":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user