refac
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
<Tooltip content={$i18n.t('Add Terminal')} placement="top">
|
||||
<button
|
||||
type="button"
|
||||
aria-label={$i18n.t('Add Terminal')}
|
||||
class="p-0.5 rounded-md text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-300 transition"
|
||||
on:click|stopPropagation={() => {
|
||||
show = false;
|
||||
@@ -189,6 +190,7 @@
|
||||
<Tooltip content={$i18n.t('Add Terminal')} placement="top">
|
||||
<button
|
||||
type="button"
|
||||
aria-label={$i18n.t('Add Terminal')}
|
||||
class="p-0.5 rounded-md text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-300 transition"
|
||||
on:click|stopPropagation={() => {
|
||||
show = false;
|
||||
|
||||
@@ -620,6 +620,7 @@
|
||||
<button
|
||||
id="confirm-recording-button"
|
||||
type="button"
|
||||
aria-label={$i18n.t('Confirm recording')}
|
||||
class="p-1.5 bg-indigo-500 text-white dark:bg-indigo-500 dark:text-blue-950 rounded-full"
|
||||
on:click={async () => {
|
||||
await confirmRecording();
|
||||
|
||||
Reference in New Issue
Block a user