bugfix
This commit is contained in:
parent
bbf9cec537
commit
84f06a7828
@ -1,17 +1,67 @@
|
||||
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- 绘制圆形 -->
|
||||
<circle cx="100" cy="100" r="90" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" width="100%" height="100%">
|
||||
<!-- 圆形轮廓
|
||||
-->
|
||||
<circle cx="500" cy="500" r="480" fill="#505050" stroke="#505050" stroke-width="8"/>
|
||||
|
||||
<!-- 绘制电视机 -->
|
||||
<rect x="50" y="60" width="100" height="56.25" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<defs>
|
||||
<clipPath id="circleClip">
|
||||
<circle cx="500" cy="500" r="480" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<!-- 绘制倒 A 形天线 -->
|
||||
<polyline points="100,50 50,60 150,60" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<g clip-path="url(#circleClip)">
|
||||
<!-- 五色 16:9 长方形 -->
|
||||
<g>
|
||||
<rect x="100" y="275" width="160" height="450" fill="#FF6B6B" />
|
||||
<rect x="260" y="275" width="160" height="450" fill="#FFD93D" />
|
||||
<rect x="420" y="275" width="160" height="450" fill="#6BCB77" />
|
||||
<rect x="580" y="275" width="160" height="450" fill="#4D96FF" />
|
||||
<rect x="740" y="275" width="160" height="450" fill="#A66BFF" />
|
||||
<rect x="100" y="275" width="800" height="450" fill="none" stroke="rgba(0,0,0,0.08)" />
|
||||
</g>
|
||||
|
||||
<!-- 绘制 Support O -->
|
||||
<circle cx="100" cy="116.25" r="5" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<!-- 倒立的 A -->
|
||||
<text x="500" y="260"
|
||||
font-family="Arial, Helvetica, sans-serif"
|
||||
font-weight="900"
|
||||
font-size="280"
|
||||
text-anchor="middle"
|
||||
dominant-baseline="text-before-edge"
|
||||
fill="#808080"
|
||||
transform="rotate(180 500 285)">
|
||||
A
|
||||
</text>
|
||||
|
||||
<!-- 绘制 Support e -->
|
||||
<path d="M110 116.25 Q105 125 100 116.25" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<path d="M90 116.25 Q95 125 100 116.25" stroke="black" stroke-width="3" fill="${color}"/>
|
||||
<text x="500" y="370"
|
||||
font-family="Arial, Helvetica, sans-serif"
|
||||
font-weight="900"
|
||||
font-size="250"
|
||||
text-anchor="middle"
|
||||
dominant-baseline="text-before-edge"
|
||||
fill="#808080">
|
||||
TV
|
||||
</text>
|
||||
|
||||
<!-- 放大的 o 和 e -->
|
||||
<text x="300" y="620"
|
||||
font-family="Arial, Helvetica, sans-serif"
|
||||
font-weight="900"
|
||||
font-size="300"
|
||||
text-anchor="middle"
|
||||
dominant-baseline="text-before-edge"
|
||||
fill="#808080">
|
||||
o
|
||||
</text>
|
||||
|
||||
<text x="700" y="620"
|
||||
font-family="Arial, Helvetica, sans-serif"
|
||||
font-weight="900"
|
||||
font-size="300"
|
||||
text-anchor="middle"
|
||||
dominant-baseline="text-before-edge"
|
||||
fill="#808080">
|
||||
e
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 2.0 KiB |
103
wwwroot/menu.ui
103
wwwroot/menu.ui
@ -58,50 +58,12 @@
|
||||
]
|
||||
}
|
||||
|
||||
{% if 'customer.customer' in roles %}
|
||||
,
|
||||
{
|
||||
"name":"kdb",
|
||||
"label":"知识库管理",
|
||||
"items":[
|
||||
{
|
||||
"name": "mykdb",
|
||||
"icon": "{{entire_url('/imgs/kdb.svg')}}",
|
||||
"label":"我的知识库",
|
||||
"url": "{{entire_url('kdb/kdb')}}"
|
||||
},
|
||||
{
|
||||
"name": "folder",
|
||||
"icon": "{{entire_url('/imgs/folder.svg')}}",
|
||||
"label":"文件管理",
|
||||
"url": "{{entire_url('kdb/folderinfo')}}"
|
||||
},
|
||||
{
|
||||
"name": "crawling",
|
||||
"icon": "{{entire_url('/imgs/crawling.svg')}}",
|
||||
"label":"爬取管理",
|
||||
"url": "{{entire_url('kdb/crawling_schedule')}}"
|
||||
},
|
||||
{
|
||||
"name": "urlorigin",
|
||||
"icon": "{{entire_url('/imgs/urlorigin.svg')}}",
|
||||
"label":"网上知识源",
|
||||
"url": "{{entire_url('kdb/urlorigin')}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"customize",
|
||||
"label":"开源模型私有化",
|
||||
"url":"{{entire_url('customize/requirements.ui')}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'owner.superuser' in roles %}
|
||||
,
|
||||
{
|
||||
"name":"sysmgr",
|
||||
"label":"系统管理",
|
||||
"items":{% include '/appbase/menu.ui' %}
|
||||
"submenu":"{{entire_url('/appbase/menu.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"addadmin",
|
||||
@ -157,22 +119,6 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
,{
|
||||
"name": "upappconfig",
|
||||
"label": "统一API",
|
||||
"items":[
|
||||
{
|
||||
"name":"apiset",
|
||||
"label":"接口集",
|
||||
"url":"{{entire_url('uapi/uapiset')}}"
|
||||
},
|
||||
{
|
||||
"name":"upapp",
|
||||
"label":"上位系统",
|
||||
"url":"{{entire_url('uapi/upapp')}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'owner.operator' in roles %}
|
||||
,{
|
||||
@ -215,45 +161,7 @@
|
||||
"name":"product",
|
||||
"label":"产品管理",
|
||||
"url":"{{entire_url('/platformbiz/product')}}"
|
||||
},
|
||||
{
|
||||
"name":"apikey",
|
||||
"label":"apikey管理",
|
||||
"url":"{{entire_url('/basellm/userapikey')}}"
|
||||
},
|
||||
{
|
||||
"name":"api",
|
||||
"label":"接口管理",
|
||||
"url":"{{entire_url('/basellm/httpapi')}}"
|
||||
},
|
||||
{
|
||||
"name":"models",
|
||||
"label":"模型管理",
|
||||
"items":[
|
||||
{
|
||||
"name":"model",
|
||||
"label":"模型类型",
|
||||
"url":"{{entire_url('/basellm/modeltype')}}"
|
||||
},
|
||||
{
|
||||
"name":"model",
|
||||
"label":"模型管理",
|
||||
"url":"{{entire_url('/basellm/models')}}"
|
||||
},
|
||||
{
|
||||
"name":"instance",
|
||||
"label":"模型实例管理",
|
||||
"url":"{{entire_url('/basellm/modelinstance')}}"
|
||||
},
|
||||
{
|
||||
"name":"modelpricing",
|
||||
"label":"模型定价",
|
||||
"url":"{{entire_url('/basellm/modelpricing')}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'reseller.accountant' in roles %}
|
||||
{% endif %}
|
||||
{% if 'reseller.sale' in roles %}
|
||||
,{
|
||||
@ -262,14 +170,7 @@
|
||||
"url":"{{entire_url('/platformbiz/retail_agree')}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'custmer.admin' in roles %}
|
||||
,{
|
||||
"name":"users",
|
||||
"label":"用户管理",
|
||||
"url":"{{entire_url('/rbac/users')}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'reseller.admin' in roles %}
|
||||
{% if 'custmer.admin' in roles or 'reseller.admin' in roles %}
|
||||
,{
|
||||
"name":"users",
|
||||
"label":"用户管理",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user