chore: docker add worker command

This commit is contained in:
jialin
2024-11-28 23:19:31 +08:00
parent 849150c9ab
commit 0cc2a40f26
18 changed files with 549 additions and 434 deletions
+11 -3
View File
@@ -1,9 +1,9 @@
@font-face {
font-family: iconfont; /* Project id 4613488 */
src:
url('iconfont.woff2?t=1732245003614') format('woff2'),
url('iconfont.woff?t=1732245003614') format('woff'),
url('iconfont.ttf?t=1732245003614') format('truetype');
url('iconfont.woff2?t=1732806927800') format('woff2'),
url('iconfont.woff?t=1732806927800') format('woff'),
url('iconfont.ttf?t=1732806927800') format('truetype');
}
.iconfont {
@@ -14,6 +14,14 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-random::before {
content: '\e603';
}
.icon-suijisenlin::before {
content: '\e60e';
}
.icon-stop2::before {
content: '\e8db';
}
File diff suppressed because one or more lines are too long
@@ -5,6 +5,20 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "13059398",
"name": "随机",
"font_class": "random",
"unicode": "e603",
"unicode_decimal": 58883
},
{
"icon_id": "5978743",
"name": "random-forest",
"font_class": "suijisenlin",
"unicode": "e60e",
"unicode_decimal": 58894
},
{
"icon_id": "15617444",
"name": "stop",
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -82,8 +82,8 @@ const SpeechItem: React.FC<SpeechContentProps> = (props) => {
<div className="speech-actions">
<span className="tags">
<span className="item">{props.format}</span>
<span className="item splitor"></span>
<span className="item">{props.speed}x</span>
{/* <span className="item splitor"></span>
<span className="item">{props.speed}x</span> */}
</span>
<div className="actions">
<Tooltip
+4 -3
View File
@@ -11,7 +11,8 @@ const VersionInfo: React.FC<{ intl: any }> = ({ intl }) => {
const currentVersion = getAtomStorage(GPUStackVersionAtom)?.version;
const isProd =
currentVersion !== '0.0.0' && currentVersion?.indexOf('rc') === -1;
currentVersion?.indexOf('rc') === -1 &&
currentVersion?.indexOf('0.0.0') === -1;
const uiVersion = document.documentElement.getAttribute('data-version');
@@ -39,7 +40,7 @@ const VersionInfo: React.FC<{ intl: any }> = ({ intl }) => {
{' '}
{intl.formatMessage({ id: 'common.footer.version.server' })}
</span>
{currentVersion === '0.0.0'
{currentVersion.indexOf('0.0.0') > -1
? getAtomStorage(GPUStackVersionAtom)?.git_commit
: getAtomStorage(GPUStackVersionAtom)?.version}
</span>
@@ -55,7 +56,7 @@ const VersionInfo: React.FC<{ intl: any }> = ({ intl }) => {
<span className="m-l-5">
{latestVersion &&
latestVersion !== currentVersion &&
latestVersion !== '0.0.0'
latestVersion.indexOf('0.0.0') === -1
? intl.formatMessage(
{ id: 'users.version.update' },
{ version: latestVersion }