Installer fixes, remove bcmath, fix design (#596)

* Installer cleanup

* Installer design fixes
This commit is contained in:
Nabeel S 2020-02-28 18:00:56 -05:00 committed by GitHub
parent 7e742518bc
commit 2f40f4737c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 47 additions and 18 deletions

View File

@ -12,6 +12,7 @@
"ext-json": "*",
"ext-mbstring": "*",
"ext-simplexml": "*",
"ext-bcmath": "*",
"ext-pdo": "*",
"composer/composer": "~1.8.0",
"composer/installers": "~1.0",

View File

@ -15,7 +15,7 @@ return [
],
'extensions' => [
'bcmath',
// 'bcmath',
'openssl',
'pdo',
'mbstring',

View File

@ -64,7 +64,7 @@ class InstallerController extends Controller
$this->seederSvc = $seederSvc;
$this->userService = $userService;
\App\Support\Utils::disableDebugToolbar();
Utils::disableDebugToolbar();
}
/**

View File

@ -35,9 +35,9 @@
</style>
</head>
<body>
<body class="login-page" style="background: #067ec1;">
<!-- Navbar -->
<nav class="navbar navbar-toggleable-md" style="background: #067ec1;">
{{--<nav class="navbar navbar-toggleable-md" style="background: #067ec1;">
<div class="container" style="width: 85%!important;">
<div class="navbar-translate">
<p class="navbar-brand text-white" data-placement="bottom" target="_blank">
@ -50,20 +50,43 @@
@yield('title')
</div>
</div>
</nav>
</nav>--}}
<!-- End Navbar -->
{{--<div class="clearfix" style="height: 25px;"></div>--}}
<div class="wrapper">
<div class="clear"></div>
<div class="container" style="width: 50%">
<div class="row">
<div class="col-12">
@include('installer::flash.message')
@yield('content')
<div class="page-header clear-filter">
{{-- <div class="page-header-image" style="background-image:url({{ public_asset('/assets/installer/bg.jpg') }})"></div>--}}
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-8 ml-auto mr-auto content-center">
<div class="p-10" style="padding: 10px 0;">
<img src="{{ public_asset('/assets/img/logo_blue_bg.svg') }}" width="135px" style="" alt=""/>
</div>
<div class="card card-login card-plain" style="background: #FFF">
<div class="card-header text-center">
<h3 class="card-title title">@yield('title')</h3>
{{--<div class="text-large">
<a href="#" onclick="return false;" class="btn btn-neutral btn-facebook btn-icon btn-round">
<i class="now-ui-icons design_bullet-list-02"></i>
</a>
<a href="#" onclick="return false;" class="btn btn-neutral btn-twitter btn-icon btn-lg btn-round">
<i class="now-ui-icons users_single-02"></i>
</a>
<a href="#" onclick="return false;" class="btn btn-neutral btn-google btn-icon btn-round">
<i class="now-ui-icons users_single-02"></i>
</a>
</div>--}}
</div>
<div class="card-body">
<hr />
@include('installer::flash.message')
@yield('content')
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix" style="height: 200px;"></div>
</div>
{{--<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>--}}

View File

@ -10,7 +10,7 @@
</tr>
<tr>
<td>PHP Version: {{ $php['version'] }}</td>
<td style="text-align:center;">
<td style="text-align:right;">
@if($php['passed'] === true)
<span class="badge badge-success">OK</span>
@else
@ -25,7 +25,7 @@
@foreach($extensions as $ext)
<tr>
<td>{{ $ext['ext'] }}</td>
<td style="text-align:center;">
<td style="text-align:right;">
@if($ext['passed'] === true)
<span class="badge badge-success">OK</span>
@else
@ -44,7 +44,7 @@
@foreach($directories as $dir)
<tr>
<td>{{ $dir['dir'] }}</td>
<td style="text-align:center;">
<td style="text-align:right;">
@if($dir['passed'] === true)
<span class="badge badge-success">OK</span>
@else

View File

@ -32,7 +32,7 @@
</tr>
<tr>
<td><p>Select Database Type</p></td>
<td><p>Database Type</p></td>
<td style="text-align:center;">
<div class="form-group">
{{ Form::select('db_conn', $db_types, null, ['class' => 'form-control', 'id' => 'db_conn']) }}

View File

@ -8,6 +8,7 @@ COPY ext-opcache.ini $PHP_INI_DIR/conf.d/
RUN ln -sf /dev/stderr /var/log/fpm-error.log
RUN docker-php-ext-install \
bcmath \
calendar \
pdo_mysql \
gmp \

View File

@ -111,6 +111,10 @@
&[filter-color="orange"]{
@include linear-gradient(rgba($black-color,.20), rgba(224, 23, 3, 0.6));
}
&[filter-color="blue"]{
@include linear-gradient(rgba(6, 126, 193,.20), rgba(6, 126, 193, 0.6));
}
}
.section-story-overview{