diff --git a/src/components/GameInputForm.vue b/src/components/GameInputForm.vue
index dbee586..324c6c1 100644
--- a/src/components/GameInputForm.vue
+++ b/src/components/GameInputForm.vue
@@ -2,7 +2,7 @@
import { Footsteps } from '@vicons/ionicons5'
import { ContactMailRound } from '@vicons/material'
import { Icon } from '@vicons/utils'
-import { type PropType,ref } from 'vue';
+import { type PropType, ref } from 'vue';
import BeltBlock from './BeltBlock.vue';
import HeaderText from './HeaderText.vue';
@@ -22,6 +22,10 @@ const props = defineProps({
newPlacesCount: {
type: Number,
required: true
+ },
+ gameStatus: {
+ type: String,
+ required: true
}
})
@@ -56,8 +60,6 @@ function getTextForCounter(count: number): string[] {
-
-
@@ -243,7 +249,7 @@ function getTextForCounter(count: number): string[] {
margin: 0 4px;
}
-@media (width >= 1025px) {
+@media (width >=1025px) {
.center-block-700 {
width: 700px;
margin: 0 auto;
diff --git a/src/components/GamePage.vue b/src/components/GamePage.vue
index 634a09b..38885b3 100644
--- a/src/components/GamePage.vue
+++ b/src/components/GamePage.vue
@@ -75,8 +75,12 @@ async function getGame(id: number) {
}
getGame(Number(gameId))
-async function toTeamStory(id: number, password: string) {
- router.push('/team-story/' + id + '?password=' + password)
+async function toTeamStory(id: number, password: string, newTab: boolean = false) {
+ const uri = '/team-story/' + id + '?password=' + password
+ if (newTab) {
+ window.open(uri, '_blank');
+ }
+ router.push(uri)
}
async function updateGame() {
@@ -364,7 +368,7 @@ useSimplePolling(() => {
QR
-
+
Подсмотреть игру
@@ -498,6 +502,7 @@ useSimplePolling(() => {
margin: 10px 0;
border-radius: 10px;
background-color: #222;
+ border: 1px solid #222;
}
.team-block-hover:hover {
diff --git a/src/components/TeamStoryPage.vue b/src/components/TeamStoryPage.vue
index 7780fae..a8f5b7f 100644
--- a/src/components/TeamStoryPage.vue
+++ b/src/components/TeamStoryPage.vue
@@ -1,8 +1,8 @@