Merge branch 'dev' into feature/11-tracks-management
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
# Conflicts: # src/locales/en.json
This commit is contained in:
commit
ff91995337
@ -2,11 +2,11 @@
|
||||
// import TailwindStyles from "./TailwindStyles.svelte";
|
||||
import { Route, router } from "tinro";
|
||||
router.subscribe((routeInfo) => {
|
||||
console.log(routeInfo.path);
|
||||
// console.log(routeInfo.path);
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
console.log($router.path);
|
||||
console.log(config);
|
||||
// console.log($router.path);
|
||||
// console.log(config);
|
||||
if (config.prefersHashRouting) {
|
||||
if (config.prefersHashRouting === true) {
|
||||
router.useHashNavigation();
|
||||
|
@ -6,10 +6,10 @@
|
||||
// the name to use for the internal file input
|
||||
let name = "filepond";
|
||||
function handleInit() {
|
||||
console.log("FilePond has initialised");
|
||||
// console.log("FilePond has initialised");
|
||||
}
|
||||
function handleAddFile(err, fileItem) {
|
||||
console.log("A file has been added", fileItem);
|
||||
// console.log("A file has been added", fileItem);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -2,19 +2,16 @@
|
||||
import { StatsService } from "@odit/lfk-client-js";
|
||||
import { _ } from "svelte-i18n";
|
||||
const stats_promise = StatsService.statsControllerGet();
|
||||
stats_promise.then((res) => {
|
||||
console.log(res);
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- -->
|
||||
<h1>Allgemeine Statistiken</h1>
|
||||
<h1>{$_('general-stats')}</h1>
|
||||
{#await stats_promise}
|
||||
<div
|
||||
class="bg-teal-lightest border-t-4 border-teal rounded-b text-teal-darkest px-4 py-3 shadow-md my-2"
|
||||
role="alert">
|
||||
<p class="font-bold">stats are being loaded...</p>
|
||||
<p class="text-sm">This might take a moment 👀</p>
|
||||
<p class="font-bold">{$_('stats-are-being-loaded')}</p>
|
||||
<p class="text-sm">{$_('this-might-take-a-moment')}</p>
|
||||
</div>
|
||||
{:then stats}
|
||||
<div
|
||||
|
@ -42,5 +42,6 @@
|
||||
"credits": "",
|
||||
"runners": "Läufer",
|
||||
"total-distance": "gelaufene Strecke",
|
||||
"dashboard-greeting": "Willkommen"
|
||||
"dashboard-greeting": "Willkommen",
|
||||
"general-stats": "Allgemeine Statistiken"
|
||||
}
|
||||
|
@ -1,73 +1,76 @@
|
||||
{
|
||||
"forgot_password?": "Forgot your password?",
|
||||
"register": "Register",
|
||||
"log_in": "Log in",
|
||||
"password": "Password",
|
||||
"log_in_to_your_account": "Log in to your account",
|
||||
"welcome_wavinghand": "Welcome 👋",
|
||||
"login_is_checked": "Login is being checked...",
|
||||
"error_on_login": "Error on login",
|
||||
"settings": "Settings",
|
||||
"your_profile": "Your Profile",
|
||||
"email_address_or_username": "Email / username",
|
||||
"tracks": "Tracks",
|
||||
"signout": "Sign out",
|
||||
"hallo": "hello",
|
||||
"404message": "Sorry, the page you are looking for could not be found.",
|
||||
"404title": "Error 404",
|
||||
"goback": "Go Home",
|
||||
"application_name": "Lauf für Kaya! - Admin",
|
||||
"reset-my-password": "Reset my password",
|
||||
"cannot-reset-your-password-directly": "Bummer. We unfortunately cannot reset your password directly. Please send us a mail and confirm your identity",
|
||||
"send-a-mail-to-lfk-odit-services": "send a mail to lfk@odit.services",
|
||||
"dont-have-your-email-connected": "Don't have your email connected?",
|
||||
"dont-panic-were-resetting-it": "Don't panic, we're resetting it ✌",
|
||||
"e-mail-adress": "E-Mail Adress",
|
||||
"mail-validation-in-progress": "mail validation in progress...",
|
||||
"invalid-mail-reset": "the provided email is invalid",
|
||||
"runners": "Runners",
|
||||
"total-scans": "total scans",
|
||||
"total-donations": "total donations",
|
||||
"total-distance": "total distance",
|
||||
"datatable": {
|
||||
"search": "🔍 Search...",
|
||||
"sort_column_ascending": "Sort column ascending",
|
||||
"sort_column_descending": "Sort column descending",
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"page": "Page",
|
||||
"showing": "Showing",
|
||||
"records": "Records",
|
||||
"of": "of",
|
||||
"to": "to",
|
||||
"loading": "Loading...",
|
||||
"no_matching_records_found": "No matching records found",
|
||||
"an_error_happened_while_fetching_the_data": "An error happened while fetching the data"
|
||||
},
|
||||
"about": "About",
|
||||
"by": "by",
|
||||
"lfk-is-os": "The \"Lauf für Kaya!\" Frontend is (like all other projects for the \"LfK!\" Also) an open source project.",
|
||||
"oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!",
|
||||
"credits": "Credits",
|
||||
"count_organizations": "# Organizations",
|
||||
"count_teams": "# Teams",
|
||||
"general_promise_error": "😢 Error",
|
||||
"add-your-first-track": "Add your first track",
|
||||
"no-tracks-added-yet": "there are no tracks added yet.",
|
||||
"track-length-in-m": "Track Length in m",
|
||||
"track-name": "Track name",
|
||||
"please-provide-the-required-information-to-add-a-new-track": "Please provide the required information to add a new track.",
|
||||
"create-a-new-track": "Create a new Track",
|
||||
"dashboard-greeting": "hello there",
|
||||
"dashboard-title": "Dashboard",
|
||||
"track-added": "Track added",
|
||||
"track-is-being-added": "Track is being added...",
|
||||
"logout": "Logout",
|
||||
"changelog": "Changelog",
|
||||
"orgs": "Orgs",
|
||||
"users": "Users",
|
||||
"teams": "Teams",
|
||||
"faq": "FAQ",
|
||||
"minimum-lap-time-in-s": "Minimum lap time in s",
|
||||
"action": "Action"
|
||||
"forgot_password?": "Forgot your password?",
|
||||
"register": "Register",
|
||||
"log_in": "Log in",
|
||||
"password": "Password",
|
||||
"log_in_to_your_account": "Log in to your account",
|
||||
"welcome_wavinghand": "Welcome 👋",
|
||||
"login_is_checked": "Login is being checked...",
|
||||
"error_on_login": "Error on login",
|
||||
"settings": "Settings",
|
||||
"your_profile": "Your Profile",
|
||||
"email_address_or_username": "Email / username",
|
||||
"tracks": "Tracks",
|
||||
"signout": "Sign out",
|
||||
"hallo": "hello",
|
||||
"404message": "Sorry, the page you are looking for could not be found.",
|
||||
"404title": "Error 404",
|
||||
"goback": "Go Home",
|
||||
"application_name": "Lauf für Kaya! - Admin",
|
||||
"reset-my-password": "Reset my password",
|
||||
"cannot-reset-your-password-directly": "Bummer. We unfortunately cannot reset your password directly. Please send us a mail and confirm your identity",
|
||||
"send-a-mail-to-lfk-odit-services": "send a mail to lfk@odit.services",
|
||||
"dont-have-your-email-connected": "Don't have your email connected?",
|
||||
"dont-panic-were-resetting-it": "Don't panic, we're resetting it ✌",
|
||||
"e-mail-adress": "E-Mail Adress",
|
||||
"mail-validation-in-progress": "mail validation in progress...",
|
||||
"invalid-mail-reset": "the provided email is invalid",
|
||||
"runners": "Runners",
|
||||
"total-scans": "total scans",
|
||||
"total-donations": "total donations",
|
||||
"total-distance": "total distance",
|
||||
"datatable": {
|
||||
"search": "🔍 Search...",
|
||||
"sort_column_ascending": "Sort column ascending",
|
||||
"sort_column_descending": "Sort column descending",
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"page": "Page",
|
||||
"showing": "Showing",
|
||||
"records": "Records",
|
||||
"of": "of",
|
||||
"to": "to",
|
||||
"loading": "Loading...",
|
||||
"no_matching_records_found": "No matching records found",
|
||||
"an_error_happened_while_fetching_the_data": "An error happened while fetching the data"
|
||||
},
|
||||
"about": "About",
|
||||
"by": "by",
|
||||
"lfk-is-os": "The \"Lauf für Kaya!\" Frontend is (like all other projects for the \"LfK!\" Also) an open source project.",
|
||||
"oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!",
|
||||
"credits": "Credits",
|
||||
"count_organizations": "# Organizations",
|
||||
"count_teams": "# Teams",
|
||||
"general_promise_error": "😢 Error",
|
||||
"add-your-first-track": "Add your first track",
|
||||
"no-tracks-added-yet": "there are no tracks added yet.",
|
||||
"track-length-in-m": "Track Length in m",
|
||||
"track-name": "Track name",
|
||||
"please-provide-the-required-information-to-add-a-new-track": "Please provide the required information to add a new track.",
|
||||
"create-a-new-track": "Create a new Track",
|
||||
"dashboard-greeting": "hello there",
|
||||
"dashboard-title": "Dashboard",
|
||||
"track-added": "Track added",
|
||||
"track-is-being-added": "Track is being added...",
|
||||
"logout": "Logout",
|
||||
"changelog": "Changelog",
|
||||
"orgs": "Orgs",
|
||||
"users": "Users",
|
||||
"teams": "Teams",
|
||||
"faq": "FAQ",
|
||||
"minimum-lap-time-in-s": "Minimum lap time in s",
|
||||
"action": "Action",
|
||||
"this-might-take-a-moment": "This might take a moment 👀",
|
||||
"stats-are-being-loaded": "stats are being loaded...",
|
||||
"general-stats": "General Stats"
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ const store = () => {
|
||||
state.access_token = access_token;
|
||||
state.jwtinfo = jwtinfo;
|
||||
state.isLoggedIn = true;
|
||||
console.log('login performed');
|
||||
// console.log('login performed');
|
||||
return state;
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user