Fixes in dashboard, added distro field for serverdbtask table
This commit is contained in:
parent
7a0b0abbdb
commit
8a0354b85b
5 changed files with 28 additions and 3 deletions
|
|
@ -22,7 +22,16 @@ form_set=[]
|
|||
% if len(value)>=2:
|
||||
% for script in enumerate(value, 1):
|
||||
%if script[1][2]==1:
|
||||
<option value="${script[1][1]}">
|
||||
<%
|
||||
|
||||
checked=''
|
||||
|
||||
if script[1][1]==task_path:
|
||||
checked='selected'
|
||||
|
||||
%>
|
||||
|
||||
<option value="${script[1][1]}" ${checked}>
|
||||
${script[1][0].split(',')[0].strip()}
|
||||
<%
|
||||
form_set.append('<input type="hidden" name="'+script[1][1]+'" id="'+script[1][1].replace('/', '_')+'_form" value="'+str(script[1][3])+'">')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue