Select the current theme

merge-requests/6/head
Bob Mottram 2019-11-23 14:30:12 +00:00
parent 996fed5591
commit 7b6e443370
1 changed files with 2 additions and 0 deletions

View File

@ -632,6 +632,8 @@ def htmlEditProfile(translate: {},baseDir: str,path: str,domain: str,port: int)
themesDropdown+=' <option value="highvis">'+translate['HighVis']+'</option>'
themesDropdown+=' </select>'
themesDropdown+='</div>'
themeName=getConfigParam(baseDir,'theme')
themesDropdown=themesDropdown.replace('<option value="'+themeName+'">','<option value="'+themeName+'" selected>')
editProfileForm=htmlHeader(cssFilename,editProfileCSS)
editProfileForm+='<form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="'+path+'/profiledata">'