Skip to content

Commit

Permalink
Installation issue solved..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Nov 22, 2019
1 parent 1b0d680 commit 9b86b70
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
5 changes: 3 additions & 2 deletions resources/assets/js/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ import Language from './views/install/Language';
import Database from './views/install/Database';
import Settings from './views/install/Settings';

var base_path = url.replace(window.location.origin, '');
var global_path = new URL(url).protocol + '//' + window.location.host;
var base_path = url.replace(global_path, '');

const router = new VueRouter({
mode: 'history',
base: base_path,
routes: [
{
path: '/',
name: 'requirements',
name: 'home',
component: Requirements
},
{
Expand Down
1 change: 0 additions & 1 deletion resources/assets/js/mixins/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import NProgressAxios from './../plugins/nprogress-axios';

import {VMoney} from 'v-money';
import { Select, Option } from 'element-ui';
import { isThisSecond } from 'date-fns';

// plugin setup
Vue.use(DashboardPlugin);
Expand Down
1 change: 0 additions & 1 deletion resources/assets/js/views/install/Database.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<p class="mt-2 after-step-text">Database</p>
</div>


<div class="col-md-4 text-center">
<button type="button" class="btn btn-secondary btn-lg wizard-steps rounded-circle steps">
<span class="btn-inner--icon wizard-steps-inner wizard-steps-color">3</span>
Expand Down
5 changes: 1 addition & 4 deletions resources/assets/js/views/install/Language.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
<p class="mt-2 text-muted step-text">Admin</p>
</div>


<div class="col-md-12">
<div class="form-group mb-0">
<select v-model="form.lang" name="lang" id="lang" size="13" class="col-xl-12 form-control-label">
<option
v-for="(name, code) in languages"
v-bind:value="code">
<option v-for="(name, code) in languages" :value="code">
{{ name }}
</option>
</select>
Expand Down
1 change: 0 additions & 1 deletion resources/views/layouts/install.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<div class="card">
{!! Form::open([
'url' => url()->current(),
'@submit.prevent' => 'onSubmit',
'role' => 'form',
'id' => 'form-install'
]) !!}
Expand Down
4 changes: 2 additions & 2 deletions resources/views/partials/install/head.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@

@stack('js')

<script>
<script type="text/javascript"><!--
window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(),
]); ?>
var flash_notification = {!! (session()->has('flash_notification')) ? json_encode(session()->get('flash_notification')) : 'false' !!};
</script>
//--></script>
{{ session()->forget('flash_notification') }}

@stack('scripts')
Expand Down

0 comments on commit 9b86b70

Please sign in to comment.