Client - typo fix + style update

This commit is contained in:
Sam 2021-11-03 09:10:23 +01:00
parent d4efb061a3
commit 3b7c5d76ce
56 changed files with 76 additions and 78 deletions

View File

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"><link rel="stylesheet" href="/static/css/leaflet.css"><title>FitTrackee</title><link href="/static/css/admin.c784857e.css" rel="prefetch"><link href="/static/css/main.967c2c29.css" rel="prefetch"><link href="/static/css/main~workouts.c12079e7.css" rel="prefetch"><link href="/static/css/profile.a602fc10.css" rel="prefetch"><link href="/static/css/reset.5eaa1e50.css" rel="prefetch"><link href="/static/css/workouts.72b1c915.css" rel="prefetch"><link href="/static/js/admin.b2c267a7.js" rel="prefetch"><link href="/static/js/chunk-2d0c9189.c81458cc.js" rel="prefetch"><link href="/static/js/chunk-2d0cf391.020c75ea.js" rel="prefetch"><link href="/static/js/chunk-2d0da8f3.c8c3e7e8.js" rel="prefetch"><link href="/static/js/chunk-2d2248b6.d84473c1.js" rel="prefetch"><link href="/static/js/chunk-2d22523a.4b710d99.js" rel="prefetch"><link href="/static/js/main.8f9faede.js" rel="prefetch"><link href="/static/js/main~workouts.896585f2.js" rel="prefetch"><link href="/static/js/profile.291e07db.js" rel="prefetch"><link href="/static/js/reset.60cf3dbf.js" rel="prefetch"><link href="/static/js/workouts.c5b00439.js" rel="prefetch"><link href="/static/css/app.5efeb1fe.css" rel="preload" as="style"><link href="/static/js/app.9069e434.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.61765c73.js" rel="preload" as="script"><link href="/static/css/app.5efeb1fe.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.61765c73.js"></script><script src="/static/js/app.9069e434.js"></script></body></html> <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"><link rel="stylesheet" href="/static/css/leaflet.css"><title>FitTrackee</title><link href="/static/css/admin.27bf6ef5.css" rel="prefetch"><link href="/static/css/main.b2ab76b7.css" rel="prefetch"><link href="/static/css/main~workouts.dec22e70.css" rel="prefetch"><link href="/static/css/profile.8c004342.css" rel="prefetch"><link href="/static/css/reset.3a3a50ad.css" rel="prefetch"><link href="/static/css/workouts.45fb3086.css" rel="prefetch"><link href="/static/js/admin.ae6123c4.js" rel="prefetch"><link href="/static/js/chunk-2d0c9189.c81458cc.js" rel="prefetch"><link href="/static/js/chunk-2d0cf391.020c75ea.js" rel="prefetch"><link href="/static/js/chunk-2d0da8f3.c8c3e7e8.js" rel="prefetch"><link href="/static/js/chunk-2d2248b6.d84473c1.js" rel="prefetch"><link href="/static/js/chunk-2d22523a.4b710d99.js" rel="prefetch"><link href="/static/js/main.bf1c6a90.js" rel="prefetch"><link href="/static/js/main~workouts.896585f2.js" rel="prefetch"><link href="/static/js/profile.998bc0bd.js" rel="prefetch"><link href="/static/js/reset.00470419.js" rel="prefetch"><link href="/static/js/workouts.13789396.js" rel="prefetch"><link href="/static/css/app.4717d662.css" rel="preload" as="style"><link href="/static/js/app.95f060c4.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.61765c73.js" rel="preload" as="script"><link href="/static/css/app.4717d662.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.61765c73.js"></script><script src="/static/js/app.95f060c4.js"></script></body></html>

View File

