From 4ad8ea96e6684ca049828352e4ab133ec7ea2528 Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Sat, 15 Dec 2018 15:45:24 +0900 Subject: [PATCH] Add Favorite --- src/Config.php | 4 +-- static/css/style.css | 5 +++ static/img/favorite.png | Bin 0 -> 1116 bytes static/img/no-favorite.png | Bin 0 -> 1412 bytes static/js/javascript.js | 62 +++++++++++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 static/img/favorite.png create mode 100644 static/img/no-favorite.png diff --git a/src/Config.php b/src/Config.php index 4281a4c..5eec063 100644 --- a/src/Config.php +++ b/src/Config.php @@ -3,8 +3,8 @@ namespace WebProjectFitness; class Config { - const SITE_JS_VERSION = '1.01'; - const SITE_CSS_VERSION = '1.01'; + const SITE_JS_VERSION = '1.03'; + const SITE_CSS_VERSION = '1.03'; const TITLE_HEADER = 'Fitness'; const DESCRIPTION_HEADER = 'Site for find all the fitness exercise you need'; diff --git a/static/css/style.css b/static/css/style.css index 53c330b..dc19180 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -58,3 +58,8 @@ #exercises-container div.selected { cursor: pointer; } + +.favorite img { + height: 30px; + cursor: pointer; +} \ No newline at end of file diff --git a/static/img/favorite.png b/static/img/favorite.png new file mode 100644 index 0000000000000000000000000000000000000000..f28d87bef62f6f952c453e57acf92a052a3142d2 GIT binary patch literal 1116 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!n2Vh}LpV4%Za?&Y0OWEOctjR6 zFbEWZFypDZc}swTk|nMYCBgY=CFO}lsSM@i<$9TU*~Q6;1*v-ZMd`EO*+?-kFa`(s zgt-0(0fzto8~(2f{lDMg{~6=|S402b_PoE};qkH1XJ>q0U3GYU!|&6{z)wK-DX-V( z{N7yfd3(|G?J2i+XM8_g^!;$!`{Q|^PZzx2obi2o&hzaB_jeb)-=FvTaL()F8LzkJ zeBPb$cz4$O{W-7q=R7~0_55(b^W$0Xcjvv|o%MQu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