bugfix
This commit is contained in:
parent
78dd2b0788
commit
bc23679c1b
@ -23,11 +23,11 @@
|
|||||||
{% for llm in data %}
|
{% for llm in data %}
|
||||||
{% if not ns.first %},{% endif %}
|
{% if not ns.first %},{% endif %}
|
||||||
{
|
{
|
||||||
"widgettype": "VScrollPanel",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"options": {
|
||||||
"css": "card plaza-card",
|
"css": "card plaza-card",
|
||||||
"cwidth": 25,
|
"cwidth": 15,
|
||||||
"cheight": 16
|
"cheight": 12
|
||||||
},
|
},
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
{
|
{
|
||||||
@ -51,6 +51,7 @@
|
|||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Text",
|
||||||
"options": {
|
"options": {
|
||||||
|
"height": "auto",
|
||||||
"text": {{json.dumps(llm.description, ensure_ascii=False)}},
|
"text": {{json.dumps(llm.description, ensure_ascii=False)}},
|
||||||
"wrap": true,
|
"wrap": true,
|
||||||
"halign": "left"
|
"halign": "left"
|
||||||
@ -60,8 +61,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "VBox",
|
"widgettype": "VBox",
|
||||||
"options": {"css": "pricing-box", "cheight": 4},
|
"options": {"css": "filler", "cheight": 4},
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
|
{% if isinstance(llm.pricing_display, str) %}
|
||||||
|
{% set llm.pricing_display = [llm.pricing_display] %}
|
||||||
|
{% endif %}
|
||||||
{% for pt in llm.pricing_display %}
|
{% for pt in llm.pricing_display %}
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Text",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user