diff --git a/src/_locales/de/messages.json b/src/_locales/de/messages.json index fc89df6..b3a4408 100644 --- a/src/_locales/de/messages.json +++ b/src/_locales/de/messages.json @@ -114,7 +114,7 @@ "message": "Im letzten Monat" }, "generalSettings": { - "message": "Grundlegende Einstellungen" + "message": "Einstellungen" }, "whiteListSettings": { "message": "Weiße Liste" @@ -130,7 +130,7 @@ }, "viewTimeInBadge": { "message": "Zeitindikator anzeigen", - "description": "Sie können die aktuellen Informationen zur verbrauchten Zeit im Kurzformat auf dem Erweiterungssymbol anzeigen" + "description": "Sie können die aktuellen Informationen zur \"verbrauchten Zeit\" im Kurzformat anzeigen" }, "deferringDescription": { "message": "Sie können die Sperre nur einmal während des Tages um 5 Minuten verschieben" @@ -194,7 +194,7 @@ "description": "Dieser Text wird in der Benachrichtigung für Websites angezeigt" }, "notificationTimeSetting": { - "message": "Zeigt eine Benachrichtigung an, die eine Zusammenfassung Ihrer täglichen Nutzung enthält" + "message": "Benachrichtigungszeit mit zusammenfassenden Informationen zur täglichen Nutzung" }, "github": { "message": "Wenn Sie eine Frage haben oder ein Problem melden möchten, können Sie dies tun" @@ -225,5 +225,11 @@ }, "mostVisited": { "message": "Die meistbesuchte Website " + }, + "dashboard": { + "message": "Dashboard" + }, + "timeChartDescription": { + "message": "Dies ist eine stundenweise Zeitleiste für den Tag" } } diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 0043047..8becda8 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -114,7 +114,7 @@ "message": "Last month" }, "generalSettings": { - "message": "General Settings" + "message": "Settings" }, "whiteListSettings": { "message": "WhiteList" @@ -137,10 +137,10 @@ }, "allowDeferringBlock": { "message": "Allow deferring block for 5 minutes", - "description": "After the site is blocked, you can postpone the blocking for 5 minutes once during the day" + "description": "After the site is blocked, you can postpone the blocking for 5 minutes during the day only once" }, "intervalInactivity": { - "message": "Stop the tracker if there is no action during:", + "message": "Stop the tracker if there is no action for", "description": "These are any actions with the mouse or keyboard" }, "exportToCsvSetting": { @@ -172,8 +172,8 @@ "message": "Enter notification message..." }, "limits": { - "message": "Daily restrictions on access to websites", - "description": "Set the maximum time allowed to visit the site per day. After this time, the site will be blocked." + "message": "Daily access restrictions for the websites", + "description": "Set the maximum time allowed to visit the website per day. After this time, the site will be blocked." }, "limitsTip": { "message": "If you set the blocking time to 0 hours 0 minutes, the website will be blocked immediately" @@ -197,33 +197,39 @@ "message": "Notification time with summary information about your daily usage" }, "github": { - "message": "If you have feedback or would like to report an issue, you can do so on the" + "message": "Leave your feedback or report an issue on " }, "question": { - "message": "You can also ask questions or leave your suggestions here" + "message": "You can also ask questions and leave your suggestions" }, "supportForm": { "message": "support form" }, "doYouEnjoy": { - "message": "Do you enjoy using Web Activity Time Tracker?" + "message": "Do you enjoy Web Activity Time Tracker?" }, "review": { "message": "Leave a review!" }, "block": { - "message": "You've reached your limit today on " + "message": "You've reached your limit for today on " }, "5mins": { "message": "+ 5 minutes" }, "todayUsageTime": { - "message": "Today's total usage time " + "message": "Total usage time for today " }, "comparedToYesterday": { "message": " compared to yesterday " }, "mostVisited": { "message": "Most visited website " + }, + "dashboard": { + "message": "Dashboard" + }, + "timeChartDescription": { + "message": "This is a chart of time during the day by the hour" } } diff --git a/src/_locales/ru/messages.json b/src/_locales/ru/messages.json index 0e763cd..3e1aa2e 100644 --- a/src/_locales/ru/messages.json +++ b/src/_locales/ru/messages.json @@ -114,7 +114,7 @@ "message": "Последний месяц" }, "generalSettings": { - "message": "Основные настройки" + "message": "Настройки" }, "whiteListSettings": { "message": "Белый список" @@ -176,7 +176,7 @@ "description": "Установите максимальное время, разрешенное для посещения сайта в день. По истечении этого времени сайт будет заблокирован." }, "limitsTip": { - "message": "Если вы установите время блокировки равным 0 часам 0 минутам, сайт будет немедленно заблокирован" + "message": "Если вы установите время блокировки на 0 часов 0 минут, сайт будет немедленно заблокирован" }, "save": { "message": "Сохранить" @@ -200,13 +200,13 @@ "message": "Если \u0443 вас есть вопрос или вы хотели бы сообщить \u043E проблеме, вы можете сделать это на" }, "question": { - "message": "Также вы можете задать вопросы или оставить свои предложения здесь" + "message": "Также вы можете задать вопросы или оставить свои предложения " }, "supportForm": { "message": "поддержка" }, "doYouEnjoy": { - "message": "Вам нравится использовать Web Activity Time Tracker?" + "message": "Вам нравится Web Activity Time Tracker?" }, "review": { "message": "Оставьте отзыв!" @@ -225,5 +225,11 @@ }, "mostVisited": { "message": "Самый посещаемый сайт " + }, + "dashboard": { + "message": "Дашборд" + }, + "timeChartDescription": { + "message": "Это график времени в течение дня по часам" } } diff --git a/src/assets/css/dashboard.css b/src/assets/css/dashboard.css index 32a2f14..e84c3a4 100644 --- a/src/assets/css/dashboard.css +++ b/src/assets/css/dashboard.css @@ -288,6 +288,7 @@ label { bottom: 0; padding: 50px; border-left: 1px solid #ccc; + overflow-y: auto; } .settings-content span { animation: 0.5s ease-out 0s 1 slideInFromTop; diff --git a/src/assets/css/general.css b/src/assets/css/general.css index 3da15dd..94d2e40 100644 --- a/src/assets/css/general.css +++ b/src/assets/css/general.css @@ -1,3 +1,16 @@ +:root { + --main-color: #6ebf5d; + --popup-header: #efefef; + --progress-bar: #428bff; +} + +.no-data { + text-align: center; + font-size: 16px; + font-weight: 600; + margin-top: 30%; +} + .float-right { float: right; } diff --git a/src/assets/css/main.css b/src/assets/css/main.css index e804281..955b6c4 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -1,8 +1,3 @@ -:root { - --main-color: #6ebf5d; - --popup-header: #efefef; - --progress-bar: #428bff; -} ::-webkit-scrollbar-track { border-radius: 10px; background-color: #f5f5f5; @@ -24,12 +19,6 @@ body { padding: 0; margin: 0; } -.no-data { - text-align: center; - font-size: 16px; - font-weight: 600; - margin-top: 30%; -} .tabs { } .tabs input[name='tab-control'] { @@ -37,6 +26,7 @@ body { } .tabs .content section h2, .tabs ul li label { + font-size: 15px; color: #428bff; } diff --git a/src/assets/icons/dashboard.svg b/src/assets/icons/dashboard.svg new file mode 100644 index 0000000..8789249 --- /dev/null +++ b/src/assets/icons/dashboard.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/assets/icons/settings.svg b/src/assets/icons/settings.svg index 9b86d3e..206e8a9 100644 --- a/src/assets/icons/settings.svg +++ b/src/assets/icons/settings.svg @@ -1,2 +1,2 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/src/components/BadgeIcons.vue b/src/components/BadgeIcons.vue index d9ab734..cf44a3f 100644 --- a/src/components/BadgeIcons.vue +++ b/src/components/BadgeIcons.vue @@ -31,7 +31,11 @@ const isLimit = computedAsync(async () => { }, false); const showDocumentBadge = computed(() => props.type == TypeOfUrl.Document); -const showLimitBadge = computed(() => props.listType == TypeOfList.Today && isLimit.value == true); +const showLimitBadge = computed( + () => + (props.listType == TypeOfList.Today || props.listType == TypeOfList.Dashboard) && + isLimit.value == true, +); diff --git a/src/components/TabItemHeader.vue b/src/components/TabItemHeader.vue index 92da4fb..d2c6311 100644 --- a/src/components/TabItemHeader.vue +++ b/src/components/TabItemHeader.vue @@ -43,7 +43,8 @@ const emit = defineEmits<{ }>(); const title = computed(() => { - if (props.listType == TypeOfList.Today) return t('today.message'); + if (props.listType == TypeOfList.Today || props.listType == TypeOfList.Dashboard) + return t('today.message'); if (props.listType == TypeOfList.All) { let countOfActiveDays = props.countOfActiveDays > 1 ? `(${props.countOfActiveDays} ${t('days.message')})` : ''; diff --git a/src/components/TabList.vue b/src/components/TabList.vue index 26b7981..f07c84a 100644 --- a/src/components/TabList.vue +++ b/src/components/TabList.vue @@ -8,7 +8,11 @@
Web Activity Time Tracker