CMXX - Custom folder
This commit is contained in:
BIN
custom/soveliti/.DS_Store
vendored
Normal file
BIN
custom/soveliti/.DS_Store
vendored
Normal file
Binary file not shown.
99
custom/soveliti/mail/email_template_firmware.php
Normal file
99
custom/soveliti/mail/email_template_firmware.php
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$firmare_subject = 'CustomerPortal - Firmware update available';
|
||||
$firmware_header = 'Dear customer';
|
||||
$firmware_text = 'According to our records on or more of your products can benefit from a firmware update.';
|
||||
$firmware_text_closure = 'For more information please refer to our Customer Portal or contact your supplier.';
|
||||
|
||||
$consent = 'unscribe';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$subject = $firmare_subject;
|
||||
|
||||
$message = '
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>' . $subject . '</title>
|
||||
<style>
|
||||
@media screen and (max-width: 600px) {
|
||||
.content {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
.header, .body, .footer {
|
||||
padding: 20px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="font-family: Arial, sans-serif">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px;">
|
||||
<table class="content" width="600" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #cccccc;">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td class="header" style="background-color:#005655; padding: 40px; text-align: center; color: white; font-size: 24px;">
|
||||
CustomerPortal
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Body -->
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $firmware_header . ',
|
||||
<br>
|
||||
<br>
|
||||
'.$firmware_text.'
|
||||
<br>
|
||||
<br>
|
||||
'.$firmware_text_closure.'
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Call to action Button -->
|
||||
<tr>
|
||||
<td style="padding: 0px 40px 0px 40px; text-align: center;">
|
||||
<!-- CTA Button -->
|
||||
<table cellspacing="0" cellpadding="0" style="margin: auto;">
|
||||
<tr>
|
||||
<td align="center" style="background-color: #008685; padding: 10px 20px; border-radius: 5px;">
|
||||
<a href="https://' . $portalURL . '" target="_blank" style="color: #ffffff; text-decoration: none; font-weight: bold;">Goto Portal</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
<br>
|
||||
Kind regards,
|
||||
<br>
|
||||
<br>
|
||||
Service team
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td class="footer" style="background: url(\'https://'.$portalURL.emaillogo.'\');background-position: center center;background-repeat:no-repeat;background-size:contain;background-color: #005655; padding: 40px;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<a style="text-decoration: none;font-size: 10px;color: #00bcd4;" href="https://'.$portalURL.'/unscribe.php?email='.$to.'">'.$consent.'</a>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>';
|
||||
102
custom/soveliti/mail/email_template_new.php
Normal file
102
custom/soveliti/mail/email_template_new.php
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$newuser_subject = 'CustomerPortal user created';
|
||||
$newuser_header = 'Dear CustomerPortal user';
|
||||
|
||||
$newuser_text = 'Your administrator has provided access to the CustomerPortal.';
|
||||
$newuser_credential_text_1 = 'Your account has been created with username ';
|
||||
$newuser_credential_text_2 = 'Please click the button below to complete your registration.';
|
||||
|
||||
$newuser_closure = 'For security reasons this link is only active for 10 minutes.';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$subject = $newuser_subject;
|
||||
|
||||
$message = '
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>' . $subject . '</title>
|
||||
<style>
|
||||
@media screen and (max-width: 600px) {
|
||||
.content {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
.header, .body, .footer {
|
||||
padding: 20px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="font-family: Arial, sans-serif">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px;">
|
||||
<table class="content" width="600" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #cccccc;">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td class="header" style="background-color:#005655; padding: 40px; text-align: center; color: white; font-size: 24px;">
|
||||
CustomerPortal
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Body -->
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $newuser_header . ',
|
||||
<br>
|
||||
<br>
|
||||
'.$newuser_text.' '.$newuser_credential_text_1.'<b>'.$post_content['username'].'</b>
|
||||
<br>
|
||||
<br>
|
||||
'.$newuser_credential_text_2.'
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Call to action Button -->
|
||||
<tr>
|
||||
<td style="padding: 0px 40px 0px 40px; text-align: center;">
|
||||
<!-- CTA Button -->
|
||||
<table cellspacing="0" cellpadding="0" style="margin: auto;">
|
||||
<tr>
|
||||
<td align="center" style="background-color: #008685; padding: 10px 20px; border-radius: 5px;">
|
||||
<a href="https://' . $portalURL . '/reset.php?resetkey='.$resetkey.'" target="_blank" style="color: #ffffff; text-decoration: none; font-weight: bold;">Reset Password</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $newuser_closure . '
|
||||
<br>
|
||||
<br>
|
||||
Kind regards,
|
||||
<br>
|
||||
<br>
|
||||
Service team
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td class="footer" style="background: url(\'https://'.$portalURL.emaillogo.'\');background-position: center center;background-repeat:no-repeat;background-size:contain;background-color: #005655; padding: 40px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
99
custom/soveliti/mail/email_template_reset.php
Normal file
99
custom/soveliti/mail/email_template_reset.php
Normal file
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$changeuser_subject = 'CustomerPortal - password reset requested';
|
||||
$changeuser_header = 'Dear CustomerPortal user';
|
||||
$changeuser_text = 'A password reset has been requested for your account.';
|
||||
$changeuser_credential_text_1 = 'Please click the button below to reset the password of your CustomerPortal account.';
|
||||
$changeuser_closure = 'For security reasons this link is only active for 10 minutes.';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$subject = $changeuser_subject;
|
||||
|
||||
$message = '
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>' . $subject . '</title>
|
||||
<style>
|
||||
@media screen and (max-width: 600px) {
|
||||
.content {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
.header, .body, .footer {
|
||||
padding: 20px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="font-family: Arial, sans-serif">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px;">
|
||||
<table class="content" width="600" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #cccccc;">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td class="header" style="background-color:#005655; padding: 40px; text-align: center; color: white; font-size: 24px;">
|
||||
CustomerPortal
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Body -->
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $changeuser_header . ',
|
||||
<br>
|
||||
<br>
|
||||
'.$changeuser_text.'
|
||||
<br>
|
||||
<br>
|
||||
'.$changeuser_credential_text_1 .'
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Call to action Button -->
|
||||
<tr>
|
||||
<td style="padding: 0px 40px 0px 40px; text-align: center;">
|
||||
<!-- CTA Button -->
|
||||
<table cellspacing="0" cellpadding="0" style="margin: auto;">
|
||||
<tr>
|
||||
<td align="center" style="background-color: #008685; padding: 10px 20px; border-radius: 5px;">
|
||||
<a href="https://' . $portalURL . '/reset.php?resetkey='.$resetkey.'" target="_blank" style="color: #ffffff; text-decoration: none; font-weight: bold;">Reset Password</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $changeuser_closure . '
|
||||
<br>
|
||||
<br>
|
||||
Kind regards,
|
||||
<br>
|
||||
<br>
|
||||
Service team
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td class="footer" style="background: url(\'https://'.$portalURL.emaillogo.'\');background-position: center center;background-repeat:no-repeat;background-size:contain;background-color: #005655; padding: 40px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
98
custom/soveliti/mail/email_template_software.php
Normal file
98
custom/soveliti/mail/email_template_software.php
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$register_user_subject = 'CustomerPortal - Registration';
|
||||
$register_user_header = 'Dear customer';
|
||||
$register_user_text = 'Thanks for your registration. Based on your product registration we herewith provide you access to our online firmware update capability';
|
||||
$register_user_credential_text = 'To update your product click on the button below and use username <b>'.software_update_user.'</b> and password <b>'.software_update_pw.'</b> to login';
|
||||
$register_user_closure = 'This is a generic account and cannot be changed.';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$subject = $register_user_subject;
|
||||
|
||||
$message = '
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>' . $subject . '</title>
|
||||
<style>
|
||||
@media screen and (max-width: 600px) {
|
||||
.content {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
padding: 10px !important;
|
||||
}
|
||||
.header, .body, .footer {
|
||||
padding: 20px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="font-family: Arial, sans-serif">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center" style="padding: 20px;">
|
||||
<table class="content" width="600" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #cccccc;">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td class="header" style="background-color:#005655; padding: 40px; text-align: center; color: white; font-size: 24px;">
|
||||
CustomerPortal
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Body -->
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $register_user_header . ',
|
||||
<br>
|
||||
<br>
|
||||
'.$register_user_text.'
|
||||
<br>
|
||||
<br>
|
||||
'.$register_user_credential_text.'
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Call to action Button -->
|
||||
<tr>
|
||||
<td style="padding: 0px 40px 0px 40px; text-align: center;">
|
||||
<!-- CTA Button -->
|
||||
<table cellspacing="0" cellpadding="0" style="margin: auto;">
|
||||
<tr>
|
||||
<td align="center" style="background-color: #008685; padding: 10px 20px; border-radius: 5px;">
|
||||
<a href="https://' . $portalURL . '" target="_blank" style="color: #ffffff; text-decoration: none; font-weight: bold;">Goto Portal</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="body" style="padding: 40px; text-align: left; font-size: 16px; line-height: 1.6;">
|
||||
' . $register_user_closure . '
|
||||
<br>
|
||||
<br>
|
||||
Kind regards,
|
||||
<br>
|
||||
<br>
|
||||
Service team
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td class="footer" style="background: url(\'https://'.$portalURL.emaillogo.'\');background-position: center center;background-repeat:no-repeat;background-size:contain;background-color: #005655; padding: 40px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
348
custom/soveliti/settings/settingsmenu.php
Normal file
348
custom/soveliti/settings/settingsmenu.php
Normal file
@@ -0,0 +1,348 @@
|
||||
<?php
|
||||
|
||||
//------------------------------------------
|
||||
// Menusetup and settings
|
||||
//
|
||||
//
|
||||
// Each Menu name in urls array requires reference
|
||||
// into translation files and corresponding profile
|
||||
//------------------------------------------
|
||||
$main_menu = [
|
||||
"dashboard" => [
|
||||
"main_menu" => [
|
||||
"url" => "dashboard",
|
||||
"selected" => "dashboard",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_dashboard"
|
||||
]
|
||||
],
|
||||
"sales" => [
|
||||
"main_menu" => [
|
||||
"url" => "contracts",
|
||||
"selected" => "contracts",
|
||||
"icon" => "fa-solid fa-bars",
|
||||
"name" => "menu_sales"
|
||||
],
|
||||
"accounts" => [
|
||||
"url" => "accounts",
|
||||
"selected" => "accounts",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_sales_accounts"
|
||||
],
|
||||
"catalog" => [
|
||||
"url" => "catalog",
|
||||
"selected" => "catalog",
|
||||
"icon" => "fa-solid fa-photo-film",
|
||||
"name" => "menu_catalog"
|
||||
],
|
||||
"contracts" => [
|
||||
"url" => "contracts",
|
||||
"selected" => "contracts",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_sales_contracts"
|
||||
],
|
||||
"orders" => [
|
||||
"url" => "orders",
|
||||
"selected" => "orders",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_sales_orders"
|
||||
],
|
||||
"identity" => [
|
||||
"url" => "identity",
|
||||
"selected" => "identity",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_identity"
|
||||
]
|
||||
],
|
||||
"buildtool" => [
|
||||
"main_menu" => [
|
||||
"url" => "buildtool",
|
||||
"selected" => "buildtool",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_build"
|
||||
]
|
||||
],
|
||||
"cartests" => [
|
||||
"main_menu" => [
|
||||
"url" => "cartests",
|
||||
"selected" => "cartests",
|
||||
"icon" => "fa-solid fa-car",
|
||||
"name" => "menu_cartest"
|
||||
]
|
||||
],
|
||||
"marketing" => [
|
||||
"main_menu" => [
|
||||
"url" => "marketing&product_group=Emergency_Plug&product_content=Images",
|
||||
"selected" => "marketing",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_marketing"
|
||||
]
|
||||
],
|
||||
"equipments" => [
|
||||
"main_menu" => [
|
||||
"url" => "equipments",
|
||||
"selected" => "assets",
|
||||
"icon" => "fa-solid fa-database",
|
||||
"name" => "menu_assets"
|
||||
],
|
||||
"equipments" =>[
|
||||
"url" => "equipments",
|
||||
"selected" => "assets",
|
||||
"icon" => "fa-solid fa-database",
|
||||
"name" => "menu_assets"
|
||||
],
|
||||
"servicereports" => [
|
||||
"url" => "servicereports",
|
||||
"selected" => "servicereports",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_service_reports"
|
||||
],
|
||||
"rmas" => [
|
||||
"url" => "rmas",
|
||||
"selected" => "rmas",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_rmas"
|
||||
],
|
||||
"histories" => [
|
||||
"url" => "histories",
|
||||
"selected" => "histories",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_history"
|
||||
],
|
||||
"firmwaretool" => [
|
||||
"url" => "firmwaretool",
|
||||
"selected" => "firmwaretool",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_firmwaretool"
|
||||
] ,
|
||||
"equipments_mass_update" => [
|
||||
"url" => "equipments_mass_update",
|
||||
"selected" => "equipments_mass_update",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_equipments_mass_update"
|
||||
]
|
||||
],
|
||||
"products" => [
|
||||
"main_menu" => [
|
||||
"url" => "products&status=1",
|
||||
"selected" => "products",
|
||||
"icon" => "fas fa-box-open",
|
||||
"name" => "menu_products"
|
||||
],
|
||||
"products" => [
|
||||
"url" => "products&status=1",
|
||||
"selected" => "products",
|
||||
"icon" => "fas fa-box-open",
|
||||
"name" => "menu_products"
|
||||
],
|
||||
"products_attributes" => [
|
||||
"url" => "products_attributes",
|
||||
"selected" => "products_attributes",
|
||||
"icon" => "fas fa-box-open",
|
||||
"name" => "menu_products_attributes"
|
||||
],
|
||||
"pricelists" => [
|
||||
"url" => "pricelists",
|
||||
"selected" => "pricelists",
|
||||
"icon" => "fa-solid fa-coins",
|
||||
"name" => "menu_pricelists"
|
||||
]
|
||||
],
|
||||
"reporting" => [
|
||||
"main_menu" => [
|
||||
"url" => "report_build",
|
||||
"selected" => "report_build",
|
||||
"icon" => "fa-solid fa-magnifying-glass-chart",
|
||||
"name" => "menu_report_main"
|
||||
],
|
||||
"report_build" => [
|
||||
"url" => "report_build",
|
||||
"selected" => "report_build",
|
||||
"icon" => "fa-solid fa-magnifying-glass-chart",
|
||||
"name" => "menu_report_build"
|
||||
],
|
||||
"report_contracts_billing" => [
|
||||
"url" => "report_contracts_billing",
|
||||
"selected" => "report_contracts_billing",
|
||||
"icon" => "fa-solid fa-magnifying-glass-chart",
|
||||
"name" => "menu_report_contracts_billing"
|
||||
],
|
||||
"report_healthindex" => [
|
||||
"url" => "report_healthindex",
|
||||
"selected" => "report_healthindex",
|
||||
"icon" => "fa-solid fa-magnifying-glass-chart",
|
||||
"name" => "menu_report_healthindex"
|
||||
],
|
||||
"report_usage" => [
|
||||
"url" => "report_usage",
|
||||
"selected" => "report_usage",
|
||||
"icon" => "fa-solid fa-magnifying-glass-chart",
|
||||
"name" => "menu_report_usage"
|
||||
]
|
||||
],
|
||||
"admin" =>[
|
||||
"main_menu" => [
|
||||
"url" => "partners",
|
||||
"selected" => "partners",
|
||||
"icon" => "fa-solid fa-bars",
|
||||
"name" => "menu_admin"
|
||||
],
|
||||
"partners" => [
|
||||
"url" => "partners",
|
||||
"selected" => "partners",
|
||||
"icon" => "fa-solid fa-bars",
|
||||
"name" => "menu_admin_partners"
|
||||
],
|
||||
"users" => [
|
||||
"url" => "users",
|
||||
"selected" => "users",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_admin_users"
|
||||
],
|
||||
"communications" => [
|
||||
"url" => "communications",
|
||||
"selected" => "communications",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_admin_communications"
|
||||
],
|
||||
"media" => [
|
||||
"url" => "media",
|
||||
"selected" => "media",
|
||||
"icon" => "fa-solid fa-photo-film",
|
||||
"name" => "menu_media"
|
||||
],
|
||||
"categories" => [
|
||||
"url" => "categories",
|
||||
"selected" => "categories",
|
||||
"icon" => "fa-solid fa-photo-film",
|
||||
"name" => "menu_categories"
|
||||
],
|
||||
"discounts" => [
|
||||
"url" => "discounts",
|
||||
"selected" => "discounts",
|
||||
"icon" => "fa-solid fa-photo-film",
|
||||
"name" => "menu_discounts"
|
||||
],
|
||||
"shipping" => [
|
||||
"url" => "shipping",
|
||||
"selected" => "shipping",
|
||||
"icon" => "fa-solid fa-truck-fast",
|
||||
"name" => "menu_shipping"
|
||||
]
|
||||
],
|
||||
"settings" => [
|
||||
"main_menu" => [
|
||||
"url" => "settings",
|
||||
"selected" => "settings",
|
||||
"icon" => "fas fa-tools",
|
||||
"name" => "menu_settings"
|
||||
],
|
||||
"config" => [
|
||||
"url" => "settings",
|
||||
"selected" => "settings",
|
||||
"icon" => "fas fa-tools",
|
||||
"name" => "menu_config"
|
||||
],
|
||||
"translations" => [
|
||||
"url" => "translations",
|
||||
"selected" => "translations",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_translations"
|
||||
],
|
||||
"uploader" => [
|
||||
"url" => "uploader",
|
||||
"selected" => "uploader",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_uploader"
|
||||
],
|
||||
"logfile" => [
|
||||
"url" => "logfile",
|
||||
"selected" => "logfile",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_logfile"
|
||||
],
|
||||
"maintenance" => [
|
||||
"url" => "maintenance",
|
||||
"selected" => "maintenance",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_maintenance"
|
||||
],
|
||||
"profiles" => [
|
||||
"url" => "profiles",
|
||||
"selected" => "profiles",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_profiles"
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
$routes = array(
|
||||
'/' => 'equipments.php',
|
||||
'equipments' => 'equipments.php',
|
||||
'products' => 'products.php',
|
||||
'logout' => 'logout.php'
|
||||
);
|
||||
|
||||
//------------------------------------------
|
||||
// Paging
|
||||
//------------------------------------------
|
||||
$page_rows_equipment = 25; //list Equipment
|
||||
$page_rows_history = 15; //list History
|
||||
$page_rows_products = 25;//list producst
|
||||
$page_rows_users = 15;//list users
|
||||
$page_rows_partners = 15;//list partners
|
||||
$page_rows_communication = 25; //list communications
|
||||
$page_rows_accounts = 25 ;// list accounts
|
||||
$page_rows_contracts = 25 ;// list contracts
|
||||
$page_rows_cartest = 25 ;// list contracts
|
||||
$page_rows_equipment_servicereporst = 5 ;// Number of service reports on equipment
|
||||
$page_rows_changelog = 50 ;// Number of changelogs returned
|
||||
$page_rows_rma = 25; // list RMA
|
||||
$page_rows_translations = 50; //list translation variables
|
||||
$page_rows_products_attributes = 50; //list product attributes
|
||||
$page_rows_media = 25; // list media
|
||||
$page_rows_pricelists = 50;//pricelists
|
||||
$page_rows_categories = 25;//categories
|
||||
$page_rows_discounts = 25;//discounts
|
||||
$page_rows_shipping = 25;//discounts
|
||||
$page_rows_transactions = 25; //transactions
|
||||
$page_rows_invoice = 25; //invoices
|
||||
//------------------------------------------
|
||||
// Languages supported
|
||||
//------------------------------------------
|
||||
$supportedLanguages = ['US', 'NL', 'DE', 'ES','PT'];
|
||||
|
||||
//------------------------------------------
|
||||
// Pricing
|
||||
//------------------------------------------
|
||||
$supportedCurrencies = ["0" =>"euro", "1"=>"dollar"];
|
||||
|
||||
$supportedModifiers = ["0" =>"subtract", "1"=>"add"];
|
||||
|
||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
// All individual views and APIs - Profile ++++++++++++++
|
||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
$all_profiles = [
|
||||
"build",
|
||||
"commerce",
|
||||
"distribution",
|
||||
"firmware",
|
||||
"garage",
|
||||
"interface",
|
||||
"service",
|
||||
"other"
|
||||
];
|
||||
|
||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
// Marketing +++++++++++++++++++++++++++++++++++++
|
||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
$main_marketing_dir = './marketing/';
|
||||
|
||||
$marketing_structure = array(
|
||||
"Emergency_Plug" => array(
|
||||
"Documents",
|
||||
"Images",
|
||||
"Video"
|
||||
)
|
||||
);
|
||||
27
custom/soveliti/settings/settingsprofiles.php
Normal file
27
custom/soveliti/settings/settingsprofiles.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/*Standard*/
|
||||
define('standard_profile','dashboard,profile,equipments,equipment,histories,history,firmwaretool,products_software,servicereports,servicereport,application');
|
||||
/*Superuser*/
|
||||
define('superuser_profile','dashboard,profile,assets,equipments,equipment,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,marketing,application');
|
||||
/*Admin*/
|
||||
define('admin_profile','dashboard,profile,buildtool,sales,accounts,account,contracts,contract,contract_manage,cartests,cartest,cartest_manage,assets,equipments,equipment,equipment_healthindex,equipment_data,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,rmas,rma,rma_manage,rma_history,rma_history_manage,buildtool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,communications,communication,communication_send,marketing,reporting,report_build,report_contracts_billing,report_healthindex,changelog,application');
|
||||
/*AdminPlus*/
|
||||
define('adminplus_profile','dashboard,profile,buildtool,sales,accounts,account,contracts,contract,contract_manage,billing,cartests,cartest,cartest_manage,assets,equipments,equipment,equipment_healthindex,equipment_data,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,rmas,rma,rma_manage,rma_history,rma_history_manage,buildtool,products,products_versions,products_software,products_attributes,products_attributes_items,products_attributes_manage,products_configurations,products_categories,products_media,product,product_manage,pricelists,pricelists_items,pricelists_manage,catalog,categories,category,discounts,discount,shipping,shipping_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,communications,communication,communication_send,marketing,reporting,report_build,report_contracts_billing,report_healthindex,report_usage,config,settings,logfile,changelog,language,translations,translations_details,translation_manage,media,media_manage,application,maintenance,uploader,profiles,vin,shopping_cart,checkout,placeorder,taxes,transactions,transactions_items,invoice,order,orders,identity');
|
||||
/*Build*/
|
||||
define('build','dashboard,profile,buildtool,firmwaretool,buildtool,products_software,application');
|
||||
/*Commerce*/
|
||||
define('commerce','dashboard,profile,products,products_versions,products_software,products_attributes,products_attributes_items,products_attributes_manage,products_configurations,products_categories,products_media,product,product_manage,pricelists,pricelists_items,pricelists_manage,catalog,categories,category,discounts,discount,shipping,shipping_manage,admin,partners,partner,users,user,user_manage,translations,translations_details,translation_manage,media,media_manage,application,uploader,shopping_cart,checkout,placeorder,taxes,transactions,transactions_items,invoice,order,orders,identity');
|
||||
/*Distribution*/
|
||||
define('distribution','dashboard,profile,assets,equipments,equipment,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,marketing,application');
|
||||
/*Firmware*/
|
||||
define('firmware','firmwaretool,products_software,application');
|
||||
/*Garage*/
|
||||
define('garage','dashboard,profile,cartests,cartest,cartest_manage,products_versions,application');
|
||||
/*Interface*/
|
||||
define('interface','contracts,contract,equipments,equipment_manage,firmwaretool,products_versions,products_software,users,application');
|
||||
/*Service*/
|
||||
define('service','dashboard,profile,assets,equipments,equipment,equipment_manage,histories,history,history_manage,firmwaretool,products_software,servicereports,servicereport,admin,partners,partner,users,user,user_manage,marketing,application');
|
||||
/*Other*/
|
||||
define('other','dashboard,profile,assets,equipments,equipment,equipment_manage,histories,history,history_manage,firmwaretool,products_software,servicereports,servicereport,admin,partners,partner,marketing,application');
|
||||
|
||||
?>
|
||||
55
custom/soveliti/settings/soveliti_config.php
Normal file
55
custom/soveliti/settings/soveliti_config.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
require 'settingsprofiles.php';
|
||||
|
||||
// This will change the title on the website
|
||||
define('site_name','Customer Portal');
|
||||
define('site_name_footer','Total Safety Solutions');
|
||||
// This will change the title on browser TAB
|
||||
define('site_title','Total Safety Solutions');
|
||||
//Scriptversion
|
||||
define('script_version','v1');
|
||||
//Enable VeLiTi-issue mgt
|
||||
define('veliti_cim',true);
|
||||
//Enable VeLiTi-analytics
|
||||
define('veliti_analytics',false);
|
||||
//Rewrite rule
|
||||
define('rewrite_url',true);
|
||||
define('news','');
|
||||
//maintenance_mode
|
||||
define('maintenance_mode_communication',false);
|
||||
define('maintenance_mode_notification','Notice: Portal not accessible due to maintenance on May 15th between 12.00 - 13.00 CET.');
|
||||
define('maintenance_mode',false);
|
||||
define('maintenance_mode_text','System in maintenance');
|
||||
define('debug',true);
|
||||
define('debug_id','1');
|
||||
|
||||
/*Security*/
|
||||
// Page security
|
||||
define('page_security_key','secure_admin_342642');
|
||||
define('cronjob_number','25');
|
||||
define('header_security',false);
|
||||
|
||||
/* Email */
|
||||
// The from email that will appear on the customer's order details email
|
||||
define('mail_from','CustomerPortal');
|
||||
// Your email
|
||||
define('email','CustomerPortal@veliti.nl');
|
||||
//Additional phpmailer-settings
|
||||
define('email_host_name','veliti.nl');
|
||||
define('email_reply_to','info@gewoonlekkerspaans.nl');
|
||||
define('email_outgoing_pw','306yc%X5f');
|
||||
define('email_outgoing_port','587');
|
||||
define('email_outgoing_security','ssl');
|
||||
|
||||
/*Appearance*/
|
||||
//Icon
|
||||
define('icon_image','/assets/images/TSS-logo3.png');
|
||||
define('color','#005655c2');
|
||||
define('color_accent','#2FAC66');
|
||||
define('emaillogo','/assets/images/TSSemail.png');
|
||||
|
||||
/*Default Users*/
|
||||
define('software_update_user','EMP-updater');
|
||||
define('software_update_pw','EMP-updater');
|
||||
define('interface_user','interface@test.nl');
|
||||
define('interface_pw','test1234');
|
||||
112
custom/soveliti/settings/soveliti_settings.php
Normal file
112
custom/soveliti/settings/soveliti_settings.php
Normal file
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
//------------------------------------------
|
||||
//EXCEPTION LIST
|
||||
//------------------------------------------
|
||||
$serialnumber_exceptions = array("22050695","22110095");
|
||||
|
||||
//------------------------------------------
|
||||
// Security
|
||||
//------------------------------------------
|
||||
$security_key = 'secure_34563$52';
|
||||
|
||||
//------------------------------------------
|
||||
// Base color
|
||||
//------------------------------------------
|
||||
$color = '#005655';//'#0b1054';
|
||||
$color_accent = '#2FAC66'; //'#ececec';
|
||||
|
||||
//------------------------------------------
|
||||
// Database settings
|
||||
//------------------------------------------
|
||||
|
||||
require '/var/www/vhosts/veliti.nl/settings/portalsettings-acc.php';
|
||||
|
||||
//------------------------------------------
|
||||
// Menusetup & settings
|
||||
//------------------------------------------
|
||||
require 'settingsmenu.php';
|
||||
|
||||
//------------------------------------------
|
||||
// API BaseUrl
|
||||
//------------------------------------------
|
||||
$baseurl = 'https://'.$_SERVER['SERVER_NAME'].'/api.php'; //URL of API
|
||||
$portalURL = $_SERVER['SERVER_NAME'];
|
||||
|
||||
//------------------------------------------
|
||||
// Equipmentdetails
|
||||
//------------------------------------------
|
||||
$servicedate = date("Y-m-d", strtotime("-365 days"));
|
||||
$warrantydate = date("Y-m-d", strtotime("-365 days"));
|
||||
$warranty_extended = date("Y-m-d", strtotime("+365 days"));
|
||||
$date = date('Y-m-d H:i:s');
|
||||
|
||||
$curYear = date("Y", time());
|
||||
$curMonth = date("m", time());
|
||||
$curQuarter = (int)ceil($curMonth / 3);
|
||||
$curdateObj = DateTime::createFromFormat('!m', $curMonth);
|
||||
$curMonth_name = $curdateObj->format('F');
|
||||
|
||||
//------------------------------------------
|
||||
//History Type
|
||||
//------------------------------------------
|
||||
$type1 = 'General';
|
||||
$type2 = 'Customer';
|
||||
$type3 = 'Service';
|
||||
$type4 = 'Testing';
|
||||
$type5 = 'Data';
|
||||
$type6 = 'Other';
|
||||
$type7 = 'Internal';
|
||||
$type8 = 'Ignore';
|
||||
$type9 = 'Warranty';
|
||||
$type10 = 'Contract';
|
||||
$type11 = 'Warranty-Expired';
|
||||
$type12 = 'Contract-Expired';
|
||||
$type13 = "Order";
|
||||
$type14 = "ServiceReport";
|
||||
$type15 = "SRIncluded";
|
||||
$type16 = "Notes";
|
||||
$type17 = "Visual";
|
||||
|
||||
$HistoryType_1 = 'Bootloader';
|
||||
$HistoryType_2 = 'Firmware';
|
||||
$HistoryType_3 = 'SerialNumber';
|
||||
$HistoryType_4 = 'Visual_Test';
|
||||
$HistoryType_5 = 'Maintenance_Test';
|
||||
$HistoryType_6 = 'Assembly_Test';
|
||||
$HistoryType_7 = 'ProductNumber';
|
||||
$HistoryType_8 = 'Visual';
|
||||
$HistoryType_9 = 'ServiceReport';
|
||||
//------------------------------------------
|
||||
//Permissions CRUD
|
||||
//------------------------------------------
|
||||
$permission_4 = 'CRUD'; //Admin+
|
||||
$permission_3 = 'CRUD'; //Admin
|
||||
$permission_2 = 'CRU'; //SuperUser
|
||||
$permission_1 = 'CRU'; //CreateUpdate
|
||||
$permission_0 = 'R'; //Readonly
|
||||
|
||||
$permissionlabel1 = 'Permission';
|
||||
$permission1 = 'Superuser'; #1
|
||||
$permission2 = 'Create & Update'; #2
|
||||
$permission3 = 'read-only'; // #3
|
||||
$permission4 = 'Admin'; //#4
|
||||
$permission5 = 'Admin+'; // #5
|
||||
|
||||
$settingslabel1 = 'profile';
|
||||
$setting1 = 'firmware'; //Fix
|
||||
$setting2 = 'service';
|
||||
$setting3 = 'build'; //Fix
|
||||
$setting4 = 'distribution';
|
||||
$setting5 = '';
|
||||
$setting6 = '';
|
||||
$setting7 = ''; //Fix
|
||||
$setting8 = 'interface';
|
||||
|
||||
//------------------------------------------
|
||||
//Partners
|
||||
//------------------------------------------
|
||||
$partnertype1 = 'SalesID';
|
||||
$partnertype2 = 'SoldTo';
|
||||
$partnertype3 = 'ShipTo';
|
||||
$partnertype4 = 'Location';
|
||||
$partnertype5 = 'Section';
|
||||
BIN
custom/soveliti/style/SoVeLiTi.png
Normal file
BIN
custom/soveliti/style/SoVeLiTi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
custom/soveliti/style/VeLiTi-Logo2.png
Executable file
BIN
custom/soveliti/style/VeLiTi-Logo2.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
custom/soveliti/style/VeLiTi.png
Normal file
BIN
custom/soveliti/style/VeLiTi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
2877
custom/soveliti/style/soveliti.css
Normal file
2877
custom/soveliti/style/soveliti.css
Normal file
File diff suppressed because one or more lines are too long
232
custom/soveliti/style/soveliti_login.css
Normal file
232
custom/soveliti/style/soveliti_login.css
Normal file
@@ -0,0 +1,232 @@
|
||||
:root {
|
||||
--color-white: #FFFFFF;
|
||||
--color-light-blue: #344fd5c2;
|
||||
--color-blue: #0b1054;
|
||||
--color-red: #a75151;
|
||||
--text-color: #333333;
|
||||
--error-background: #f3c3c3;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: "Open Sans", Helvetica, sans-serif;
|
||||
accent-color: var(--color-blue);
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background-color: var(--color-white);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
height: calc(100vh - 40px);
|
||||
background-color: var(--color-white);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
width: 45%;
|
||||
padding: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
background-image: url(VeLiTi-Logo2.png);
|
||||
background-repeat: no-repeat;
|
||||
opacity: inherit;
|
||||
width: 85px;
|
||||
height: 120px;
|
||||
margin: 0 auto;
|
||||
-webkit-filter: drop-shadow(5px 5px 5px #222);
|
||||
filter: drop-shadow(5px 5px 5px #222);
|
||||
}
|
||||
|
||||
.login-visual {
|
||||
width: 55%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-image: url(veliti_intro.png);
|
||||
background-position: center center;
|
||||
background-size: 100% 100%;
|
||||
background-color: var(--color-light-blue);
|
||||
min-height: 100vh;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.login-visual img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.register-link {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header p {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-group input {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.input-group input[type="email"] {
|
||||
padding-left: 40px;
|
||||
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>') no-repeat left 10px center;
|
||||
}
|
||||
|
||||
.input-group input[type="password"] {
|
||||
padding-left: 40px;
|
||||
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') no-repeat left 10px center;
|
||||
}
|
||||
|
||||
.forgot-password {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.remember-me {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.remember-me input {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.maintenance {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.message p {
|
||||
margin-top: 5px;
|
||||
background-color: var(--error-background);
|
||||
border-left: 4px solid var(--color-red);
|
||||
color: var(--color-red);
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background-color: var(--color-light-blue);
|
||||
color: var(--color-white);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.login-btn:hover {
|
||||
background-color: var(--color-blue);
|
||||
}
|
||||
|
||||
.trademark {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
color: var(--text-color);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.language-selector {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.language-selector select {
|
||||
margin-left: 10px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media screen and (max-width: 1024px) {
|
||||
.login-container {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.login-form, .login-visual {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.login-visual {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: static;
|
||||
margin: 20px auto;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.trademark, .language-selector {
|
||||
position: static;
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.login-form {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
232
custom/soveliti/style/soveliti_reset.css
Normal file
232
custom/soveliti/style/soveliti_reset.css
Normal file
@@ -0,0 +1,232 @@
|
||||
:root {
|
||||
--color-white: #FFFFFF;
|
||||
--color-light-blue: #344fd5c2;
|
||||
--color-blue: #0b1054;
|
||||
--color-red: #a75151;
|
||||
--text-color: #333333;
|
||||
--error-background: #f3c3c3;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: "Open Sans", Helvetica, sans-serif;
|
||||
accent-color: var(--color-blue);
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background-color: var(--color-white);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
height: calc(100vh - 40px);
|
||||
background-color: var(--color-white);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
width: 45%;
|
||||
padding: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
background-image: url(VeLiTi-Logo2.png);
|
||||
background-repeat: no-repeat;
|
||||
opacity: inherit;
|
||||
width: 85px;
|
||||
height: 120px;
|
||||
margin: 0 auto;
|
||||
-webkit-filter: drop-shadow(5px 5px 5px #222);
|
||||
filter: drop-shadow(5px 5px 5px #222);
|
||||
}
|
||||
|
||||
.login-visual {
|
||||
width: 55%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-image: url(veliti_intro.png);
|
||||
background-position: center center;
|
||||
background-size: 100% 100%;
|
||||
background-color: var(--color-light-blue);
|
||||
min-height: 100vh;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.login-visual img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.register-link {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
text-decoration: none;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header p {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-group input {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.input-group input[type="email"] {
|
||||
padding-left: 40px;
|
||||
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>') no-repeat left 10px center;
|
||||
}
|
||||
|
||||
.input-group input[type="password"] {
|
||||
padding-left: 40px;
|
||||
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') no-repeat left 10px center;
|
||||
}
|
||||
|
||||
.forgot-password {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
float: right;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.remember-me {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.remember-me input {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.maintenance {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.message p {
|
||||
margin-top: 5px;
|
||||
background-color: var(--error-background);
|
||||
border-left: 4px solid var(--color-red);
|
||||
color: var(--color-red);
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.login-btn {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background-color: var(--color-light-blue);
|
||||
color: var(--color-white);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.login-btn:hover {
|
||||
background-color: var(--color-blue);
|
||||
}
|
||||
|
||||
.trademark {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
color: var(--text-color);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.language-selector {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.language-selector select {
|
||||
margin-left: 10px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media screen and (max-width: 1024px) {
|
||||
.login-container {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.login-form, .login-visual {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.login-visual {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: static;
|
||||
margin: 20px auto;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.trademark, .language-selector {
|
||||
position: static;
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.login-form {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
BIN
custom/soveliti/style/veliti_intro.png
Normal file
BIN
custom/soveliti/style/veliti_intro.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 167 KiB |
Reference in New Issue
Block a user