init update

This commit is contained in:
Glenn Hermans 2020-02-18 17:56:33 +01:00
parent 4801c2f371
commit d570aaf0b3
6 changed files with 72 additions and 34 deletions

View File

@ -4,11 +4,19 @@ body {
font-family: "Montserrat", sans-serif;
color: #000311;
text-align: center;
background: white;
background: #fff;
position: relative;
height: 100%;
}
a {
color: rgb(0, 65, 255);
}
.initial-display{
padding-top: 30px;
}
.initial-display .logo {
width: 150px;
}
@ -54,13 +62,12 @@ body {
}
.content {
border: 1px solid #979797;
border-radius: 3px;
width: 600px;
height: 392px;
box-shadow: 0 10px 40px rgba(62, 85, 120, 0.45);
width: 650px;
margin-left: calc(50% - 300px);
text-align: left;
overflow-x: scroll;
overflow:auto;
}
.title {
@ -70,6 +77,7 @@ body {
text-align: left;
margin-top: 30px;
margin-bottom: 10px;
text-align: center;
}
span {
@ -84,7 +92,7 @@ span {
.control-group {
display: block;
margin-bottom: 25px;
margin-bottom: 15px;
font-size: 15px;
color: #333333;
width: 750px;
@ -155,7 +163,7 @@ pre.bash {
}
.check {
line-height: 40px;
line-height: 35px;
}
.cp-round:after {
@ -189,3 +197,26 @@ pre.bash {
.message {
padding-left: 140px;
}
@media (max-width: 900px) {
.content {
padding: 2rem 0;
}
.content {
width: 90%;
height: 350px !important;
margin: 30px auto;
}
}
@media (min-width: 720px) {
.content {
padding: 1rem 0;
}
.content {
max-height: 488px;
margin: 30px auto;
}
}

View File

@ -19,6 +19,7 @@
<div class="control-group" id="mail_encryption">
<label for="mail_encryption">Encryption</label>
<select name="mail_encryption" class="control">
<option value="none">None</option>
<option value="ssl">SSL</option>
<option value="tls">TLS</option>
</select>

View File

@ -8,9 +8,9 @@
<form action="EnvConfig.php" method="POST" id="environment-form">
<div class="content">
<div class="databse-error" style="text-align: center; padding-top: 10px" id="database_error">
<div class="databse-error" style="text-align: center; padding-top: 5px" id="database_error">
</div>
<div class="form-container" style="padding: 10%; padding-top: 35px">
<div class="form-container" style="padding: 10%; padding-top: 3px">
<div class="control-group" id="app_name">
<label for="app_name" class="required">App Name</label>
<input type = "text" name = "app_name" class = "control"
@ -21,7 +21,7 @@
<div class="control-group" id="app_url">
<label for="app_url" class="required">App URL</label>
<input type="text" name="app_url" class="control"
<input type="text" name="app_url" class="control" value="https://<?php echo $_SERVER['HTTP_HOST']; ?>"
placeholder="http://localhost"
data-validation="required length" data-validation-length="max50">
</div>
@ -40,14 +40,13 @@
<div class="control-group" id="port_name">
<label for="port_name" class="required">Database Port</label>
<input type="text" name="port_name" class="control"
placeholder="3306"
<input type="text" name="port_name" class="control" value="3306" placeholder="3306"
data-validation="required alphanumeric number length" data-validation-length="max5">
</div>
<div class="control-group" id="host_name">
<label for="host_name" class="required">Database Host</label>
<input type="text" name="host_name" class="control"
<input type="text" name="host_name" class="control" value="127.0.0.1"
placeholder="127.0.0.1"
data-validation="required length" data-validation-length="max50">
</div>
@ -68,7 +67,7 @@
<div class="control-group" id="user_password">
<label for="user_password" class="required">User Password</label>
<input type="text" name="user_password" class="control"
<input type="password" name="user_password" class="control"
placeholder="database password">
</div>
</div>

View File

@ -7,12 +7,12 @@
<div class="content-container" style="padding: 20px">
<span>
Bagisto is successfully installed on your system.<br>
Click the below button to launch Admin Panel.
Click the below button to launch the admin panel.
</span>
</div>
</div>
<button class="prepare-btn" onclick="finish()">Finish</button>
<button class="prepare-btn" onclick="finish()">Continue</button>
</div>
</div>
</body>

View File

@ -14,15 +14,21 @@
<p>Requirements</p>
<div class="content">
<div class="title" style="text-align: center; margin-top: 10px">
Please wait while we are checking the requirements
<div class="title">
Please wait while we are checking the server requirements.
</div>
<br />
<div style="text-align: center; padding-bottom: 20px;">
This is just for testing purpose<br /> it will be removed before pushing to Bagisto's branch.
</div>
<div class="check" style="margin-left: 25%">
<?php if($phpVersion['supported'] ? $src = $greenCheck : $src = $redCheck): ?>
<img src="<?php echo $src ?>">
<?php endif; ?>
<span style="margin-left: 10px"><b>PHP</b></span>
<span><b>PHP</b></span>
<span>(<?php echo $phpVersion['minimum'] ?> or Higher)</span>
</div>
@ -33,19 +39,19 @@
<?php if($enabled ? $src = $greenCheck : $src = $redCheck ): ?>
<img src="<?php echo $src ?>">
<?php endif; ?>
<span style="margin-left: 10px"><b><?php echo $extention ?></b></span>
<span><b><?php echo $extention ?></b></span>
<span>(<?php echo $extention ?> Required)</span>
</div>
<?php endforeach; ?>
<?php endforeach; ?>
<php class="check" style="margin-left: 25%">
<div class="check" style="margin-left: 25%">
<?php if(($composerInstall['composer_install'] == 0) ? $src = $greenCheck : $src = $redCheck ): ?>
<img src="<?php echo $src ?>">
<span style="margin-left: 10px"><b>Composer</b></span>
<?php endif; ?>
</php>
</div>
<div style="margin-left: 30%;">
<?php if(!($composerInstall['composer_install'] == 0)): ?>

View File

@ -1,5 +1,4 @@
<html>
<?php
$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
@ -10,22 +9,25 @@
?>
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,500">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bagisto Installer</title>
<link rel="icon" sizes="16x16" href="Images/favicon.ico">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,500">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" type="text/css" href= "<?php echo $cssUrl; ?> ">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js"></script>
<link rel="stylesheet" type="text/css" href= "<?php echo $cssUrl; ?> ">
</head>
<body>
<div class="container requirement">
<div class="initial-display" style="padding-top: 100px;">
<div class="container">
<div class="initial-display">
<img class="logo" src= "<?php echo $logo; ?>" >
</div>
</div>
<?php
@ -134,10 +136,9 @@
}
?>
<div style="margin-bottom: 10px; margin-top: 10px;">
Powered by <a href="https://bagisto.com/" target="_blank" style="color: blue">Bagisto</a>, A Community Project by
<a href="https://webkul.com/" target="_blank" style="color: blue">Webkul</a>
<div style="margin-bottom: 5px; margin-top: 30px;">
Powered by <a href="https://bagisto.com/" target="_blank">Bagisto</a>, a community project by
<a href="https://webkul.com/" target="_blank">Webkul</a>
</div>
</body>
</html>