Fix indentation method

This commit is contained in:
Benjamin Renard 2022-04-24 18:30:02 +02:00
parent dba4c6fa9e
commit c69dcfd38f
4 changed files with 32 additions and 32 deletions

View file

@ -3,6 +3,6 @@
require realpath(dirname(__FILE__).'/..')."/includes/core.php"; require realpath(dirname(__FILE__).'/..')."/includes/core.php";
if (is_callable('handle_cli_args')) if (is_callable('handle_cli_args'))
handle_cli_args(); handle_cli_args();
else 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.");

View file

@ -4,8 +4,8 @@ USER=$( basename $0 )
REAL_BIN=$( realpath -L $0|sed 's/\.wrapper$//' ) REAL_BIN=$( realpath -L $0|sed 's/\.wrapper$//' )
if [ "$( id -u -n )" != "$USER" ] if [ "$( id -u -n )" != "$USER" ]
then then
sudo -u $USER $REAL_BIN $@ sudo -u $USER $REAL_BIN $@
exit $? exit $?
fi fi
$REAL_BIN $@ $REAL_BIN $@
exit $? exit $?

View file

@ -1,6 +1,6 @@
/var/www/eesyphp/data/logs/*.log { /var/www/eesyphp/data/logs/*.log {
daily daily
missingok missingok
rotate 7 rotate 7
sharedscripts sharedscripts
} }

View file

@ -2,27 +2,27 @@
* Main interface components * Main interface components
*/ */
body { body {
font-family: arial, sans-serif; font-family: arial, sans-serif;
color: #606060; color: #606060;
} }
main[role="main"] { main[role="main"] {
margin-top: 1em; margin-top: 1em;
} }
a.navbar-brand img { a.navbar-brand img {
height: 27px; height: 27px;
} }
#footer { #footer {
border-top: 1px solid #333; border-top: 1px solid #333;
margin-top: 1em; margin-top: 1em;
padding-top: 1em; padding-top: 1em;
} }
#footer p { #footer p {
font-size: 0.8em; font-size: 0.8em;
text-align: center; text-align: center;
} }
/* /*
@ -38,29 +38,29 @@ img { max-width: 100%; }
* Messages/errors & fatal errors * Messages/errors & fatal errors
*/ */
.fatal_error_msg { .fatal_error_msg {
font-size: 0.8em; font-size: 0.8em;
color: #777; color: #777;
text-align: center; text-align: center;
font-style: italic; font-style: italic;
} }
.alert p { .alert p {
text-align: center; text-align: center;
} }
/* /*
* Tables * Tables
*/ */
th a, th a:hover { th a, th a:hover {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
} }
/* /*
* Forms * Forms
*/ */
.form-inline .form-control, .form-inline label, .form-inline input, .form-inline select, .form-inline button { .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 { label.required::after {
@ -68,17 +68,17 @@ label.required::after {
} }
.form-error { .form-error {
color: #dc3545; color: #dc3545;
} }
.invalid-feedback { .invalid-feedback {
display: block; display: block;
} }
span.form-control-plaintext { span.form-control-plaintext {
padding-top: calc(.375rem + 1px); padding-top: calc(.375rem + 1px);
padding-bottom: calc(.375rem + 1px); padding-bottom: calc(.375rem + 1px);
margin-bottom: 0; margin-bottom: 0;
font-size: inherit; font-size: inherit;
line-height: 1.5; line-height: 1.5;
} }