mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 11:07:55 -05:00
refac
This commit is contained in:
1 parent
6379d37863
commit
89caa7c849
11 files changed
+32
-1
No files matched your search
@@ -928,6 +928,7 @@
|
||||
<div class=" absolute top-4 md:top-8 left-4">
|
||||
<button
|
||||
type="button"
|
||||
aria-label={$i18n.t('Stop camera')}
|
||||
class="p-1.5 text-white cursor-pointer backdrop-blur-xl bg-black/10 rounded-full"
|
||||
on:click={() => {
|
||||
stopCamera();
|
||||
@@ -984,7 +985,11 @@
|
||||
await startVideoStream();
|
||||
}}
|
||||
>
|
||||
<button class="p-3 rounded-full bg-gray-50 dark:bg-gray-900" type="button">
|
||||
<button
|
||||
aria-label={$i18n.t('Switch camera')}
|
||||
class="p-3 rounded-full bg-gray-50 dark:bg-gray-900"
|
||||
type="button"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
@@ -1002,6 +1007,7 @@
|
||||
{:else}
|
||||
<Tooltip content={$i18n.t('Camera')}>
|
||||
<button
|
||||
aria-label={$i18n.t('Camera')}
|
||||
class="p-3 rounded-full bg-gray-50 dark:bg-gray-900"
|
||||
type="button"
|
||||
on:click={async () => {
|
||||
@@ -1087,6 +1093,7 @@
|
||||
</Tooltip>
|
||||
|
||||
<button
|
||||
aria-label={$i18n.t('End call')}
|
||||
class="p-3 rounded-full bg-gray-50 dark:bg-gray-900"
|
||||
on:click={async () => {
|
||||
await stopAudioStream();
|
||||
|
||||
Reference in new issue
Block a user