generated from VLADIMIR/template_frontend
add center
This commit is contained in:
+6
-1
@@ -25,7 +25,7 @@ body {
|
|||||||
.content-block {
|
.content-block {
|
||||||
margin-top: 70px;
|
margin-top: 70px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background-color: #333333;
|
/* background-color: #553333; */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
@@ -33,4 +33,9 @@ body {
|
|||||||
width: 700px;
|
width: 700px;
|
||||||
margin: 70px auto 0 auto;
|
margin: 70px auto 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center-middle-block-custom {
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,9 @@ import HeaderMenu from '@/components/HeaderMenu.vue'
|
|||||||
<template>
|
<template>
|
||||||
<HeaderMenu :add-logout="true" active="games" />
|
<HeaderMenu :add-logout="true" active="games" />
|
||||||
|
|
||||||
|
<div class="center-block-custom content-block">
|
||||||
Игры
|
Игры
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ async function signup() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<div class="center-block-custom content-block center-middle-block-custom height100">
|
||||||
<n-card style="margin-bottom: 16px" class="sign-card">
|
<n-card style="margin-bottom: 16px" class="sign-card">
|
||||||
<n-tabs type="line" animated>
|
<n-tabs type="line" animated>
|
||||||
|
|
||||||
@@ -111,6 +112,7 @@ async function signup() {
|
|||||||
|
|
||||||
</n-tabs>
|
</n-tabs>
|
||||||
</n-card>
|
</n-card>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@@ -135,6 +137,10 @@ async function signup() {
|
|||||||
color: #63e2b7;
|
color: #63e2b7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.height100 {
|
||||||
|
height: 80vh;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.sign-card {
|
.sign-card {
|
||||||
width: 380px;
|
width: 380px;
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ getPermissions()
|
|||||||
<template>
|
<template>
|
||||||
<HeaderMenu :add-logout="true" active="office" />
|
<HeaderMenu :add-logout="true" active="office" />
|
||||||
|
|
||||||
|
<div class="center-block-custom content-block">
|
||||||
<p>
|
<p>
|
||||||
Доброго времени суток, {{ authStore.username }}.
|
Доброго времени суток, {{ authStore.username }}.
|
||||||
</p>
|
</p>
|
||||||
@@ -29,6 +30,7 @@ getPermissions()
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
{{ permissions }} -->
|
{{ permissions }} -->
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import HeaderMenu from '@/components/HeaderMenu.vue'
|
|||||||
<template>
|
<template>
|
||||||
<HeaderMenu :add-logout="true" active="scenarios" />
|
<HeaderMenu :add-logout="true" active="scenarios" />
|
||||||
|
|
||||||
<div class="center-block-custom">
|
<div class="center-block-custom content-block">
|
||||||
Сценарии
|
Сценарии
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ import HeaderMenu from '@/components/HeaderMenu.vue'
|
|||||||
<template>
|
<template>
|
||||||
<HeaderMenu :add-logout="true" active="users" />
|
<HeaderMenu :add-logout="true" active="users" />
|
||||||
|
|
||||||
|
<div class="center-block-custom content-block">
|
||||||
Пользователи
|
Пользователи
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
Reference in New Issue
Block a user