diff --git a/modules/Installer/Resources/views/app.blade.php b/modules/Installer/Resources/views/app.blade.php index c04307ef..ca956687 100644 --- a/modules/Installer/Resources/views/app.blade.php +++ b/modules/Installer/Resources/views/app.blade.php @@ -18,7 +18,11 @@ - + {{----}} + + + @yield('css') @@ -60,22 +64,23 @@
- +{{----}} - - - - - - - +{{----}} +{{----}} + + - @yield('scripts') diff --git a/modules/Installer/Resources/views/steps/step2a-completed.blade.php b/modules/Installer/Resources/views/steps/step2a-completed.blade.php index 5af7b17d..8bf0e589 100644 --- a/modules/Installer/Resources/views/steps/step2a-completed.blade.php +++ b/modules/Installer/Resources/views/steps/step2a-completed.blade.php @@ -1,17 +1,18 @@ @extends('installer::app') -@section('title', 'Database Setup') +@section('title', 'Database Setup Completed') @section('content')
{!! Form::open(['route' => 'installer.complete', 'method' => 'GET']) !!} -
-        
+    
+        
+        {{----}}
         {!! $console_output !!}
         
     

- {!! Form::submit('Complete Setup >>', ['class' => 'btn btn-success']) !!} + {!! Form::submit('Continue >>', ['class' => 'btn btn-success']) !!}

{!! Form::close() !!}
diff --git a/modules/Installer/Services/DatabaseService.php b/modules/Installer/Services/DatabaseService.php index b3f7b177..d97b2556 100644 --- a/modules/Installer/Services/DatabaseService.php +++ b/modules/Installer/Services/DatabaseService.php @@ -44,16 +44,17 @@ class DatabaseService { */ public function setupDB() { - $output = ""; + $output = ''; + #\Artisan::call('database:create'); #$output .= \Artisan::output(); \Artisan::call('migrate'); - $output .= \Artisan::output(); + $output .= trim(\Artisan::output()); \Artisan::call('db:seed'); - $output .= \Artisan::output(); + $output .= trim(\Artisan::output()); - return $output; + return trim($output); } } diff --git a/public/assets/frontend/css/installer.css b/public/assets/frontend/css/installer.css index 2b088f36..e69de29b 100644 --- a/public/assets/frontend/css/installer.css +++ b/public/assets/frontend/css/installer.css @@ -1,135 +0,0 @@ -/* desert scheme ported from vim to google prettify */ -pre.prettyprint { - display: block; - padding-left: 4px; - background-color: #333 -} - -pre .nocode { - background-color: none; - color: #000 -} - -pre .str { - color: #ffa0a0 -} - -/* string - pink */ -pre .kwd { - color: #f0e68c; - font-weight: bold -} - -pre .com { - color: #87ceeb -} - -/* comment - skyblue */ -pre .typ { - color: #98fb98 -} - -/* type - lightgreen */ -pre .lit { - color: #cd5c5c -} - -/* literal - darkred */ -pre .pun { - color: #fff -} - -/* punctuation */ -pre .pln { - color: #fff -} - -/* plaintext */ -pre .tag { - color: #f0e68c; - font-weight: bold -} - -/* html/xml tag - lightyellow */ -pre .atn { - color: #bdb76b; - font-weight: bold -} - -/* attribute name - khaki */ -pre .atv { - color: #ffa0a0 -} - -/* attribute value - pink */ -pre .dec { - color: #98fb98 -} - -/* decimal - lightgreen */ - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; - color: #AEAEAE -} - -/* IE indents via margin-left */ -li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { - list-style-type: none -} - -/* Alternate shading for lines */ -li.L1, li.L3, li.L5, li.L7, li.L9 { -} - -@media print { - pre.prettyprint { - background-color: none - } - - pre .str, code .str { - color: #060 - } - - pre .kwd, code .kwd { - color: #006; - font-weight: bold - } - - pre .com, code .com { - color: #600; - font-style: italic - } - - pre .typ, code .typ { - color: #404; - font-weight: bold - } - - pre .lit, code .lit { - color: #044 - } - - pre .pun, code .pun { - color: #440 - } - - pre .pln, code .pln { - color: #000 - } - - pre .tag, code .tag { - color: #006; - font-weight: bold - } - - pre .atn, code .atn { - color: #404 - } - - pre .atv, code .atv { - color: #060 - } -}