aboutsummaryrefslogtreecommitdiffhomepage
path: root/install/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/index.php')
-rwxr-xr-xinstall/index.php42
1 files changed, 40 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php
index 54f7f7f2..68ed1326 100755
--- a/install/index.php
+++ b/install/index.php
@@ -275,6 +275,19 @@ background-color:#FF9500;
275.detail { 275.detail {
276cursor: pointer; 276cursor: pointer;
277} 277}
278.descriptions {
279 margin-left: 10%;
280 position: relative;
281 top: 50%;
282}
283.database_inputs {
284 float: left;
285 width: 50%
286}
287.database_info {
288 width: 100%;
289 overflow: auto;
290}
278.compatibity_result { 291.compatibity_result {
279 margin: auto; 292 margin: auto;
280 max-width: 300px; 293 max-width: 300px;
@@ -521,7 +534,8 @@ php composer.phar install</code></pre></li>
521 </ul> 534 </ul>
522 </div> 535 </div>
523 <?php endif; ?> 536 <?php endif; ?>
524 <fieldset> 537 <div class="database_info">
538 <fieldset class="database_inputs">
525 <legend><strong>Database settings</strong></legend> 539 <legend><strong>Database settings</strong></legend>
526 <p> 540 <p>
527 Database engine: 541 Database engine:
@@ -558,8 +572,20 @@ php composer.phar install</code></pre></li>
558 </ul> 572 </ul>
559 </p> 573 </p>
560 </fieldset> 574 </fieldset>
575 <div class="descriptions">
576 <div id="sqlite_description">
577 SQLite is the most simple database system of all three. It is therefore recommended for people who don't want or know how to configure other database systems.
578 </div>
579 <div id="mysql_description">
580 MySQL is one of the most popular database systems. It comes with most shared hosting plans.
581 </div>
582 <div id="postgres_description">
583 PostgreSQL. If you want it, you already know why you want it.
584 </div>
585 </div>
586 </div>
561 <hr> 587 <hr>
562 <fieldset> 588 <fieldset style="clear: both">
563 <legend><strong>User settings</strong></legend> 589 <legend><strong>User settings</strong></legend>
564 <p> 590 <p>
565 <label for="username">Username</label> 591 <label for="username">Username</label>
@@ -581,7 +607,10 @@ php composer.phar install</code></pre></li>
581 </div> 607 </div>
582 <script> 608 <script>
583 $("#mysql_infos").hide(); 609 $("#mysql_infos").hide();
610 $("#mysql_description").hide();
584 $("#pg_infos").hide(); 611 $("#pg_infos").hide();
612 $("#postgres_description").hide();
613 $("#sqlite_description").show();
585 614
586 $(".details").hide(); 615 $(".details").hide();
587 616
@@ -618,6 +647,9 @@ php composer.phar install</code></pre></li>
618 $("#pg_infos").hide(); 647 $("#pg_infos").hide();
619 $("#pdo_postgres").hide(); 648 $("#pdo_postgres").hide();
620 $("#pdo_sqlite").hide(); 649 $("#pdo_sqlite").hide();
650 $("#sqlite_description").hide();
651 $("#postgres_description").hide();
652 $("#mysql_description").show();
621 $("#install_button").show(); 653 $("#install_button").show();
622 } 654 }
623 else { 655 else {
@@ -627,6 +659,9 @@ php composer.phar install</code></pre></li>
627 $("#pg_infos").show(); 659 $("#pg_infos").show();
628 $("#pdo_postgres").show(); 660 $("#pdo_postgres").show();
629 $("#pdo_sqlite").hide(); 661 $("#pdo_sqlite").hide();
662 $("#sqlite_description").hide();
663 $("#mysql_description").hide();
664 $("#postgres_description").show();
630 $("#install_button").show(); 665 $("#install_button").show();
631 } 666 }
632 else { 667 else {
@@ -634,6 +669,9 @@ php composer.phar install</code></pre></li>
634 $("#pg_infos").hide(); 669 $("#pg_infos").hide();
635 $("#pdo_postgres").hide(); 670 $("#pdo_postgres").hide();
636 $("#pdo_mysql").hide(); 671 $("#pdo_mysql").hide();
672 $("#sqlite_description").show();
673 $("#mysql_description").hide();
674 $("#postgres_description").hide();
637 <?php 675 <?php
638 if (!extension_loaded('pdo_sqlite')) : ?> 676 if (!extension_loaded('pdo_sqlite')) : ?>
639 $("#pdo_sqlite").show(); 677 $("#pdo_sqlite").show();