diff --git a/docker/Dockerfile b/docker/Dockerfile
index d9c734c..a3b8526 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -5,7 +5,8 @@ ENV BUILDDATE $BUILDDATE
RUN echo "Build Date: $BUILDATE"
RUN git clone https://git.pblr-nyk.pro/gsd/Facti13.Frontend.VueMaterial && \
-mv Facti13.Frontend.VueMaterial /app && chown node:node -R /app && chmod 770 -R /app
+mv Facti13.Frontend.VueMaterial /app && chown node:node -R /app && chmod 770 -R /app && \
+echo "export const VERSION = $BUILDATE;" >> /app/src/api/version.js
USER node
WORKDIR /app
diff --git a/src/App.vue b/src/App.vue
index a4833e7..2ceb87b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -21,6 +21,7 @@ import MdProgress from "vue-material/dist/components/MdProgress";
import MdSnackbar from "vue-material/dist/components/MdSnackbar";
import MdMenu from "vue-material/dist/components/MdMenu";
import MdList from "vue-material/dist/components/MdList";
+import MdField from "vue-material/dist/components/MdField";
Vue.use(MdTabs);
Vue.use(MdIcon);
@@ -32,6 +33,7 @@ Vue.use(MdProgress);
Vue.use(MdSnackbar);
Vue.use(MdMenu);
Vue.use(MdList);
+Vue.use(MdField);
import TabsMenu from "@/components/TabsMenu.vue";
import LoaderPage from "@/components/Others/LoaderPage.vue";
diff --git a/src/api/GlobalApi.js b/src/api/GlobalApi.js
index f1ba531..9f35e9f 100644
--- a/src/api/GlobalApi.js
+++ b/src/api/GlobalApi.js
@@ -3,6 +3,7 @@ import AdminApi from "@/api/AdminApi";
import PlayerApi from "@/api/PlayerApi";
import Stages from "@/api/Stages";
import VipAPI from "@/api/VipApi";
+import {VERSION} from "@/api/version";
export default class GlobalApi {
stats = {
@@ -26,7 +27,7 @@ export default class GlobalApi {
player = new PlayerApi()
vip = new VipAPI();
- builddate = process.env.BUILDDATE === undefined ? null : process.env.BUILDDATE;
+ builddate = VERSION * 1000;
current_window = location.hash.length > 1?location.hash.slice(1):'mainView';
diff --git a/src/api/PlayerApi.js b/src/api/PlayerApi.js
index f764819..0d26003 100644
--- a/src/api/PlayerApi.js
+++ b/src/api/PlayerApi.js
@@ -8,7 +8,8 @@ export default class PlayerApi {
steamids: null,
gametime: {},
lastplay: {},
- play_on: null
+ play_on: null,
+ donates: []
}
discord = null;
diff --git a/src/api/version.js b/src/api/version.js
new file mode 100644
index 0000000..a5a5a4b
--- /dev/null
+++ b/src/api/version.js
@@ -0,0 +1 @@
+export const VERSION = 0;
diff --git a/src/components/Others/CustomSvg/DiscordSvg.vue b/src/components/Others/CustomSvg/DiscordSvg.vue
index 90f27c0..626f1aa 100644
--- a/src/components/Others/CustomSvg/DiscordSvg.vue
+++ b/src/components/Others/CustomSvg/DiscordSvg.vue
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/src/components/TabsMenuElements/BackendStatus/BackendStatus.vue b/src/components/TabsMenuElements/BackendStatus/BackendStatus.vue
new file mode 100644
index 0000000..cf86d51
--- /dev/null
+++ b/src/components/TabsMenuElements/BackendStatus/BackendStatus.vue
@@ -0,0 +1,42 @@
+
+ Разное
+ Сборка от {{this.$API.builddate !== null ? new Date(this.$API.builddate).toLocaleString() : 'Dev Build'}}
+ Ты можешь искать других игроков здесь, но сначала надо авторизоваться!
+ Введи что-то из предложенного
+
Статус Бана:
-Забанен
-Выдал бан: русский путин
-Дата окончания бана: 14.88.1488
+Забанен
+Причина бана: {{player['ban']['ban_reason']}}
+Выдал бан: {{player['ban']['banned_by']}}
+ +Дата окончания бана: {{new Date(player['ban']['ban_utime'] * 1000 + player['ban']['ban_length'] * 60 * 1000).toLocaleString()}}
+Бан навсегда
Статус VIP :
-слыш купи
+слыш купи
Статус {{player['permition']['status']}} :
@@ -20,7 +24,7 @@Имеется
Дата окончания :
Навсегда
-22.22.2032
+{{new Date((player['permition']['u_timestamp'] + player['permition']['amount']) * 1000).toLocaleDateString()}}
Убийств : 20
-Смертей : {{'похуй'}}
+IP : {{player_ip}}
+Убийств : {{this.player['play_on']['kills']}}
+Смертей : {{this.player['play_on']['deads']}}
Наиграно : {{getTotalPlaytime()}}
ban history
-buy history
-