Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
thecybernanny-webapp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asranov0003
thecybernanny-webapp
Commits
043d50ba
Commit
043d50ba
authored
Jul 24, 2025
by
asranov0003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: initialise usage limits page
parent
61067c65
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
3 deletions
+40
-3
en.json
src/locales/en/en.json
+7
-1
ru.json
src/locales/ru/ru.json
+2
-1
UsageLimits.css
src/pages/UsageLimits/UsageLimits.css
+11
-0
UsageLimits.tsx
src/pages/UsageLimits/UsageLimits.tsx
+20
-1
No files found.
src/locales/en/en.json
View file @
043d50ba
...
...
@@ -127,6 +127,11 @@
"title"
:
"Chats"
,
"empty"
:
"No chats found."
},
"usageLimits"
:
{
"title"
:
"Phone usage time limits"
,
"desc"
:
"Set a daily phone usage limit."
,
"allowedApps"
:
"Allowed apps will be still accessible."
},
"pincode"
:
{
"enterTitle"
:
"Enter your PIN Code"
,
"createTitle"
:
"Create your PIN Code"
,
...
...
@@ -149,7 +154,8 @@
"logout"
:
"Logout"
,
"cancel"
:
"Cancel"
,
"delete"
:
"Delete"
,
"search"
:
"Search"
"search"
:
"Search"
,
"save"
:
"Save"
},
"notFound"
:
{
"code"
:
"404"
,
...
...
src/locales/ru/ru.json
View file @
043d50ba
...
...
@@ -144,7 +144,8 @@
"resetPassword"
:
"Сбросить пароль"
,
"logout"
:
"Выйти"
,
"cancel"
:
"Отмена"
,
"search"
:
"Поиск"
"search"
:
"Поиск"
,
"save"
:
"Сохранить"
},
"notFound"
:
{
"code"
:
"404"
,
...
...
src/pages/UsageLimits/UsageLimits.css
View file @
043d50ba
.usagelimits
{
margin-top
:
60px
;
}
.usagelimits__content
{
min-height
:
calc
(
100vh
-
60px
-
2rem
);
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
}
\ No newline at end of file
src/pages/UsageLimits/UsageLimits.tsx
View file @
043d50ba
import
React
from
"react"
;
import
"./UsageLimits.css"
;
import
SectionHeader
from
"../../layouts/SectionHeader"
;
import
CButton
from
"../../components/CButton"
;
import
{
useTranslation
}
from
"react-i18next"
;
const
UsageLimits
:
React
.
FC
=
()
=>
{
return
<
div
>
UsageLimits
</
div
>;
const
{
t
}
=
useTranslation
();
return
(
<
div
className=
"usagelimits wrapper"
>
<
SectionHeader
to=
"/home/manage-apps"
/>
<
div
className=
"usagelimits__content"
>
<
div
>
<
h3
>
{
t
(
"usageLimits.title"
)
}
</
h3
>
<
p
>
{
t
(
"usageLimits.desc"
)
}
</
p
>
<
p
>
{
t
(
"usageLimits.allowedApps"
)
}
</
p
>
</
div
>
<
CButton
title=
{
t
(
"button.save"
)
}
/>
</
div
>
</
div
>
);
};
export
default
UsageLimits
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment