semi fixed move dbox, the input group is still not right, but it will suffice, more use of svg and ditching font awesome
This commit is contained in:
10
shared.py
10
shared.py
@@ -9,9 +9,9 @@ hostname = socket.gethostname()
|
||||
PROD_HOST="pa_web"
|
||||
|
||||
ICON={}
|
||||
ICON["Import"]="fa-file-upload"
|
||||
ICON["Storage"]="fa-database"
|
||||
ICON["Bin"]="fa-trash-alt"
|
||||
ICON["Import"]="import"
|
||||
ICON["Storage"]="db"
|
||||
ICON["Bin"]="trash"
|
||||
|
||||
if hostname == "lappy":
|
||||
PA_JOB_MANAGER_HOST="localhost"
|
||||
@@ -40,8 +40,8 @@ def CreateSelect(name, selected, list, js="", add_class="" ):
|
||||
str += '</select>'
|
||||
return str
|
||||
|
||||
def CreateFoldersSelect(selected):
|
||||
str = f'<select id="folders" name="folders" class="sm-txt bg-white text-info border-info border-1 p-1" onChange="this.form.submit()">'
|
||||
def CreateFoldersSelect(selected, add_class=""):
|
||||
str = f'<select id="folders" name="folders" class="{add_class} sm-txt bg-white text-info border-info border-1 p-1" onChange="this.form.submit()">'
|
||||
# if selected is true, then folders == true, so make this the selected option
|
||||
if( selected ):
|
||||
str += '<option selected value="True">In Folders</option>'
|
||||
|
||||
Reference in New Issue
Block a user