Format all the files
This commit is contained in:
parent
5bff8d99cc
commit
b6773b56c1
|
@ -10,7 +10,8 @@ window._ = require('lodash');
|
|||
|
||||
try {
|
||||
window.$ = window.jQuery = require('jquery');
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
window.axios = axios;
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
<button class="btn btn-green uppercase text-xs px-4 py-2"
|
||||
v-if="status === statuses.STATUS_OFF"
|
||||
v-on:click.prevent="sendPowerAction('start')"
|
||||
>Start</button>
|
||||
>Start
|
||||
</button>
|
||||
<div v-else>
|
||||
<button class="btn btn-red uppercase text-xs px-4 py-2" v-on:click.prevent="sendPowerAction('stop')">Stop</button>
|
||||
<button class="btn btn-secondary uppercase text-xs px-4 py-2" v-on:click.prevent="sendPowerAction('restart')">Restart</button>
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
<div class="animated-fade-in">
|
||||
<div class="filemanager-breadcrumbs">
|
||||
/<span class="px-1">home</span><!--
|
||||
-->/<router-link :to="{ name: 'server-files' }" class="px-1">container</router-link><!--
|
||||
-->/
|
||||
<router-link :to="{ name: 'server-files' }" class="px-1">container</router-link><!--
|
||||
--><span v-for="crumb in breadcrumbs" class="inline-block">
|
||||
<span v-if="crumb.path">
|
||||
/<router-link :to="{ name: 'server-files', params: { path: crumb.path } }" class="px-1">{{crumb.directoryName}}</router-link>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
baseUrl: 'http://pterodactyl.test/',
|
||||
baseProtocol: 'http',
|
||||
baseDomain: 'pterodactyl.test',
|
||||
basePort: false
|
||||
basePort: false,
|
||||
};
|
||||
|
||||
export {
|
||||
Ziggy
|
||||
}
|
||||
Ziggy,
|
||||
};
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
type ServerAllocation = {
|
||||
ip: string,
|
||||
port: number,
|
||||
|
|
|
@ -5,7 +5,6 @@ import {AxiosInstance} from "axios";
|
|||
import {Vue as VueType} from "vue/types/vue";
|
||||
import {ApplicationState} from "./store/types";
|
||||
import {Route} from "vue-router";
|
||||
|
||||
// @ts-ignore
|
||||
import {Ziggy} from './helpers/ziggy';
|
||||
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
import VueRouter, {Route} from 'vue-router';
|
||||
import store from './store/index';
|
||||
import User from './models/user';
|
||||
|
||||
const route = require('./../../../vendor/tightenco/ziggy/src/js/route').default;
|
||||
|
||||
// Base Vuejs Templates
|
||||
import Login from './components/auth/Login.vue';
|
||||
import Dashboard from './components/dashboard/Dashboard.vue';
|
||||
|
@ -17,6 +14,8 @@ import ConsolePage from "@/components/server/subpages/Console.vue";
|
|||
import FileManagerPage from "@/components/server/subpages/FileManager.vue";
|
||||
import DatabasesPage from "@/components/server/subpages/Databases.vue";
|
||||
|
||||
const route = require('./../../../vendor/tightenco/ziggy/src/js/route').default;
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/auth', component: Login,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import Server, {ServerData} from '../../models/server';
|
||||
import {ActionContext} from "vuex";
|
||||
import {DashboardState} from "../types";
|
||||
|
||||
const route = require('./../../../../../vendor/tightenco/ziggy/src/js/route').default;
|
||||
|
||||
export default {
|
||||
|
|
|
@ -11,8 +11,7 @@ export default {
|
|||
credentials: {node: '', key: ''},
|
||||
console: [],
|
||||
},
|
||||
getters: {
|
||||
},
|
||||
getters: {},
|
||||
actions: {
|
||||
/**
|
||||
* Fetches the active server from the API and stores it in vuex.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import {ServerData} from "../models/server";
|
||||
import Server from "../models/server";
|
||||
import Server, {ServerData} from "../models/server";
|
||||
import User from "../models/user";
|
||||
|
||||
export type ApplicationState = {
|
||||
|
|
Loading…
Reference in New Issue