krinlove commited on
Commit
29b8aca
·
1 Parent(s): 9321595

修改about

Browse files
src/lib/components/chat/Settings/About.svelte CHANGED
@@ -57,88 +57,15 @@
57
  <Tooltip content={WEBUI_BUILD_HASH}>
58
  v{WEBUI_VERSION}
59
  </Tooltip>
60
-
61
- <a
62
- href="https://github.com/open-webui/open-webui/releases/tag/v{version.latest}"
63
- target="_blank"
64
- >
65
- {updateAvailable === null
66
- ? $i18n.t('Checking for updates...')
67
- : updateAvailable
68
- ? `(v${version.latest} ${$i18n.t('available!')})`
69
- : $i18n.t('(latest)')}
70
- </a>
71
  </div>
72
 
73
- <button
74
- class=" underline flex items-center space-x-1 text-xs text-gray-500 dark:text-gray-500"
75
- on:click={() => {
76
- showChangelog.set(true);
77
- }}
78
- >
79
- <div>{$i18n.t("See what's new")}</div>
80
- </button>
81
- </div>
82
-
83
- <button
84
- class=" text-xs px-3 py-1.5 bg-gray-100 hover:bg-gray-200 dark:bg-gray-850 dark:hover:bg-gray-800 transition rounded-lg font-medium"
85
- on:click={() => {
86
- checkForVersionUpdates();
87
- }}
88
- >
89
- {$i18n.t('Check for updates')}
90
- </button>
91
- </div>
92
- </div>
93
-
94
- {#if ollamaVersion}
95
- <hr class=" dark:border-gray-850" />
96
 
97
- <div>
98
- <div class=" mb-2.5 text-sm font-medium">{$i18n.t('Ollama Version')}</div>
99
- <div class="flex w-full">
100
- <div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
101
- {ollamaVersion ?? 'N/A'}
102
- </div>
103
  </div>
104
  </div>
105
- {/if}
106
 
107
  <hr class=" dark:border-gray-850" />
108
 
109
- <div class="flex space-x-1">
110
- <a href="https://discord.gg/5rJgQTnV4s" target="_blank">
111
- <img
112
- alt="Discord"
113
- src="https://img.shields.io/badge/Discord-Open_WebUI-blue?logo=discord&logoColor=white"
114
- />
115
- </a>
116
-
117
- <a href="https://twitter.com/OpenWebUI" target="_blank">
118
- <img
119
- alt="X (formerly Twitter) Follow"
120
- src="https://img.shields.io/twitter/follow/OpenWebUI"
121
- />
122
- </a>
123
 
124
- <a href="https://github.com/open-webui/open-webui" target="_blank">
125
- <img
126
- alt="Github Repo"
127
- src="https://img.shields.io/github/stars/open-webui/open-webui?style=social&label=Star us on Github"
128
- />
129
- </a>
130
- </div>
131
-
132
- <div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
133
- {#if !$WEBUI_NAME.includes('Open WebUI')}
134
- <span class=" text-gray-500 dark:text-gray-300 font-medium">{$WEBUI_NAME}</span> -
135
- {/if}
136
- {$i18n.t('Created by')}
137
- <a
138
- class=" text-gray-500 dark:text-gray-300 font-medium"
139
- href="https://github.com/tjbck"
140
- target="_blank">Timothy J. Baek</a
141
- >
142
- </div>
143
  </div>
144
  </div>
 
57
  <Tooltip content={WEBUI_BUILD_HASH}>
58
  v{WEBUI_VERSION}
59
  </Tooltip>
 
 
 
 
 
 
 
 
 
 
 
60
  </div>
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
 
 
 
 
 
 
63
  </div>
64
  </div>
65
+ </div>
66
 
67
  <hr class=" dark:border-gray-850" />
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  </div>
71
  </div>