From c69dcfd38f8628c7d2f1922930645cd7abbbc913 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 24 Apr 2022 18:30:02 +0200 Subject: [PATCH] Fix indentation method --- bin/eesyphp | 4 ++-- bin/eesyphp.wrapper | 4 ++-- docs/eesyphp.logrotate | 8 +++---- public_html/css/style.css | 48 +++++++++++++++++++-------------------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/bin/eesyphp b/bin/eesyphp index e8b1e84..57f7316 100755 --- a/bin/eesyphp +++ b/bin/eesyphp @@ -3,6 +3,6 @@ require realpath(dirname(__FILE__).'/..')."/includes/core.php"; if (is_callable('handle_cli_args')) - handle_cli_args(); + handle_cli_args(); else - logging('FATAL', "An error occured initializing CLI : handle_cli_args() function not found."); + logging('FATAL', "An error occured initializing CLI : handle_cli_args() function not found."); diff --git a/bin/eesyphp.wrapper b/bin/eesyphp.wrapper index eca046c..4ba6bbf 100755 --- a/bin/eesyphp.wrapper +++ b/bin/eesyphp.wrapper @@ -4,8 +4,8 @@ USER=$( basename $0 ) REAL_BIN=$( realpath -L $0|sed 's/\.wrapper$//' ) if [ "$( id -u -n )" != "$USER" ] then - sudo -u $USER $REAL_BIN $@ - exit $? + sudo -u $USER $REAL_BIN $@ + exit $? fi $REAL_BIN $@ exit $? diff --git a/docs/eesyphp.logrotate b/docs/eesyphp.logrotate index ae2941c..27ca512 100644 --- a/docs/eesyphp.logrotate +++ b/docs/eesyphp.logrotate @@ -1,6 +1,6 @@ /var/www/eesyphp/data/logs/*.log { - daily - missingok - rotate 7 - sharedscripts + daily + missingok + rotate 7 + sharedscripts } diff --git a/public_html/css/style.css b/public_html/css/style.css index 35d7f6b..5fbf2aa 100644 --- a/public_html/css/style.css +++ b/public_html/css/style.css @@ -2,27 +2,27 @@ * Main interface components */ body { - font-family: arial, sans-serif; - color: #606060; + font-family: arial, sans-serif; + color: #606060; } main[role="main"] { - margin-top: 1em; + margin-top: 1em; } a.navbar-brand img { - height: 27px; + height: 27px; } #footer { - border-top: 1px solid #333; - margin-top: 1em; - padding-top: 1em; + border-top: 1px solid #333; + margin-top: 1em; + padding-top: 1em; } #footer p { - font-size: 0.8em; - text-align: center; + font-size: 0.8em; + text-align: center; } /* @@ -38,29 +38,29 @@ img { max-width: 100%; } * Messages/errors & fatal errors */ .fatal_error_msg { - font-size: 0.8em; - color: #777; - text-align: center; - font-style: italic; + font-size: 0.8em; + color: #777; + text-align: center; + font-style: italic; } .alert p { - text-align: center; + text-align: center; } /* * Tables */ th a, th a:hover { - color: #000; - text-decoration: none; + color: #000; + text-decoration: none; } /* * Forms */ .form-inline .form-control, .form-inline label, .form-inline input, .form-inline select, .form-inline button { - margin-left: 1em!important; + margin-left: 1em!important; } label.required::after { @@ -68,17 +68,17 @@ label.required::after { } .form-error { - color: #dc3545; + color: #dc3545; } .invalid-feedback { - display: block; + display: block; } span.form-control-plaintext { - padding-top: calc(.375rem + 1px); - padding-bottom: calc(.375rem + 1px); - margin-bottom: 0; - font-size: inherit; - line-height: 1.5; + padding-top: calc(.375rem + 1px); + padding-bottom: calc(.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; }