Try some more changes

This commit is contained in:
Dane Everitt 2018-12-29 17:00:50 -08:00
parent e6502a3713
commit 96468ab4b3
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
35 changed files with 48 additions and 47 deletions

View File

@ -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},

View File

@ -5,7 +5,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: 'message-box',
props: {

View File

@ -36,7 +36,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: 'forgot-password',
props: {

View File

@ -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',

View File

@ -45,7 +45,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: 'login-form',
props: {

View File

@ -55,7 +55,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: "ResetPassword",
props: {

View File

@ -28,7 +28,7 @@
</form>
</template>
<script>
<script lang="ts">
export default {
name: "two-factor-form",
data: function () {

View File

@ -11,7 +11,7 @@
</transition>
</template>
<script>
<script lang="ts">
import { XIcon } from 'vue-feather-icons';
export default {
name: 'modal',

View File

@ -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'

View File

@ -25,7 +25,7 @@
</div>
</template>
<script>
<script lang="ts">
import Navigation from '../core/Navigation';
import Flash from '../Flash';
import UpdateEmail from './account/UpdateEmail';

View File

@ -27,7 +27,7 @@
</div>
</template>
<script>
<script lang="ts">
import debounce from 'lodash/debounce';
import Flash from '../Flash';
import ServerBox from './ServerBox';

View File

@ -35,7 +35,7 @@
</div>
</template>
<script>
<script lang="ts">
import get from 'lodash/get';
import differenceInSeconds from 'date-fns/difference_in_seconds';

View File

@ -38,7 +38,7 @@
</div>
</template>
<script>
<script lang="ts">
import isObject from 'lodash/isObject';
export default {

View File

@ -62,7 +62,7 @@
</div>
</template>
<script>
<script lang="ts">
import Vue from 'vue';
import isObject from 'lodash/isObject';

View File

@ -26,7 +26,7 @@
</div>
</template>
<script>
<script lang="ts">
import { isObject, get } from 'lodash';
import { mapState, mapActions } from 'vuex';

View File

@ -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 () {

View File

@ -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';

View File

@ -2,7 +2,7 @@
</template>
<script>
<script lang="ts">
export default {
name: "ServerAllocations"
}

View File

@ -2,7 +2,7 @@
</template>
<script>
<script lang="ts">
export default {
name: "ServerSchedules"
}

View File

@ -2,7 +2,7 @@
</template>
<script>
<script lang="ts">
export default {
name: "ServerSettings"
}

View File

@ -2,7 +2,7 @@
</template>
<script>
<script lang="ts">
export default {
name: "ServerSubusers"
}

View File

@ -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';

View File

@ -11,7 +11,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: 'progress-bar',
props: {

View File

@ -35,7 +35,7 @@
</div>
</template>
<script>
<script lang="ts">
import MessageBox from '../../../MessageBox';
import get from 'lodash/get';

View File

@ -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';

View File

@ -18,7 +18,7 @@
</div>
</template>
<script>
<script lang="ts">
export default {
name: 'delete-database-modal',
props: {

View File

@ -51,7 +51,7 @@
</div>
</template>
<script>
<script lang="ts">
import { CopyIcon, CornerUpLeftIcon, DeleteIcon, DownloadIcon, Edit3Icon, FilePlusIcon, FolderPlusIcon } from 'vue-feather-icons';
export default {

View File

@ -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';

View File

@ -14,7 +14,7 @@
</div>
</template>
<script>
<script lang="ts">
import { FolderIcon } from 'vue-feather-icons';
import { formatDate } from '../../../../helpers/index';

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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,