diff --git a/server/web_app/public/css/about.css b/server/web_app/public/css/about.css index b386d2f77cef6b5e76b22a40b111d21cae6648fc..2d0612ae9d56a18f660313425e54f17aabbded7a 100644 --- a/server/web_app/public/css/about.css +++ b/server/web_app/public/css/about.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); .about-container { diff --git a/server/web_app/public/css/dashboard.css b/server/web_app/public/css/dashboard.css index 2f2ec2ec0de53b5953848019ac48fbdb72f04c0b..be172368d545519caab2016543d29765bd3c1522 100644 --- a/server/web_app/public/css/dashboard.css +++ b/server/web_app/public/css/dashboard.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); .container { diff --git a/server/web_app/public/css/global.css b/server/web_app/public/css/global.css index 403e0fcd649843c0e7cef39215e119504c1bb100..19db085f7e821851471f1412b7e71ebade6cfc6e 100644 --- a/server/web_app/public/css/global.css +++ b/server/web_app/public/css/global.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + :root { --font-size-normal: 1rem; --font-size-small: 0.8rem; diff --git a/server/web_app/public/css/insights.css b/server/web_app/public/css/insights.css index 83179fb89b728d4c1f950d71cc7d366222afe850..8369f1538bc970457da7915f51028ec2e7450618 100644 --- a/server/web_app/public/css/insights.css +++ b/server/web_app/public/css/insights.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); .controls { diff --git a/server/web_app/public/css/login.css b/server/web_app/public/css/login.css index 0c4e1ad83fe28ec5839c43844e6c7836ad52e654..adc153435dec9cf807b467d311a3d4d351b913bb 100644 --- a/server/web_app/public/css/login.css +++ b/server/web_app/public/css/login.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); html, body { diff --git a/server/web_app/public/css/menu.css b/server/web_app/public/css/menu.css index 5543e311e3afb095055b2879b2652cc797a456b5..808d82ee826b9e65c2e7738a526090e3d5c3a39c 100644 --- a/server/web_app/public/css/menu.css +++ b/server/web_app/public/css/menu.css @@ -1,7 +1,13 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); header { - background-color: var(--color-primary); + background-color: var(--color-hover); color: #fff; display: flex; flex-direction: column; diff --git a/server/web_app/public/css/users.css b/server/web_app/public/css/users.css index de53fd5c914bf2feac72a12268a5f4ffc6ee9599..0ab380bb48a644e870be18de2c3d8a699f0c2e0c 100644 --- a/server/web_app/public/css/users.css +++ b/server/web_app/public/css/users.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); button { diff --git a/server/web_app/public/css/wishlist.css b/server/web_app/public/css/wishlist.css index 415a35820b8d1526262fa6b957d6f8a8b2964e83..2d9d46bcfee96199ed6254dbaab6b2be3441128f 100644 --- a/server/web_app/public/css/wishlist.css +++ b/server/web_app/public/css/wishlist.css @@ -1,3 +1,9 @@ +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + @import url('global.css'); button { diff --git a/server/web_app/public/js/insights.js b/server/web_app/public/js/insights.js index 208e75fa6e255383889478b2dec751e0e6c921b7..457c6ce1a8e7e54d6d6c9242c7422eb456697c6d 100644 --- a/server/web_app/public/js/insights.js +++ b/server/web_app/public/js/insights.js @@ -1,4 +1,10 @@ -const ROUTE = 'http://34.70.36.158'; +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + +const ROUTE = 'http://localhost'; const PORT = '8080'; // State management diff --git a/server/web_app/public/js/login.js b/server/web_app/public/js/login.js index 76577f4ffdab7645292d2cca7c8c8b684df2e15a..c83ac829fa393a006626bcb0dc2bde49252e2f08 100644 --- a/server/web_app/public/js/login.js +++ b/server/web_app/public/js/login.js @@ -1,4 +1,10 @@ -ROUTE='http://34.70.36.158'; +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + +ROUTE='http://localhost'; PORT='8080'; const loginForm = document.getElementById('login-form'); diff --git a/server/web_app/public/js/users.js b/server/web_app/public/js/users.js index 280acaa675198ae91b9ddee1eb51474e4ff1e76f..116068c21494f8557d7697ed919a4e1e769cc93d 100644 --- a/server/web_app/public/js/users.js +++ b/server/web_app/public/js/users.js @@ -1,4 +1,10 @@ -const ROUTE = 'http://34.70.36.158'; +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + +const ROUTE = 'http://localhost'; const PORT = '8080'; let currentAction = null; let currentUserId = null; diff --git a/server/web_app/public/js/wishlist.js b/server/web_app/public/js/wishlist.js index ca34fa7dea5236e3ee95ff68ba1eb13a0d81981a..0bf6c80772198bd71551dccf21471fe2e9136184 100644 --- a/server/web_app/public/js/wishlist.js +++ b/server/web_app/public/js/wishlist.js @@ -1,4 +1,10 @@ -const ROUTE = 'http://34.70.36.158'; +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + +const ROUTE = 'http://localhost'; const PORT = '8080'; let currentPage = 1; const itemsPerPage = 5; diff --git a/server/web_app/src/Controller/DashboardController.php b/server/web_app/src/Controller/DashboardController.php index a353f1e9352ab8e0296e5707d4115b79785fca59..35c7082bf6abd3496d0f5ab22a26da7932353fd8 100644 --- a/server/web_app/src/Controller/DashboardController.php +++ b/server/web_app/src/Controller/DashboardController.php @@ -1,5 +1,11 @@ <?php +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; diff --git a/server/web_app/src/Controller/ErrorController.php b/server/web_app/src/Controller/ErrorController.php index c94d3ec3bb2fffda2e050165c58ce7504ee30c6b..fa3b306754d5ad1b4a226b452d1e73885e6d8667 100644 --- a/server/web_app/src/Controller/ErrorController.php +++ b/server/web_app/src/Controller/ErrorController.php @@ -1,5 +1,11 @@ <?php +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; diff --git a/server/web_app/src/Controller/MainController.php b/server/web_app/src/Controller/MainController.php index 723f623a31615555b2dad2e0b92d902f0c988f6e..b005b2fcb60662db3291b9a8c3980ea44f0bd486 100644 --- a/server/web_app/src/Controller/MainController.php +++ b/server/web_app/src/Controller/MainController.php @@ -1,5 +1,11 @@ <?php +/** + * Auteur : Anamaria Miranda + * Version : 1.0 + * Licence : MIT + */ + namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; diff --git a/server/web_app/templates/about.html.twig b/server/web_app/templates/about.html.twig index ef23e32305295729a8815c82bed338a22be0f62d..64ebc470e886520048b58c735b9bf857dc229968 100644 --- a/server/web_app/templates/about.html.twig +++ b/server/web_app/templates/about.html.twig @@ -1,3 +1,4 @@ +{# Auteur : Anamaria Miranda #} {% extends 'base.html.twig' %} {% block styles %} diff --git a/server/web_app/templates/base.html.twig b/server/web_app/templates/base.html.twig index 881ed8b02a51e2d1566df5e9fc9db16d060dbed9..48a1c2f92280526bd46a0bd5becd44440963fef1 100644 --- a/server/web_app/templates/base.html.twig +++ b/server/web_app/templates/base.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + <!DOCTYPE html> <html lang="en"> <head> diff --git a/server/web_app/templates/dashboard.html.twig b/server/web_app/templates/dashboard.html.twig index ccec0af5a3dcdea1680345e57d9745e47eb39d89..fbc47dbed9a2ab5900e356820ae3d2d49699b2e6 100644 --- a/server/web_app/templates/dashboard.html.twig +++ b/server/web_app/templates/dashboard.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %} diff --git a/server/web_app/templates/error.html.twig b/server/web_app/templates/error.html.twig index 16312bb7c91972c4a6754a34df59a48f8b87414f..396056c8f47634548bf0ae4da663d85132cc829f 100644 --- a/server/web_app/templates/error.html.twig +++ b/server/web_app/templates/error.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %} diff --git a/server/web_app/templates/home.html.twig b/server/web_app/templates/home.html.twig index 76ba4bdb7ab02d8c650409642cdba2aa6deb4929..f32be77934bf88a5793e546bab576a2c773f99c6 100644 --- a/server/web_app/templates/home.html.twig +++ b/server/web_app/templates/home.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %} diff --git a/server/web_app/templates/insights.html.twig b/server/web_app/templates/insights.html.twig index 267478ae2b8dd6931bbbd261b666c44a67780b83..03ca97c3fa3a9d949ff79ffb12c0b49cf3b5a67f 100644 --- a/server/web_app/templates/insights.html.twig +++ b/server/web_app/templates/insights.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %} @@ -41,13 +43,13 @@ {% endif %} > <th>ID</th> - <th>Title</th> - <th>Description</th> - <th>Price</th> + <th>Item's title</th> + <th>Item's description</th> + <th>Item's price</th> <th>WishList name</th> - <th>Status</th> - <th>Create at</th> - <th>Expiration date</th> + <th>Status wishlist</th> + <th>Wishlist create at</th> + <th>Wishlist expiration date</th> <th>WishList owner</th> </tr> @@ -57,10 +59,10 @@ {% endif %} > <th>ID</th> - <th>Name</th> - <th>Description</th> - <th>Total Amount</th> - <th>Status</th> + <th>Wishlist name</th> + <th>Wishlist description</th> + <th>Total amount</th> + <th>Wishlist status</th> <th>WishList owner</th> <th>Creation Date</th> <th>Expiration date</th> diff --git a/server/web_app/templates/login.html.twig b/server/web_app/templates/login.html.twig index 0a862327a564168dcd6286f5c51ca55ab6f2164d..1ec14679be594bb001153ab76833350791224a41 100644 --- a/server/web_app/templates/login.html.twig +++ b/server/web_app/templates/login.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block title %}Log in!{% endblock %} diff --git a/server/web_app/templates/menu.html.twig b/server/web_app/templates/menu.html.twig index 7b593060ecbe8dc2fac74ef37d301f48ffefafcb..0f5997b1d2aed0cb22e19d45f12f48b37aa8d3e2 100644 --- a/server/web_app/templates/menu.html.twig +++ b/server/web_app/templates/menu.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% block styles %} <link rel="stylesheet" href="{{ asset('css/menu.css') }}"> {% endblock %} diff --git a/server/web_app/templates/usersManagement.html.twig b/server/web_app/templates/usersManagement.html.twig index 86a57b6f875154e4bb840160284b47bd3b19165a..744365167ca76877779563122b072cfcccef2b10 100644 --- a/server/web_app/templates/usersManagement.html.twig +++ b/server/web_app/templates/usersManagement.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %} diff --git a/server/web_app/templates/wishList.html.twig b/server/web_app/templates/wishList.html.twig index 9be12c80a74225f1d93895aafe4eb4282d19e544..e3178762962b951680cff7e3d171b387db208087 100644 --- a/server/web_app/templates/wishList.html.twig +++ b/server/web_app/templates/wishList.html.twig @@ -1,3 +1,5 @@ +{# Auteur : Anamaria Miranda #} + {% extends 'base.html.twig' %} {% block styles %}