mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 14:49:15 +00:00
add informations on databases systems
This commit is contained in:
parent
ca056e7fd1
commit
dd0d7ad9a1
1 changed files with 41 additions and 2 deletions
|
@ -275,6 +275,19 @@ background-color:#FF9500;
|
||||||
.detail {
|
.detail {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.descriptions {
|
||||||
|
margin-left: 10%;
|
||||||
|
position: relative;
|
||||||
|
top: 50%;
|
||||||
|
}
|
||||||
|
.database_inputs {
|
||||||
|
float: left;
|
||||||
|
width: 50%
|
||||||
|
}
|
||||||
|
.database_info {
|
||||||
|
width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -453,6 +466,7 @@ cursor: pointer;
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<span style="display:inline-block;text-align: right;" class="detail">Close details</span>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="details">
|
<div class="details">
|
||||||
|
@ -493,7 +507,8 @@ php composer.phar install</code></pre></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<fieldset>
|
<div class="database_info">
|
||||||
|
<fieldset class="database_inputs">
|
||||||
<legend><strong>Technical settings</strong></legend>
|
<legend><strong>Technical settings</strong></legend>
|
||||||
<p>
|
<p>
|
||||||
Database engine:
|
Database engine:
|
||||||
|
@ -530,8 +545,20 @@ php composer.phar install</code></pre></li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<div class="descriptions">
|
||||||
|
<div id="sqlite_description">
|
||||||
|
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.
|
||||||
|
</div>
|
||||||
|
<div id="mysql_description">
|
||||||
|
MySQL is one of the most popular database systems. It comes with most shared hosting plans.
|
||||||
|
</div>
|
||||||
|
<div id="postgres_description">
|
||||||
|
PostgreSQL. If you want it, you already know why you want it.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<fieldset>
|
<fieldset style="clear: both">
|
||||||
<legend><strong>User settings</strong></legend>
|
<legend><strong>User settings</strong></legend>
|
||||||
<p>
|
<p>
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
|
@ -553,7 +580,10 @@ php composer.phar install</code></pre></li>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$("#mysql_infos").hide();
|
$("#mysql_infos").hide();
|
||||||
|
$("#mysql_description").hide();
|
||||||
$("#pg_infos").hide();
|
$("#pg_infos").hide();
|
||||||
|
$("#postgres_description").hide();
|
||||||
|
$("#sqlite_description").show();
|
||||||
|
|
||||||
$(".details").hide();
|
$(".details").hide();
|
||||||
|
|
||||||
|
@ -590,6 +620,9 @@ php composer.phar install</code></pre></li>
|
||||||
$("#pg_infos").hide();
|
$("#pg_infos").hide();
|
||||||
$("#pdo_postgres").hide();
|
$("#pdo_postgres").hide();
|
||||||
$("#pdo_sqlite").hide();
|
$("#pdo_sqlite").hide();
|
||||||
|
$("#sqlite_description").hide();
|
||||||
|
$("#postgres_description").hide();
|
||||||
|
$("#mysql_description").show();
|
||||||
$("#install_button").show();
|
$("#install_button").show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -599,6 +632,9 @@ php composer.phar install</code></pre></li>
|
||||||
$("#pg_infos").show();
|
$("#pg_infos").show();
|
||||||
$("#pdo_postgres").show();
|
$("#pdo_postgres").show();
|
||||||
$("#pdo_sqlite").hide();
|
$("#pdo_sqlite").hide();
|
||||||
|
$("#sqlite_description").hide();
|
||||||
|
$("#mysql_description").hide();
|
||||||
|
$("#postgres_description").show();
|
||||||
$("#install_button").show();
|
$("#install_button").show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -606,6 +642,9 @@ php composer.phar install</code></pre></li>
|
||||||
$("#pg_infos").hide();
|
$("#pg_infos").hide();
|
||||||
$("#pdo_postgres").hide();
|
$("#pdo_postgres").hide();
|
||||||
$("#pdo_mysql").hide();
|
$("#pdo_mysql").hide();
|
||||||
|
$("#sqlite_description").show();
|
||||||
|
$("#mysql_description").hide();
|
||||||
|
$("#postgres_description").hide();
|
||||||
<?php
|
<?php
|
||||||
if (!extension_loaded('pdo_sqlite')) : ?>
|
if (!extension_loaded('pdo_sqlite')) : ?>
|
||||||
$("#pdo_sqlite").show();
|
$("#pdo_sqlite").show();
|
||||||
|
|
Loading…
Reference in a new issue