Client - add workout title on dashboard card

This commit is contained in:
Sam 2021-11-01 17:45:43 +01:00
parent 5d0e4dd266
commit b68dba34c1
11 changed files with 36 additions and 19 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.5e29054c.css" rel="prefetch"><link href="/static/css/main~workouts.c12079e7.css" rel="prefetch"><link href="/static/css/profile.23881524.css" rel="prefetch"><link href="/static/css/reset.528e2916.css" rel="prefetch"><link href="/static/css/workouts.a9a41b99.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.597d0b47.js" rel="prefetch"><link href="/static/js/main~workouts.052defa0.js" rel="prefetch"><link href="/static/js/profile.a7cb3b48.js" rel="prefetch"><link href="/static/js/reset.607f183f.js" rel="prefetch"><link href="/static/js/workouts.4a8b05f4.js" rel="prefetch"><link href="/static/css/app.fc944b83.css" rel="preload" as="style"><link href="/static/js/app.e122d304.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.17cfd9a1.js" rel="preload" as="script"><link href="/static/css/app.fc944b83.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.17cfd9a1.js"></script><script src="/static/js/app.e122d304.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.c784857e.css" rel="prefetch"><link href="/static/css/main.90171b28.css" rel="prefetch"><link href="/static/css/main~workouts.c12079e7.css" rel="prefetch"><link href="/static/css/profile.23881524.css" rel="prefetch"><link href="/static/css/reset.528e2916.css" rel="prefetch"><link href="/static/css/workouts.a9a41b99.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.44a7d380.js" rel="prefetch"><link href="/static/js/main~workouts.052defa0.js" rel="prefetch"><link href="/static/js/profile.a7cb3b48.js" rel="prefetch"><link href="/static/js/reset.607f183f.js" rel="prefetch"><link href="/static/js/workouts.4a8b05f4.js" rel="prefetch"><link href="/static/css/app.fc944b83.css" rel="preload" as="style"><link href="/static/js/app.0f3cb969.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.17cfd9a1.js" rel="preload" as="script"><link href="/static/css/app.fc944b83.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.17cfd9a1.js"></script><script src="/static/js/app.0f3cb969.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": "a1b500ae35a9d51136e952d1c7c3cb25", "revision": "8954b4a4692e6bb0b12a980ae8a13eb3",
"url": "/index.html" "url": "/index.html"
}, },
{ {
@ -80,7 +80,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/css/admin.c784857e.css" "url": "/static/css/admin.c784857e.css"
}, },
{ {
"revision": "80f0e1783d1dc19a615b", "revision": "71a645c7dac244c284e2",
"url": "/static/css/app.fc944b83.css" "url": "/static/css/app.fc944b83.css"
}, },
{ {
@ -92,8 +92,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/css/leaflet.css" "url": "/static/css/leaflet.css"
}, },
{ {
"revision": "1f78bd1a76f3d72fb765", "revision": "e459cb348928f86035a2",
"url": "/static/css/main.5e29054c.css" "url": "/static/css/main.90171b28.css"
}, },
{ {
"revision": "e6d0842782251189ebb2", "revision": "e6d0842782251189ebb2",
@ -196,8 +196,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/admin.b2c267a7.js" "url": "/static/js/admin.b2c267a7.js"
}, },
{ {
"revision": "80f0e1783d1dc19a615b", "revision": "71a645c7dac244c284e2",
"url": "/static/js/app.e122d304.js" "url": "/static/js/app.0f3cb969.js"
}, },
{ {
"revision": "bd7d183c9f68e5f4027d", "revision": "bd7d183c9f68e5f4027d",
@ -224,8 +224,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/chunk-vendors.17cfd9a1.js" "url": "/static/js/chunk-vendors.17cfd9a1.js"
}, },
{ {
"revision": "1f78bd1a76f3d72fb765", "revision": "e459cb348928f86035a2",
"url": "/static/js/main.597d0b47.js" "url": "/static/js/main.44a7d380.js"
}, },
{ {
"revision": "e6d0842782251189ebb2", "revision": "e6d0842782251189ebb2",

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.ab33977b8ffd9aa70dbdc34ad7888ab2.js" "/precache-manifest.759e22f69f3840ffbe12f1a2837d0c33.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

View File

@ -12,10 +12,27 @@
<div v-else class="no-picture"> <div v-else class="no-picture">
<i class="fa fa-user-circle-o" aria-hidden="true" /> <i class="fa fa-user-circle-o" aria-hidden="true" />
</div> </div>
<span v-if="user.username" class="workout-user-name"> <router-link
v-if="user.username"
class="workout-user-name"
:to="{
name: 'User',
params: { username: user.username },
}"
>
{{ user.username }} {{ user.username }}
</span> </router-link>
</div> </div>
<router-link
class="workout-title"
v-if="workout"
:to="{
name: 'Workout',
params: { workoutId: workout.id },
}"
>
{{ workout.title }}
</router-link>
<div <div
class="workout-date" class="workout-date"
v-if="workout && user" v-if="workout && user"