diff --git a/fittrackee_client/src/components/Activity/ActivityAddOrEdit.jsx b/fittrackee_client/src/components/Activity/ActivityAddOrEdit.jsx index 9a8b5518..fdde8d19 100644 --- a/fittrackee_client/src/components/Activity/ActivityAddOrEdit.jsx +++ b/fittrackee_client/src/components/Activity/ActivityAddOrEdit.jsx @@ -58,6 +58,7 @@ class ActivityAddEdit extends React.Component {
+ ) +} diff --git a/fittrackee_client/src/components/Activity/ActivityDisplay/index.jsx b/fittrackee_client/src/components/Activity/ActivityDisplay/index.jsx index 66a72445..ad8d56fc 100644 --- a/fittrackee_client/src/components/Activity/ActivityDisplay/index.jsx +++ b/fittrackee_client/src/components/Activity/ActivityDisplay/index.jsx @@ -6,6 +6,7 @@ import ActivityCardHeader from './ActivityCardHeader' import ActivityCharts from './ActivityCharts' import ActivityDetails from './ActivityDetails' import ActivityMap from './ActivityMap' +import ActivityNoMap from './ActivityNoMap' import ActivityNotes from './ActivityNotes' import CustomModal from './../../Others/CustomModal' import { getOrUpdateData } from '../../../actions' @@ -78,11 +79,13 @@ class ActivityDisplay extends React.Component {
- {activity.with_gpx && ( -
+
+ {activity.with_gpx ? ( -
- )} + ) : ( + + )} +
diff --git a/fittrackee_client/src/components/App.css b/fittrackee_client/src/components/App.css index e1c289b9..040512ae 100644 --- a/fittrackee_client/src/components/App.css +++ b/fittrackee_client/src/components/App.css @@ -73,6 +73,14 @@ label { padding: 0; } +.activity-no-map { + background-color: #eaeaea; + color: #666666; + font-style: italic; + height: 400px; + line-height: 400px; +} + .activity-notes { font-size: 0.9em; font-style: italic; @@ -98,6 +106,10 @@ label { margin-top: 50px; } +.add-activity-radio { + margin-right: 10px; +} + .admin-img { max-width: 35px; max-height: 35px;