aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-01-31 23:44:20 +0100
committerThomas Citharel <tcit@tcit.fr>2015-01-31 23:44:20 +0100
commitdd0d7ad9a18cce6424442ac37340ded039f5e0fb (patch)
treeeac4be051ea497f4cee71769114c5afdee225f4d
parentca056e7fd1e2bcc8390aabdc6b4fcb84aeb0d302 (diff)
downloadwallabag-dd0d7ad9a18cce6424442ac37340ded039f5e0fb.tar.gz
wallabag-dd0d7ad9a18cce6424442ac37340ded039f5e0fb.tar.zst
wallabag-dd0d7ad9a18cce6424442ac37340ded039f5e0fb.zip
add informations on databases systems
-rwxr-xr-xinstall/index.php43
1 files changed, 41 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php
index 77b83c36..73c594cd 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 291
279</style> 292</style>
280 293
@@ -453,6 +466,7 @@ cursor: pointer;
453 </tr> 466 </tr>
454 </tbody> 467 </tbody>
455 </table> 468 </table>
469 <span style="display:inline-block;text-align: right;" class="detail">Close details</span>
456 </div> 470 </div>
457 <hr> 471 <hr>
458 <div class="details"> 472 <div class="details">
@@ -493,7 +507,8 @@ php composer.phar install</code></pre></li>
493 </ul> 507 </ul>
494 </div> 508 </div>
495 <?php endif; ?> 509 <?php endif; ?>
496 <fieldset> 510 <div class="database_info">
511 <fieldset class="database_inputs">
497 <legend><strong>Technical settings</strong></legend> 512 <legend><strong>Technical settings</strong></legend>
498 <p> 513 <p>
499 Database engine: 514 Database engine:
@@ -530,8 +545,20 @@ php composer.phar install</code></pre></li>
530 </ul> 545 </ul>
531 </p> 546 </p>
532 </fieldset> 547 </fieldset>
548 <div class="descriptions">
549 <div id="sqlite_description">
550 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.
551 </div>
552 <div id="mysql_description">
553 MySQL is one of the most popular database systems. It comes with most shared hosting plans.
554 </div>
555 <div id="postgres_description">
556 PostgreSQL. If you want it, you already know why you want it.
557 </div>
558 </div>
559 </div>
533 <hr> 560 <hr>
534 <fieldset> 561 <fieldset style="clear: both">
535 <legend><strong>User settings</strong></legend> 562 <legend><strong>User settings</strong></legend>
536 <p> 563 <p>
537 <label for="username">Username</label> 564 <label for="username">Username</label>
@@ -553,7 +580,10 @@ php composer.phar install</code></pre></li>
553 </div> 580 </div>
554 <script> 581 <script>
555 $("#mysql_infos").hide(); 582 $("#mysql_infos").hide();
583 $("#mysql_description").hide();
556 $("#pg_infos").hide(); 584 $("#pg_infos").hide();
585 $("#postgres_description").hide();
586 $("#sqlite_description").show();
557 587
558 $(".details").hide(); 588 $(".details").hide();
559 589
@@ -590,6 +620,9 @@ php composer.phar install</code></pre></li>
590 $("#pg_infos").hide(); 620 $("#pg_infos").hide();
591 $("#pdo_postgres").hide(); 621 $("#pdo_postgres").hide();
592 $("#pdo_sqlite").hide(); 622 $("#pdo_sqlite").hide();
623 $("#sqlite_description").hide();
624 $("#postgres_description").hide();
625 $("#mysql_description").show();
593 $("#install_button").show(); 626 $("#install_button").show();
594 } 627 }
595 else { 628 else {
@@ -599,6 +632,9 @@ php composer.phar install</code></pre></li>
599 $("#pg_infos").show(); 632 $("#pg_infos").show();
600 $("#pdo_postgres").show(); 633 $("#pdo_postgres").show();
601 $("#pdo_sqlite").hide(); 634 $("#pdo_sqlite").hide();
635 $("#sqlite_description").hide();
636 $("#mysql_description").hide();
637 $("#postgres_description").show();
602 $("#install_button").show(); 638 $("#install_button").show();
603 } 639 }
604 else { 640 else {
@@ -606,6 +642,9 @@ php composer.phar install</code></pre></li>
606 $("#pg_infos").hide(); 642 $("#pg_infos").hide();
607 $("#pdo_postgres").hide(); 643 $("#pdo_postgres").hide();
608 $("#pdo_mysql").hide(); 644 $("#pdo_mysql").hide();
645 $("#sqlite_description").show();
646 $("#mysql_description").hide();
647 $("#postgres_description").hide();
609 <?php 648 <?php
610 if (!extension_loaded('pdo_sqlite')) : ?> 649 if (!extension_loaded('pdo_sqlite')) : ?>
611 $("#pdo_sqlite").show(); 650 $("#pdo_sqlite").show();