From d09a5674e915e79762931a3465461327fb5737ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 20 Feb 2014 08:58:59 +0100 Subject: [PATCH] [add] message in install screen to prevent user when wallabag is already installed --- install/index.php | 14 +++++++++++--- themes/baggy/css/messages.css | 8 ++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/install/index.php b/install/index.php index 4d7e8cd2e..975b997f1 100644 --- a/install/index.php +++ b/install/index.php @@ -172,7 +172,7 @@ else if ($_POST['install']) {
  • wallabag.org
  • -
    +

    Errors during installation:

      @@ -185,7 +185,7 @@ else if ($_POST['install']) {
    -
    +

      @@ -194,6 +194,14 @@ else if ($_POST['install']) {

    + + +
    +

    + wallabag seems already installed. If you want to update it, you only have to delete install folder. +

    +
    +

    To install wallabag, you just have to fill the following fields. That's all.

    Don't forget to check your server compatibility here.

    @@ -201,7 +209,7 @@ else if ($_POST['install']) {
    Technical settings -
    wallabag needs twig, a template engine (?). Two ways to install it: +
    wallabag needs twig, a template engine (?). Two ways to install it:
    • automatically download and extract vendor.zip into your wallabag folder.

      diff --git a/themes/baggy/css/messages.css b/themes/baggy/css/messages.css index 85a0dbc14..42da70b30 100755 --- a/themes/baggy/css/messages.css +++ b/themes/baggy/css/messages.css @@ -1,19 +1,19 @@ -.install .messages.error { +.messages.error.install { border: 1px solid #c42608; color: #c00 !important; background: #fff0ef; text-align: left; } -.install .messages.notice { +.messages.notice.install { border: 1px solid #ebcd41; color: #000; background: #fffcd3; text-align: left; } -.install .messages.success { +.messages.success.install { border: 1px solid #6dc70c; - background: #e0fbcc; + background: #e0fbcc !important; text-align: left; } \ No newline at end of file