tools
This commit is contained in:
@@ -136,7 +136,6 @@ class ChartParameter(object):
|
||||
<div id="{parameter.name}" style="margin-left: 30px; display: inline-block"></div>
|
||||
</div>
|
||||
"""
|
||||
|
||||
if parameter.input_type == "rgb":
|
||||
parameter.input_type = self.colors_dict[f"{parameter.name}"] = "rgb"
|
||||
f"""
|
||||
@@ -145,7 +144,6 @@ class ChartParameter(object):
|
||||
</div>
|
||||
"""
|
||||
self.colors += 1
|
||||
|
||||
if parameter.input_type == "palettes":
|
||||
parameter.input_type = f"""
|
||||
<select {parameter.astrict} id="{parameter.name}" lay-verify="required" value="{parameter.value}" autocomplete="off"
|
||||
@@ -254,7 +252,6 @@ class="layui-input" style="height: 25px; width:80px;margin-top: 6px">
|
||||
<div id="{parameter.name}" style="margin-left: 30px; display: inline-block"></div>
|
||||
</div>
|
||||
"""
|
||||
|
||||
if parameter.input_type == "rgb":
|
||||
self.colors_dict[f"{parameter.name}"] = "rgb"
|
||||
parameter.input_type = f"""
|
||||
@@ -262,7 +259,6 @@ class="layui-input" style="height: 25px; width:80px;margin-top: 6px">
|
||||
<div id="{parameter.name}" style="margin-left: 30px; display: inline-block"></div>
|
||||
</div>
|
||||
"""
|
||||
|
||||
if parameter.input_type == "palettes":
|
||||
parameter.input_type = f"""
|
||||
<select {parameter.astrict} id="{parameter.name}" lay-verify="required" value="{parameter.value}" autocomplete="off"
|
||||
|
||||
Reference in New Issue
Block a user