-
+
{ isOwned && Владелец схемы }
{ !isOwned && Стать владельцем }
diff --git a/rsconcept/frontend/src/pages/RSFormPage/elements/ParsingResult.tsx b/rsconcept/frontend/src/pages/RSFormPage/elements/ParsingResult.tsx
index 055d2400..2fd31d58 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/elements/ParsingResult.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/elements/ParsingResult.tsx
@@ -20,7 +20,7 @@ function ParsingResult({ data, onShowAST, onShowError }: ParsingResultProps) {
Ошибок: {errorCount} | Предупреждений: {warningsCount}
{data.errors.map((error, index) => {
return (
-
onShowError(error)}>
+
onShowError(error)}>
{error.isCritical ? 'Ошибка' : 'Предупреждение'} {getRSErrorPrefix(error)}:
{getRSErrorMessage(error)}
diff --git a/rsconcept/frontend/src/pages/RSFormPage/elements/RSTokenButton.tsx b/rsconcept/frontend/src/pages/RSFormPage/elements/RSTokenButton.tsx
index bb468621..1292cb4b 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/elements/RSTokenButton.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/elements/RSTokenButton.tsx
@@ -17,7 +17,7 @@ function RSTokenButton({ id, disabled, onInsert }: RSTokenButtonProps) {
onClick={() => onInsert(id)}
title={data.tooltip}
tabIndex={-1}
- className={`px-1 cursor-pointer border rounded-none h-7 ${width} clr-btn-clear`}
+ className={`px-1 cursor-pointer border rounded-none h-7 ${width} clr-outline clr-btn-clear`}
>
{data.text &&
{data.text}}
diff --git a/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx b/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx
index 24483384..262dba5d 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx
@@ -90,7 +90,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
{
when: (cst: IConstituenta) => cst.id === activeID,
style: {
- backgroundColor: colors.selection,
+ backgroundColor: colors.bgSelected,
},
}
], [activeID, colors]);
@@ -109,7 +109,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
return (<>
{cst.alias}
@@ -122,7 +122,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
conditionalCellStyles: [
{
when: (cst: IConstituenta) => isMockCst(cst),
- style: {backgroundColor: colors.selectionError}
+ style: {backgroundColor: colors.bgWarning}
}
]
},
@@ -135,7 +135,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
conditionalCellStyles: [
{
when: (cst: IConstituenta) => isMockCst(cst),
- style: {backgroundColor: colors.selectionError}
+ style: {backgroundColor: colors.bgWarning}
}
]
},
@@ -150,7 +150,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
conditionalCellStyles: [
{
when: (cst: IConstituenta) => isMockCst(cst),
- style: {backgroundColor: colors.selectionError}
+ style: {backgroundColor: colors.fgWarning}
}
]
}
@@ -165,7 +165,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
}, [noNavigation, baseHeight]);
return (<>
-
+
- используйте уникальный пароль
- портал функционирует в тестовом режиме
- - безопасность информации не гарантируется
+ - безопасность информации не гарантируется
{/* - минимум 8 символов
- большие, маленькие буквы, цифры
- минимум 1 спец. символ
*/}
diff --git a/rsconcept/frontend/src/pages/UserProfilePage/EditorPassword.tsx b/rsconcept/frontend/src/pages/UserProfilePage/EditorPassword.tsx
index 342c4348..9783826b 100644
--- a/rsconcept/frontend/src/pages/UserProfilePage/EditorPassword.tsx
+++ b/rsconcept/frontend/src/pages/UserProfilePage/EditorPassword.tsx
@@ -19,7 +19,7 @@ function EditorPassword() {
const passwordColor = useMemo(
() => {
- return !!newPassword && !!newPasswordRepeat && newPassword !== newPasswordRepeat ? 'clr-input-red' : 'clr-input';
+ return !!newPassword && !!newPasswordRepeat && newPassword !== newPasswordRepeat ? 'clr-warning' : 'clr-input';
}, [newPassword, newPasswordRepeat]);
const canSubmit = useMemo(
@@ -48,7 +48,7 @@ function EditorPassword() {
}, [newPassword, oldPassword, newPasswordRepeat, setError]);
return (
-