Try some more changes
This commit is contained in:
parent
e6502a3713
commit
96468ab4b3
|
@ -12,8 +12,9 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MessageBox from './MessageBox';
|
||||
<script lang="ts">
|
||||
import MessageBox from './MessageBox.vue';
|
||||
|
||||
export default {
|
||||
name: 'flash',
|
||||
components: {MessageBox},
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'message-box',
|
||||
props: {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'forgot-password',
|
||||
props: {
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Flash from '../Flash.vue';
|
||||
import ForgotPassword from "./ForgotPassword.vue";
|
||||
import LoginForm from "./LoginForm.vue";
|
||||
import TwoFactorForm from "./TwoFactorForm.vue";
|
||||
import Vue from 'vue';
|
||||
import Flash from '../Flash';
|
||||
import ForgotPassword from "./ForgotPassword";
|
||||
import LoginForm from "./LoginForm";
|
||||
import TwoFactorForm from "./TwoFactorForm";
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'login',
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'login-form',
|
||||
props: {
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ResetPassword",
|
||||
props: {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
</form>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "two-factor-form",
|
||||
data: function () {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</transition>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { XIcon } from 'vue-feather-icons';
|
||||
export default {
|
||||
name: 'modal',
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import debounce from 'lodash/debounce';
|
||||
import { mapState } from 'vuex';
|
||||
import { LogOutIcon, ServerIcon, SettingsIcon, UserIcon } from 'vue-feather-icons'
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import Navigation from '../core/Navigation';
|
||||
import Flash from '../Flash';
|
||||
import UpdateEmail from './account/UpdateEmail';
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import debounce from 'lodash/debounce';
|
||||
import Flash from '../Flash';
|
||||
import ServerBox from './ServerBox';
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import get from 'lodash/get';
|
||||
import differenceInSeconds from 'date-fns/difference_in_seconds';
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import isObject from 'lodash/isObject';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import isObject from 'lodash/isObject';
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { isObject, get } from 'lodash';
|
||||
import { mapState, mapActions } from 'vuex';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'csrf',
|
||||
data: function () {
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { TerminalIcon, FolderIcon, UsersIcon, CalendarIcon, DatabaseIcon, GlobeIcon, SettingsIcon } from 'vue-feather-icons'
|
||||
import Navigation from '../core/Navigation';
|
||||
import ProgressBar from './components/ProgressBar';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ServerAllocations"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ServerSchedules"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ServerSettings"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ServerSubusers"
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import Status from '../../../helpers/statuses';
|
||||
import { Socketio } from '../../../mixins/socketio/index';
|
||||
import { mapState } from 'vuex';
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'progress-bar',
|
||||
props: {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import MessageBox from '../../../MessageBox';
|
||||
import get from 'lodash/get';
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { LockIcon, Trash2Icon, DatabaseIcon } from 'vue-feather-icons';
|
||||
import Modal from '../../../core/Modal';
|
||||
import DeleteDatabaseModal from './DeleteDatabaseModal';
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'delete-database-modal',
|
||||
props: {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { CopyIcon, CornerUpLeftIcon, DeleteIcon, DownloadIcon, Edit3Icon, FilePlusIcon, FolderPlusIcon } from 'vue-feather-icons';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import * as Helpers from '../../../../helpers/index';
|
||||
import { FileTextIcon, Link2Icon } from 'vue-feather-icons';
|
||||
import FileManagerContextMenu from './FileManagerContextMenu';
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { FolderIcon } from 'vue-feather-icons';
|
||||
import { formatDate } from '../../../../helpers/index';
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
export {default as Server} from './Server';
|
||||
export {default as ServerAllocations} from './ServerAllocations';
|
||||
export {default as ConsolePage} from './subpages/Console';
|
||||
export {default as DatabasesPage} from './subpages/Databases';
|
||||
export {default as FileManagerPage} from './subpages/FileManager';
|
||||
export {default as ServerSchedules} from './ServerSchedules';
|
||||
export {default as ServerSettings} from './ServerSettings';
|
||||
export {default as ServerSubusers} from './ServerSubusers';
|
|
@ -0,0 +1,8 @@
|
|||
export {default as Server} from './Server.vue';
|
||||
export {default as ServerAllocations} from './ServerAllocations.vue';
|
||||
export {default as ConsolePage} from './subpages/Console.vue';
|
||||
export {default as DatabasesPage} from './subpages/Databases.vue';
|
||||
export {default as FileManagerPage} from './subpages/FileManager.vue';
|
||||
export {default as ServerSchedules} from './ServerSchedules.vue';
|
||||
export {default as ServerSettings} from './ServerSettings.vue';
|
||||
export {default as ServerSubusers} from './ServerSubusers.vue';
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { Terminal } from 'xterm';
|
||||
import * as TerminalFit from 'xterm/lib/addons/fit/fit';
|
||||
import {mapState} from 'vuex';
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { DatabaseIcon, LockIcon, Trash2Icon } from 'vue-feather-icons';
|
||||
import map from 'lodash/map';
|
||||
import filter from 'lodash/filter';
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import map from 'lodash/map';
|
||||
import { mapState } from 'vuex';
|
||||
import FileManagerFileRow from '../components/filemanager/FileManagerFileRow';
|
||||
|
|
|
@ -5,9 +5,9 @@ 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';
|
||||
import Account from './components/dashboard/Account';
|
||||
import ResetPassword from './components/auth/ResetPassword';
|
||||
import Dashboard from './components/dashboard/Dashboard.vue';
|
||||
import Account from './components/dashboard/Account.vue';
|
||||
import ResetPassword from './components/auth/ResetPassword.vue';
|
||||
import User from './models/user';
|
||||
import {
|
||||
Server,
|
||||
|
|
Loading…
Reference in New Issue