diff --git a/src/components/ConnectionPanel.vue b/src/components/ConnectionPanel.vue index 9651d11..3fef2e3 100644 --- a/src/components/ConnectionPanel.vue +++ b/src/components/ConnectionPanel.vue @@ -254,18 +254,20 @@ const gameOptions = computed(() => { - - {{ selectedKey ? 'Игра выбрана' : 'Игра не выбрана' }} - + + + {{ selectedKey ? 'Игра выбрана' : 'Игра не выбрана' }} + + Сменить игру + Текущая игра: {{ selectedName }} - Сменить игру Скачанные игры @@ -481,15 +483,21 @@ const gameOptions = computed(() => { - - - Подключиться - - + + Подключиться + Отключиться + + @@ -561,10 +569,6 @@ const gameOptions = computed(() => { overflow-wrap: anywhere; } -.current-game > button { - flex-shrink: 0; -} - .game-selection { align-items: center; display: flex; diff --git a/src/components/ControlPage.vue b/src/components/ControlPage.vue index 06f74f6..640354d 100644 --- a/src/components/ControlPage.vue +++ b/src/components/ControlPage.vue @@ -279,13 +279,23 @@ onUnmounted(() => { /> - - {{ host.displays.length ? 'Подключён' : 'Не подключён' }} - + + + {{ host.displays.length ? 'Подключён' : 'Не подключён' }} + + bridge!.show(display!))" + >Открыть показ + bridge!.closeOutput())" + >Закрыть показ + @@ -354,15 +364,6 @@ onUnmounted(() => { - - bridge!.show(display!))" - >Открыть показ - bridge!.closeOutput())" - >Закрыть показ - @@ -373,10 +374,16 @@ onUnmounted(() => { - {{ state.catalog.steps.length ? 'Редактировать' : 'Создать план' }} + + + + Создать план { gap: 12px; } -.output-toggle { - margin-left: auto; -} - .preview { background: var(--brand-background); display: block; diff --git a/src/components/GameControlPanel.vue b/src/components/GameControlPanel.vue index f084b14..4bd388b 100644 --- a/src/components/GameControlPanel.vue +++ b/src/components/GameControlPanel.vue @@ -49,19 +49,22 @@ function run(command: GameCommand) { Игра - + {{ !selectedKey ? 'Игра не выбрана' : status?.label ?? (!state.authenticated ? 'Требуется вход' : state.gameError ? 'Нет данных' : 'Загрузка…') }} - - {{ state.connection === 'connected' ? 'Подключено' : 'Не подключено' }} - + + + {{ state.connection === 'connected' ? 'Подключено' : 'Не подключено' }} + + + diff --git a/src/components/MusicPlanPanel.vue b/src/components/MusicPlanPanel.vue index ed33652..ff33b5d 100644 --- a/src/components/MusicPlanPanel.vue +++ b/src/components/MusicPlanPanel.vue @@ -133,7 +133,11 @@ function remove(trackId?: number) { - Редактировать + + + + + {{ track.name || `Трек ${index + 1}` }} {{ isCurrent(index) ? 'Выбран' : 'Выбрать' }} Экран игры - Экран №{{ state.screenId }} @@ -25,11 +24,6 @@ function run(intent: OnlineIntent) { · Последнее состояние - Отключиться {{ currentIndex === index ? 'Показан' : 'Показать' }}