Add basic frontend structure

This commit is contained in:
Oliver Traber 2025-03-18 17:23:26 +00:00
parent 486977f828
commit 2959599ced
Signed by: Bluemedia
GPG key ID: C0674B105057136C
29 changed files with 4656 additions and 3811 deletions

View file

@ -0,0 +1,21 @@
{
"navbar": {
"link": {
"idtoken": "Charging Cards",
"transaction": "Transactions",
"chargepoint": "Charging Stations",
"profile": "Profile",
"logout": "Logout"
}
},
"transactionTable": {
"noPreviousTransactions": "You don't have any completed transactions yet.",
"headerDate": "Date",
"headerChargepoint": "Chargepoint",
"headerEnergyTotal": "Energy charged",
"headerCost": "Cost",
"startTime": "Start: {{ time, datetime }}",
"endTime": "End: {{ time, datetime }}",
"detailButton": "Details"
}
}

View file

@ -0,0 +1,28 @@
{
"greeting": {
"morning": "Good morning {{name}}!",
"day": "Hello {{name}}!",
"evening": "Good evening {{name}}!"
},
"cards": {
"currentTransaction": "Current Transaction",
"chargepoint": "Chargepoint: {{name}}",
"toCurrentTransactionButton": "More",
"noCurrentTransaction": "No active transaction",
"transactionCount": "Transactions",
"transactionEnergyTotal": "Energy Ammount",
"transactionCostTotal": "Cost",
"lastMonth": "{{val}} {{unit}} last month"
},
"table": {
"title": "Your recent transactions",
"noPreviousTransactions": "You don't have any completed transactions yet.",
"headerDate": "Date",
"headerChargepoint": "Chargepoint",
"headerEnergyTotal": "Energy charged",
"headerCost": "Cost",
"startTime": "Start: {{ time, datetime }}",
"endTime": "End: {{ time, datetime }}",
"detailButton": "Details"
}
}

View file

@ -0,0 +1,10 @@
{
"title": "Login",
"text": "Please login to your account:",
"passwordPlaceholder": "Password",
"button": "Login",
"toast": {
"reauth": "Your session expired. Please log in again.",
"logoutSuccess": "Successfully logged out."
}
}