@ -64,7 +64,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/img/workouts/mountains.svg" "url": "/img/workouts/mountains.svg"
}, },
{ {
"revision": "196d8a285c086a57132534b24c1135a0", "revision": "79c043b700a2bb50e72aecf0fa658ba1",
"url": "/index.html" "url": "/index.html"
}, },
{ {
@ -76,12 +76,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/robots.txt" "url": "/robots.txt"
}, },
{ {
"revision": "881f431e71b9b70ead58", "revision": "69e937fea34882d7ed93",
"url": "/static/css/admin.c784857e.css" "url": "/static/css/admin.27bf6ef5.css"
}, },
{ {
"revision": "7b174df05f6f7a9edd0f", "revision": "4365afeaa7c580d3ade5",
"url": "/static/css/app.5efeb1fe.css" "url": "/static/css/app.4717d662.css"
}, },
{ {
"revision": "82c1118c918377daaa71a320ab8eea42", "revision": "82c1118c918377daaa71a320ab8eea42",
@ -92,24 +92,24 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/css/leaflet.css" "url": "/static/css/leaflet.css"
}, },
{ {
"revision": "1af89ab12eabaa087e43", "revision": "42ff0e9b410d8f35397e",
"url": "/static/css/main.967c2c29.css" "url": "/static/css/main.b2ab76b7.css"
}, },
{ {
"revision": "6134dd1635749b25d931", "revision": "70f944368dc20379d927",
"url": "/static/css/main~workouts.c12079e7.css" "url": "/static/css/main~workouts.dec22e70.css"
}, },
{ {
"revision": "c3fbb4741fcfd33236fb", "revision": "ef95ddeede4ae9177c5f",
"url": "/static/css/profile.a602fc10.css" "url": "/static/css/profile.8c004342.css"
}, },
{ {
"revision": "db3eca6d999a7b9aa538", "revision": "5977b5ce6ee55c119f41",
"url": "/static/css/reset.5eaa1e50.css" "url": "/static/css/reset.3a3a50ad.css"
}, },
{ {
"revision": "11fdb71c08ef58de3405", "revision": "8673354a75e744432857",
"url": "/static/css/workouts.72b1c915.css" "url": "/static/css/workouts.45fb3086.css"
}, },
{ {
"revision": "e719f9244c69e28e7d00e725ca1e280e", "revision": "e719f9244c69e28e7d00e725ca1e280e",
@ -192,12 +192,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/img/pt-sans-v9-latin-regular.f1f73e45.svg" "url": "/static/img/pt-sans-v9-latin-regular.f1f73e45.svg"
}, },
{ {
"revision": "881f431e71b9b70ead58", "revision": "69e937fea34882d7ed93",
"url": "/static/js/admin.b2c267a7.js" "url": "/static/js/admin.ae6123c4.js"
}, },
{ {
"revision": "7b174df05f6f7a9edd0f", "revision": "4365afeaa7c580d3ade5",
"url": "/static/js/app.9069e434.js" "url": "/static/js/app.95f060c4.js"
}, },
{ {
"revision": "bd7d183c9f68e5f4027d", "revision": "bd7d183c9f68e5f4027d",
@ -224,23 +224,23 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/chunk-vendors.61765c73.js" "url": "/static/js/chunk-vendors.61765c73.js"
}, },
{ {
"revision": "1af89ab12eabaa087e43", "revision": "42ff0e9b410d8f35397e",
"url": "/static/js/main.8f9faede.js" "url": "/static/js/main.bf1c6a90.js"
}, },
{ {
"revision": "6134dd1635749b25d931", "revision": "70f944368dc20379d927",
"url": "/static/js/main~workouts.896585f2.js" "url": "/static/js/main~workouts.896585f2.js"
}, },
{ {
"revision": "c3fbb4741fcfd33236fb", "revision": "ef95ddeede4ae9177c5f",
"url": "/static/js/profile.291e07db.js" "url": "/static/js/profile.998bc0bd.js"
}, },
{ {
"revision": "db3eca6d999a7b9aa538", "revision": "5977b5ce6ee55c119f41",
"url": "/static/js/reset.60cf3dbf.js" "url": "/static/js/reset.00470419.js"
}, },
{ {
"revision": "11fdb71c08ef58de3405", "revision": "8673354a75e744432857",
"url": "/static/js/workouts.c5b00439.js" "url": "/static/js/workouts.13789396.js"
} }
]); ]);

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.df69f746e04ed0c0a73cbef257234d2c.js" "/precache-manifest.8d17dc73d6d6dc2fbe41d085fab37056.js"
); );
workbox.core.setCacheNameDetails({prefix: "fittrackee_client"}); workbox.core.setCacheNameDetails({prefix: "fittrackee_client"});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin"],{8185:function(e,t,o){"use strict";o("a27b")},"89b3":function(e,t,o){"use strict";o.r(t);var n=o("7a23"),c=Object(n["withScopeId"])("data-v-008a67d8");Object(n["pushScopeId"])("data-v-008a67d8");var r={id:"admin",class:"view"},a={key:0,class:"container"},i=Object(n["createVNode"])("div",{id:"bottom"},null,-1);Object(n["popScopeId"])();var p=c((function(e,t,o,c,p,u){var d=Object(n["resolveComponent"])("router-view"),s=Object(n["resolveComponent"])("NotFound");return Object(n["openBlock"])(),Object(n["createBlock"])("div",r,[e.userLoading?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createBlock"])("div",a,[e.isAuthUserAmin?(Object(n["openBlock"])(),Object(n["createBlock"])(d,{key:0,appConfig:e.appConfig,appStatistics:e.appStatistics},null,8,["appConfig","appStatistics"])):(Object(n["openBlock"])(),Object(n["createBlock"])(s,{key:1})),i]))])})),u=o("f7f9"),d=o("dad5"),s=o("2906"),b=Object(n["defineComponent"])({name:"Admin",components:{NotFound:u["a"]},setup:function(){var e=Object(s["a"])();Object(n["onBeforeMount"])((function(){return e.dispatch(d["a"].ACTIONS.GET_APPLICATION_STATS)}));var t=Object(n["computed"])((function(){return e.getters[d["a"].GETTERS.APP_LOADING]})),o=Object(n["computed"])((function(){return e.getters[d["a"].GETTERS.APP_CONFIG]})),c=Object(n["computed"])((function(){return e.getters[d["a"].GETTERS.APP_STATS]})),r=Object(n["computed"])((function(){return e.getters[d["e"].GETTERS.IS_ADMIN]})),a=Object(n["computed"])((function(){return e.getters[d["e"].GETTERS.USER_LOADING]}));return{appConfig:o,appLoading:t,appStatistics:c,isAuthUserAmin:r,userLoading:a}}});o("b3a7");b.render=p,b.__scopeId="data-v-008a67d8";t["default"]=b},"922f":function(e,t,o){},a27b:function(e,t,o){},b3a7:function(e,t,o){"use strict";o("922f")},f7f9:function(e,t,o){"use strict";var n=o("7a23");function c(e,t,o,c,r,a){var i=Object(n["resolveComponent"])("Error");return Object(n["openBlock"])(),Object(n["createBlock"])(i,{title:"404",message:e.$t("error.NOT_FOUND.".concat(e.target)),"button-text":e.$t("common.HOME")},null,8,["message","button-text"])}var r=Object(n["withScopeId"])("data-v-58e20d75");Object(n["pushScopeId"])("data-v-58e20d75");var a={id:"error"},i={class:"error-content"};Object(n["popScopeId"])();var p=r((function(e,t,o,c,r,p){return Object(n["openBlock"])(),Object(n["createBlock"])("div",a,[Object(n["createVNode"])("div",i,[Object(n["createVNode"])("h1",null,Object(n["toDisplayString"])(e.title),1),Object(n["createVNode"])("p",null,Object(n["toDisplayString"])(e.message),1),e.buttonText?(Object(n["openBlock"])(),Object(n["createBlock"])("button",{key:0,onClick:t[1]||(t[1]=function(t){return e.$router.push(e.path)}),class:"upper"},Object(n["toDisplayString"])(e.buttonText),1)):Object(n["createCommentVNode"])("",!0)])])})),u=Object(n["defineComponent"])({name:"Error",props:{title:{type:String,required:!0},message:{type:String},buttonText:{type:String},path:{type:String,default:"/"}}});o("8185");u.render=p,u.__scopeId="data-v-58e20d75";var d=u,s=Object(n["defineComponent"])({name:"NotFound",components:{Error:d},props:{target:{type:String,default:"PAGE"}}});s.render=c;t["a"]=s}}]);
//# sourceMappingURL=admin.ae6123c4.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin"],{8185:function(e,t,o){"use strict";o("a27b")},"89b3":function(e,t,o){"use strict";o.r(t);var c=o("7a23"),n=Object(c["withScopeId"])("data-v-796ecd8d");Object(c["pushScopeId"])("data-v-796ecd8d");var r={id:"admin"},a={key:0,class:"container"},i=Object(c["createVNode"])("div",{id:"bottom"},null,-1);Object(c["popScopeId"])();var p=n((function(e,t,o,n,p,u){var d=Object(c["resolveComponent"])("router-view"),s=Object(c["resolveComponent"])("NotFound");return Object(c["openBlock"])(),Object(c["createBlock"])("div",r,[e.userLoading?Object(c["createCommentVNode"])("",!0):(Object(c["openBlock"])(),Object(c["createBlock"])("div",a,[e.isAuthUserAmin?(Object(c["openBlock"])(),Object(c["createBlock"])(d,{key:0,appConfig:e.appConfig,appStatistics:e.appStatistics},null,8,["appConfig","appStatistics"])):(Object(c["openBlock"])(),Object(c["createBlock"])(s,{key:1})),i]))])})),u=o("f7f9"),d=o("dad5"),s=o("2906"),b=Object(c["defineComponent"])({name:"Admin",components:{NotFound:u["a"]},setup:function(){var e=Object(s["a"])();Object(c["onBeforeMount"])((function(){return e.dispatch(d["a"].ACTIONS.GET_APPLICATION_STATS)}));var t=Object(c["computed"])((function(){return e.getters[d["a"].GETTERS.APP_LOADING]})),o=Object(c["computed"])((function(){return e.getters[d["a"].GETTERS.APP_CONFIG]})),n=Object(c["computed"])((function(){return e.getters[d["a"].GETTERS.APP_STATS]})),r=Object(c["computed"])((function(){return e.getters[d["e"].GETTERS.IS_ADMIN]})),a=Object(c["computed"])((function(){return e.getters[d["e"].GETTERS.USER_LOADING]}));return{appConfig:o,appLoading:t,appStatistics:n,isAuthUserAmin:r,userLoading:a}}});o("9be9");b.render=p,b.__scopeId="data-v-796ecd8d";t["default"]=b},"9be9":function(e,t,o){"use strict";o("c7ae")},a27b:function(e,t,o){},c7ae:function(e,t,o){},f7f9:function(e,t,o){"use strict";var c=o("7a23");function n(e,t,o,n,r,a){var i=Object(c["resolveComponent"])("Error");return Object(c["openBlock"])(),Object(c["createBlock"])(i,{title:"404",message:e.$t("error.NOT_FOUND.".concat(e.target)),"button-text":e.$t("common.HOME")},null,8,["message","button-text"])}var r=Object(c["withScopeId"])("data-v-58e20d75");Object(c["pushScopeId"])("data-v-58e20d75");var a={id:"error"},i={class:"error-content"};Object(c["popScopeId"])();var p=r((function(e,t,o,n,r,p){return Object(c["openBlock"])(),Object(c["createBlock"])("div",a,[Object(c["createVNode"])("div",i,[Object(c["createVNode"])("h1",null,Object(c["toDisplayString"])(e.title),1),Object(c["createVNode"])("p",null,Object(c["toDisplayString"])(e.message),1),e.buttonText?(Object(c["openBlock"])(),Object(c["createBlock"])("button",{key:0,onClick:t[1]||(t[1]=function(t){return e.$router.push(e.path)}),class:"upper"},Object(c["toDisplayString"])(e.buttonText),1)):Object(c["createCommentVNode"])("",!0)])])})),u=Object(c["defineComponent"])({name:"Error",props:{title:{type:String,required:!0},message:{type:String},buttonText:{type:String},path:{type:String,default:"/"}}});o("8185");u.render=p,u.__scopeId="data-v-58e20d75";var d=u,s=Object(c["defineComponent"])({name:"NotFound",components:{Error:d},props:{target:{type:String,default:"PAGE"}}});s.render=n;t["a"]=s}}]);
//# sourceMappingURL=admin.b2c267a7.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["profile"],{1655:function(e,t,c){"use strict";c("4bc8")},"36e8":function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-41f121e3");Object(r["pushScopeId"])("data-v-41f121e3");var o={key:0,id:"profile",class:"container"};Object(r["popScopeId"])();var a=n((function(e,t,c,n,a,s){var u=Object(r["resolveComponent"])("router-view");return e.authUser.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(u,{user:e.authUser},null,8,["user"])])):Object(r["createCommentVNode"])("",!0)})),s=c("dad5"),u=c("2906"),d=Object(r["defineComponent"])({name:"ProfileView",setup:function(){var e=Object(u["a"])(),t=Object(r["computed"])((function(){return e.getters[s["e"].GETTERS.AUTH_USER_PROFILE]}));return{authUser:t}}});c("1655");d.render=a,d.__scopeId="data-v-41f121e3";t["default"]=d},"4bc8":function(e,t,c){},a8b5:function(e,t,c){},ad3d:function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-ea77cdfe");Object(r["pushScopeId"])("data-v-ea77cdfe");var o={key:0,id:"user"},a={class:"box"};Object(r["popScopeId"])();var s=n((function(e,t,c,n,s,u){var d=Object(r["resolveComponent"])("UserHeader"),i=Object(r["resolveComponent"])("UserInfos");return e.user.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(d,{user:e.user},null,8,["user"]),Object(r["createVNode"])("div",a,[Object(r["createVNode"])(i,{user:e.user,"from-admin":!0},null,8,["user"])])])):Object(r["createCommentVNode"])("",!0)})),u=c("6c02"),d=c("3c44"),i=c("71a7"),p=c("dad5"),b=c("2906"),f=Object(r["defineComponent"])({name:"UserView",components:{UserHeader:d["a"],UserInfos:i["a"]},setup:function(){var e=Object(u["c"])(),t=Object(b["a"])(),c=Object(r["computed"])((function(){return t.getters[p["d"].GETTERS.USER]}));return Object(r["onBeforeMount"])((function(){e.params.username&&"string"===typeof e.params.username&&t.dispatch(p["d"].ACTIONS.GET_USER,e.params.username)})),Object(r["onBeforeUnmount"])((function(){t.dispatch(p["d"].ACTIONS.EMPTY_USER)})),{user:c}}});c("c969");f.render=s,f.__scopeId="data-v-ea77cdfe";t["default"]=f},c969:function(e,t,c){"use strict";c("a8b5")}}]);
//# sourceMappingURL=profile.291e07db.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["profile"],{"36e8":function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-5dfc12f0");Object(r["pushScopeId"])("data-v-5dfc12f0");var o={key:0,id:"profile",class:"container view"};Object(r["popScopeId"])();var a=n((function(e,t,c,n,a,s){var u=Object(r["resolveComponent"])("router-view");return e.authUser.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(u,{user:e.authUser},null,8,["user"])])):Object(r["createCommentVNode"])("",!0)})),s=c("dad5"),u=c("2906"),d=Object(r["defineComponent"])({name:"ProfileView",setup:function(){var e=Object(u["a"])(),t=Object(r["computed"])((function(){return e.getters[s["e"].GETTERS.AUTH_USER_PROFILE]}));return{authUser:t}}});c("f1f4");d.render=a,d.__scopeId="data-v-5dfc12f0";t["default"]=d},"7ffc":function(e,t,c){"use strict";c("b288")},"8f15":function(e,t,c){},ad3d:function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-82f4bbf6");Object(r["pushScopeId"])("data-v-82f4bbf6");var o={key:0,id:"user",class:"view"},a={class:"box"};Object(r["popScopeId"])();var s=n((function(e,t,c,n,s,u){var d=Object(r["resolveComponent"])("UserHeader"),f=Object(r["resolveComponent"])("UserInfos");return e.user.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(d,{user:e.user},null,8,["user"]),Object(r["createVNode"])("div",a,[Object(r["createVNode"])(f,{user:e.user,"from-admin":!0},null,8,["user"])])])):Object(r["createCommentVNode"])("",!0)})),u=c("6c02"),d=c("3c44"),f=c("71a7"),i=c("dad5"),b=c("2906"),p=Object(r["defineComponent"])({name:"UserView",components:{UserHeader:d["a"],UserInfos:f["a"]},setup:function(){var e=Object(u["c"])(),t=Object(b["a"])(),c=Object(r["computed"])((function(){return t.getters[i["d"].GETTERS.USER]}));return Object(r["onBeforeMount"])((function(){e.params.username&&"string"===typeof e.params.username&&t.dispatch(i["d"].ACTIONS.GET_USER,e.params.username)})),Object(r["onBeforeUnmount"])((function(){t.dispatch(i["d"].ACTIONS.EMPTY_USER)})),{user:c}}});c("7ffc");p.render=s,p.__scopeId="data-v-82f4bbf6";t["default"]=p},b288:function(e,t,c){},f1f4:function(e,t,c){"use strict";c("8f15")}}]);
//# sourceMappingURL=profile.998bc0bd.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -14,7 +14,7 @@
"PASSWORD_CONFIRMATION": "Confirmation du mot de passe", "PASSWORD_CONFIRMATION": "Confirmation du mot de passe",
"PASSWORD_FORGOTTEN": "Mot de passe oublié ?", "PASSWORD_FORGOTTEN": "Mot de passe oublié ?",
"PASSWORD_RESET": "Réinitialisation du mot de passe", "PASSWORD_RESET": "Réinitialisation du mot de passe",
"PASSWORD_SENT_EMAIL_TEXT": "Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.", "PASSWORD_SENT_EMAIL_TEXT": "Vérifiez votre boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.",
"PASSWORD_UPDATED": "Votre mot de passe a été mis à jour. Cliquez {0} pour vous connecter.", "PASSWORD_UPDATED": "Votre mot de passe a été mis à jour. Cliquez {0} pour vous connecter.",
"PROFILE": { "PROFILE": {
"BACK_TO_PROFILE": "Revenir au profil", "BACK_TO_PROFILE": "Revenir au profil",

View File

@ -139,6 +139,10 @@ button {
text-transform: uppercase; text-transform: uppercase;
} }
.view {
padding-bottom: 35px;
}
.fa-trophy { .fa-trophy {
color: var(--workout-trophy-color) color: var(--workout-trophy-color)
} }

View File

@ -1,5 +1,3 @@
import { TWorkoutsPayload } from '@/types/workouts'
export interface IPagination { export interface IPagination {
has_next: boolean has_next: boolean
has_prev: boolean has_prev: boolean

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="admin"> <div id="admin" class="view">
<div class="container" v-if="!userLoading"> <div class="container" v-if="!userLoading">
<router-view <router-view
v-if="isAuthUserAmin" v-if="isAuthUserAmin"
@ -65,7 +65,6 @@
#admin { #admin {
.admin-card { .admin-card {
width: 100%; width: 100%;
margin-bottom: 55px;
::v-deep(.card) { ::v-deep(.card) {
.admin-form { .admin-form {

View File

@ -1,5 +1,9 @@
<template> <template>
<div id="dashboard" v-if="authUser.username && sports.length > 0"> <div
id="dashboard"
class="view"
v-if="authUser.username && sports.length > 0"
>
<div class="container mobile-menu"> <div class="container mobile-menu">
<div class="box"> <div class="box">
<div <div
@ -112,7 +116,6 @@
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/scss/base'; @import '~@/scss/base';
#dashboard { #dashboard {
padding-bottom: 30px;
.dashboard-container { .dashboard-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="not-found"> <div class="not-found view">
<NotFound /> <NotFound />
</div> </div>
</template> </template>

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="statistics"> <div id="statistics" class="view">
<div class="container" v-if="authUser.username"> <div class="container" v-if="authUser.username">
<Card> <Card>
<template #title>{{ $t('statistics.STATISTICS') }}</template> <template #title>{{ $t('statistics.STATISTICS') }}</template>
@ -52,7 +52,6 @@
#statistics { #statistics {
display: flex; display: flex;
width: 100%; width: 100%;
margin-bottom: 30px;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="loginOrRegister"> <div id="loginOrRegister" class="view">
<div class="container"> <div class="container">
<div class="container-sub"> <div class="container-sub">
<BikePic /> <BikePic />

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="password-reset"> <div id="password-reset" class="view">
<div class="container"> <div class="container">
<PasswordResetRequest <PasswordResetRequest
v-if="action.startsWith('reset')" v-if="action.startsWith('reset')"

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="profile" class="container" v-if="authUser.username"> <div id="profile" class="container view" v-if="authUser.username">
<router-view :user="authUser"></router-view> <router-view :user="authUser"></router-view>
</div> </div>
</template> </template>

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="user" v-if="user.username"> <div id="user" class="view" v-if="user.username">
<UserHeader :user="user" /> <UserHeader :user="user" />
<div class="box"> <div class="box">
<UserInfos :user="user" :from-admin="true" /> <UserInfos :user="user" :from-admin="true" />

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="add-workout"> <div id="add-workout" class="view">
<div class="container"> <div class="container">
<WorkoutEdition <WorkoutEdition
:authUser="authUser" :authUser="authUser"
@ -41,7 +41,3 @@
}, },
}) })
</script> </script>
<style lang="scss" scoped>
@import '~@/scss/base';
</style>

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="edit-workout"> <div id="edit-workout" class="view">
<div class="container"> <div class="container">
<WorkoutEdition <WorkoutEdition
:authUser="authUser" :authUser="authUser"

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="workout"> <div id="workout" class="view">
<div class="container"> <div class="container">
<div class="workout-container" v-if="sports.length > 0"> <div class="workout-container" v-if="sports.length > 0">
<div v-if="workoutData.workout.id"> <div v-if="workoutData.workout.id">
@ -153,7 +153,6 @@
@import '~@/scss/base'; @import '~@/scss/base';
#workout { #workout {
display: flex; display: flex;
margin-bottom: 45px;
.container { .container {
width: 100%; width: 100%;
padding: 0; padding: 0;

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="workouts" v-if="authUser.username"> <div id="workouts" v-if="authUser.username" class="view">
<div class="container workouts-container"> <div class="container workouts-container">
<div class="filters-container" :class="{ hidden: hiddenFilters }"> <div class="filters-container" :class="{ hidden: hiddenFilters }">
<WorkoutsFilters <WorkoutsFilters