2018-05-27 22:37:03 +00:00
|
|
|
<template>
|
2018-06-03 06:36:20 +00:00
|
|
|
<div>
|
|
|
|
<navigation></navigation>
|
2018-06-03 16:31:43 +00:00
|
|
|
<div class="p-2 flex flex-no-shrink rounded">
|
|
|
|
<div class="sidebar border-grey-lighter flex-no-shrink w-1/3 max-w-xs">
|
2018-06-03 06:36:20 +00:00
|
|
|
<div class="pt-6 px-6 pb-4 text-center">
|
|
|
|
<h3 class="mb-2 text-blue">Pterodactylcraft</h3>
|
|
|
|
<span class="text-grey-dark">Minecraft / Vanilla</span>
|
|
|
|
<div class="text-lg my-4"><span class="text-green">●</span> Running</div>
|
|
|
|
<div>
|
|
|
|
<button class="btn btn-red">Stop</button>
|
|
|
|
<button class="btn btn-blue">Restart</button>
|
|
|
|
<button class="btn btn-red">Kill</button>
|
2018-05-27 22:37:03 +00:00
|
|
|
</div>
|
2018-06-03 16:31:43 +00:00
|
|
|
<div class="mt-8 mb-6 text-grey-dark border-t border-grey-light usage">
|
|
|
|
<span class="bg-grey-lighter">CPU - 2 Cores</span>
|
|
|
|
<div class="rounded border-grey-light border mt-3 h-4">
|
2018-06-03 06:36:20 +00:00
|
|
|
<div class="rounded bg-blue h-4 w-1/6"></div>
|
|
|
|
</div>
|
2018-06-03 16:31:43 +00:00
|
|
|
<div class="mt-8 mb-6 text-grey-dark border-t border-grey-light usage">
|
|
|
|
<span class="bg-grey-lighter">CPU - 2 Cores</span>
|
|
|
|
<div class="rounded border-grey-light border mt-3 h-4">
|
|
|
|
<div class="rounded bg-blue h-4 w-1/6"></div>
|
|
|
|
</div>
|
2018-06-03 06:36:20 +00:00
|
|
|
</div>
|
2018-06-03 16:31:43 +00:00
|
|
|
<div class="my-6 text-grey-dark border-t border-grey-light usage">
|
|
|
|
<span class="bg-grey-lighter">RAM - 4 GB</span>
|
|
|
|
<div class="rounded border-grey-light border mt-3 h-4">
|
|
|
|
<div class="rounded bg-blue h-4 w-2/3"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="my-6 text-grey-dark border-t border-grey-light usage">
|
|
|
|
<span class="bg-grey-lighter">Disk - 20 GB</span>
|
|
|
|
<div class="rounded border-grey-light border mt-3 h-4">
|
|
|
|
<div class="rounded bg-blue h-4 w-1/3"></div>
|
|
|
|
</div>
|
2018-06-03 06:36:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="sidenav">
|
2018-06-11 19:06:12 +00:00
|
|
|
<router-link :to="{ name: 'server', params: { serverID: this.$route.params.serverID } }">
|
|
|
|
<terminal-icon style="height: 1em;"></terminal-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Console
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-files' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<folder-icon style="height: 1em;"></folder-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Files
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-subusers' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<users-icon style="height: 1em;"></users-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Subusers
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-schedules' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<calendar-icon style="height: 1em;"></calendar-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Schedules
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-databases' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<database-icon style="height: 1em;"></database-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Databases
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-allocations' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<globe-icon style="height: 1em;"></globe-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Allocations
|
|
|
|
</router-link>
|
|
|
|
<router-link :to="{ name: 'server-settings' }">
|
2018-06-11 19:06:12 +00:00
|
|
|
<settings-icon style="height: 1em;"></settings-icon>
|
2018-06-03 16:31:43 +00:00
|
|
|
Settings
|
|
|
|
</router-link>
|
2018-05-27 22:37:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-03 16:31:43 +00:00
|
|
|
<div class="main bg-white p-6 rounded border border-grey-lighter flex-grow">
|
|
|
|
<!--h1.text-blue.mb-6 Server Console-->
|
|
|
|
<router-view></router-view>
|
|
|
|
</div>
|
2018-05-27 22:37:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2018-06-11 19:06:12 +00:00
|
|
|
import { TerminalIcon, FolderIcon, UsersIcon, CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon } from 'vue-feather-icons'
|
2018-05-27 22:37:03 +00:00
|
|
|
import ServerConsole from "./ServerConsole";
|
2018-06-03 06:36:20 +00:00
|
|
|
import Navigation from '../core/Navigation';
|
2018-06-03 16:31:43 +00:00
|
|
|
|
2018-05-27 22:37:03 +00:00
|
|
|
export default {
|
2018-06-11 19:06:12 +00:00
|
|
|
components: {
|
|
|
|
Navigation, ServerConsole, TerminalIcon, FolderIcon, UsersIcon,
|
|
|
|
CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon
|
|
|
|
}
|
2018-05-27 22:37:03 +00:00
|
|
|
}
|
|
|
|
</script>
|