Skip to content

Commit

Permalink
- add auth background
Browse files Browse the repository at this point in the history
- typos
  • Loading branch information
viktor-silakov committed Mar 14, 2023
1 parent 0803add commit a6dbb79
Show file tree
Hide file tree
Showing 26 changed files with 19,157 additions and 15,382 deletions.
8 changes: 4 additions & 4 deletions mvc/views/react/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

<link rel="icon" href="/assets/favicon.bf5828d5.svg">
<title>Syngrisi</title>
<script type="module" crossorigin src="/assets/admin.dd1e14c8.js"></script>
<link rel="modulepreload" crossorigin href="/assets/use-form.bba2ce1c.js">
<link rel="modulepreload" crossorigin href="/assets/LogicalGroup.3c060879.js">
<link rel="modulepreload" crossorigin href="/assets/PasswordInput.bcd5b37b.js">
<script type="module" crossorigin src="/assets/admin.8d2d91f2.js"></script>
<link rel="modulepreload" crossorigin href="/assets/use-form.ce617065.js">
<link rel="modulepreload" crossorigin href="/assets/LogicalGroup.cb78380d.js">
<link rel="modulepreload" crossorigin href="/assets/PasswordInput.bd23c941.js">
<link rel="stylesheet" href="/assets/use-form.ecb4391b.css">
</head>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { r as react, b as jsx, d as useMantineTheme, aw as Global$1, ax as css, ay as useDidUpdate, az as useReducedMotion, aA as useWindowEvent, aB as mergeRefs, aC as reactDom, K as useComponentDefaultProps, R as extractSystemStyles, B as Box, aD as OptionalPortal, aE as packSx, aF as getDefaultZIndex, V as ActionIcon, aG as createPolymorphicComponent, c as createStyles, j as jsxs, a0 as Fragment, T as Text, aH as _extends, a5 as React, U as useUncontrolled, aI as useFloating, aJ as size, aK as useFloatingAutoUpdate, aL as offset, aM as shift, aN as limitShift, aO as flip, aP as inline, aQ as arrow, aR as isElement, aS as useMergedRef, aT as clsx, a6 as Transition$2, aU as FloatingArrow, O as useId, aV as getFloatingPosition, aW as UnstyledButton, P as Paper, G as Group, aX as CheckIcon, aY as useTransition, aZ as getTransitionStyles, a_ as Overlay, a4 as Loader, a2 as Tooltip, a$ as useIsomorphicEffect$1, b0 as useInputProps, W as Input, b1 as keyframes, b2 as QueryObserver, b3 as infiniteQueryBehavior, b4 as hasNextPage, b5 as hasPreviousPage, b6 as Subscribable, b7 as shallowEqualObjects, b8 as getDefaultState, b9 as notifyManager, ba as parseMutationArgs, a1 as useQueryClient, bb as useSyncExternalStore, bc as shouldThrowError, bd as parseQueryArgs, be as useBaseQuery, bf as ReactDOM, bg as Portal, l as log, bh as NavigationContext, at as useNavigate, bi as useLocation, i as Progress, C as Center, q as TextInput, D as useHotkeys, e as Container, k as ky, a as config$1, X as queryString, u as useQuery, bj as B9, bk as wue, bl as gW, bm as wz, bn as mF, bo as Uye, z as zB, bp as Lqe, bq as Iqe, br as I9, bs as N9, h as Button, bt as P5, m as dj, bu as NP, bv as Qa, S as Switch, t as GCe, v as Nie, y as useLocalStorage, bw as L3, bx as CMe, by as _He, bz as Iee, n as lAe, bA as commonjsGlobal, p as useForm, bB as rle, bC as Nme } from "./use-form.bba2ce1c.js";
import { r as react, b as jsx, d as useMantineTheme, aw as Global$1, ax as css, ay as useDidUpdate, az as useReducedMotion, aA as useWindowEvent, aB as mergeRefs, aC as reactDom, K as useComponentDefaultProps, R as extractSystemStyles, B as Box, aD as OptionalPortal, aE as packSx, aF as getDefaultZIndex, V as ActionIcon, aG as createPolymorphicComponent, c as createStyles, j as jsxs, a0 as Fragment, T as Text, aH as _extends, a5 as React, U as useUncontrolled, aI as useFloating, aJ as size, aK as useFloatingAutoUpdate, aL as offset, aM as shift, aN as limitShift, aO as flip, aP as inline, aQ as arrow, aR as isElement, aS as useMergedRef, aT as clsx, a6 as Transition$2, aU as FloatingArrow, O as useId, aV as getFloatingPosition, aW as UnstyledButton, P as Paper, G as Group, aX as CheckIcon, aY as useTransition, aZ as getTransitionStyles, a_ as Overlay, a4 as Loader, a2 as Tooltip, a$ as useIsomorphicEffect$1, b0 as useInputProps, W as Input, b1 as keyframes, b2 as QueryObserver, b3 as infiniteQueryBehavior, b4 as hasNextPage, b5 as hasPreviousPage, b6 as Subscribable, b7 as shallowEqualObjects, b8 as getDefaultState, b9 as notifyManager, ba as parseMutationArgs, a1 as useQueryClient, bb as useSyncExternalStore, bc as shouldThrowError, bd as parseQueryArgs, be as useBaseQuery, bf as ReactDOM, bg as Portal, l as log, bh as NavigationContext, at as useNavigate, bi as useLocation, i as Progress, C as Center, q as TextInput, D as useHotkeys, e as Container, k as ky, a as config$1, X as queryString, u as useQuery, bj as B9, bk as wue, bl as gW, bm as wz, bn as mF, bo as Uye, z as zB, bp as Lqe, bq as Iqe, br as I9, bs as N9, h as Button, bt as P5, m as dj, bu as NP, bv as Qa, S as Switch, t as GCe, v as Nie, y as useLocalStorage, bw as L3, bx as CMe, by as _He, bz as Iee, n as lAe, bA as commonjsGlobal, p as useForm, bB as rle, bC as Nme } from "./use-form.ce617065.js";
function findElementAncestor(element, selector) {
let _element = element;
while ((_element = _element.parentElement) && !_element.matches(selector))
Expand Down Expand Up @@ -10140,10 +10140,10 @@ function getStatusMessage(check) {
statusMsg += ` (${diffPercent}%)`;
}
if (check.failReasons.includes("wrong_dimensions")) {
statusMsg = " - images have wrong dimensions";
statusMsg = " - images have the wrong dimensions";
}
if (check.failReasons.includes("not_accepted")) {
statusMsg = " - previous check with same parameter is not accepted";
statusMsg = " - the previous check with the same parameter is not accepted";
}
}
if (check.status[0] === "new") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { b as jsx, c as createStyles, J as sizes, r as react, K as useComponentDefaultProps, d as useMantineTheme, O as useId, R as extractSystemStyles, U as useUncontrolled, V as ActionIcon, W as Input } from "./use-form.bba2ce1c.js";
import { b as jsx, c as createStyles, J as sizes, r as react, K as useComponentDefaultProps, d as useMantineTheme, O as useId, R as extractSystemStyles, U as useUncontrolled, V as ActionIcon, W as Input } from "./use-form.ce617065.js";
const PasswordToggleIcon = ({
reveal,
size = 15
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bD as transitions$1, r as react, U as useUncontrolled, a$ as useIsomorphicEffect, O as useId, b as jsx, c as createStyles, K as useComponentDefaultProps, B as Box, j as jsxs, aW as UnstyledButton, aF as getDefaultZIndex, b0 as useInputProps, ay as useDidUpdate, W as Input, aS as useMergedRef, aE as packSx, aG as createPolymorphicComponent, d as useMantineTheme, a0 as Fragment, V as ActionIcon, a6 as Transition, P as Paper, aD as OptionalPortal, T as Text, a_ as Overlay, bE as assignRef, bF as getSystemStyles, bG as MANTINE_SIZES, aR as isElement, b1 as keyframes, aH as _extends, R as extractSystemStyles, a5 as React, J as sizes$8, q as TextInput, G as Group, bH as InputsGroup, bI as InlineInput, A as Anchor, a4 as Loader, bJ as CheckboxIcon, bK as GROUP_POSITIONS, s as Checkbox, bL as SYSTEM_PROPS, h as Button, C as Center, aX as CheckIcon, e as Container, L as LoadingOverlay, bg as Portal, i as Progress, Y as Stack, S as Switch, g as Title, a2 as Tooltip, aT as clsx, bM as DEFAULT_THEME, bN as MANTINE_COLORS, M as MantineProvider, F as ColorSchemeProvider, bO as useMantineColorScheme, bP as GlobalStyles, bQ as NormalizeCSS, bR as filterProps, bS as useCss, bT as useEmotionCache, bU as defaultMantineEmotionCache, bV as createCache, $ as Dge, bi as useLocation, bW as Link, bX as Dqe, bY as ya, bs as N9, bx as CMe, p as useForm, X as queryString, l as log, bZ as useParams$1, m as dj, n as lAe, b_ as tMe, b$ as wQ, bv as Qa, u as useQuery, bq as Iqe, Z as Epe, ab as Ol, ac as ua, ad as RX, a8 as rze, a7 as Xfe, y as useLocalStorage, as as Y, a9 as zV, au as Routes, av as Route, Q as QueryClient, f as useDocumentTitle, at as useNavigate, E as QueryClientProvider, H as createRoot, I as BrowserRouter } from "./use-form.bba2ce1c.js";
import { a9 as createSafeContext, aa as createScopedKeydownHandler, z as Collapse, ab as CloseButton, ac as HorizontalSection, ad as Section, ae as VerticalSection, af as DefaultItem$2, ag as groupOptions, ah as SelectPopover, ai as SelectScrollArea, aj as SelectItems, ak as noop$1, P as Popover, A as Affix, al as useFocusTrap, am as useScrollLock, an as useFocusReturn, ao as GroupedTransition, ap as createEventHandler, a as useDisclosure, aq as useDelayedHover, ar as _objectWithoutPropertiesLoose, as as useScrollIntoView, at as getSelectRightSectionProps, i as useOs, au as useElementSize, D as Divider, N as Navbar, H as Header, a0 as AppShell, av as Avatar, r as Badge, B as Breadcrumbs, E as Burger, y as Card, aw as CardSection, f as Chip, C as CopyButton, F as FocusTrap, ax as Highlight, I as Image, K as Kbd, L as List, ay as Mark, az as Menu, M as Modal, aA as Notification, R as RingProgress, d as ScrollArea, Q as SegmentedControl, aB as Select, aC as ChevronIcon$1, k as Skeleton, V as Table, T as ThemeIcon, aD as Global, aE as AppContext, n as getNavigationItem, aF as stopNavigationProgress, aG as resetNavigationProgress, l as links, g as HeaderLogo, o as openSpotlight, U as UserMenu, j as useMutation, h as SafeSelect, t as ActionPopoverIcon, s as successMsg, e as errorMsg, G as GenericService, v as UserHooks, $ as useNavProgressFetchEffect, m as useInView, p as useToggle, u as useQueryParams, S as StringParam, J as JsonParam, W as useInputState, X as RelativeDrawer, Y as LogicalGroup, Z as uuid, q as useInfinityScroll, a1 as ReactQueryDevtools, a2 as useColorScheme, a3 as navigationData, a4 as SpotlightProvider, a5 as NotificationsProvider, a6 as NavigationProgress, a7 as QueryParamProvider, a8 as ReactRouter6Adapter } from "./LogicalGroup.3c060879.js";
import { P as PasswordInput } from "./PasswordInput.bcd5b37b.js";
import { bD as transitions$1, r as react, U as useUncontrolled, a$ as useIsomorphicEffect, O as useId, b as jsx, c as createStyles, K as useComponentDefaultProps, B as Box, j as jsxs, aW as UnstyledButton, aF as getDefaultZIndex, b0 as useInputProps, ay as useDidUpdate, W as Input, aS as useMergedRef, aE as packSx, aG as createPolymorphicComponent, d as useMantineTheme, a0 as Fragment, V as ActionIcon, a6 as Transition, P as Paper, aD as OptionalPortal, T as Text, a_ as Overlay, bE as assignRef, bF as getSystemStyles, bG as MANTINE_SIZES, aR as isElement, b1 as keyframes, aH as _extends, R as extractSystemStyles, a5 as React, J as sizes$8, q as TextInput, G as Group, bH as InputsGroup, bI as InlineInput, A as Anchor, a4 as Loader, bJ as CheckboxIcon, bK as GROUP_POSITIONS, s as Checkbox, bL as SYSTEM_PROPS, h as Button, C as Center, aX as CheckIcon, e as Container, L as LoadingOverlay, bg as Portal, i as Progress, Y as Stack, S as Switch, g as Title, a2 as Tooltip, aT as clsx, bM as DEFAULT_THEME, bN as MANTINE_COLORS, M as MantineProvider, F as ColorSchemeProvider, bO as useMantineColorScheme, bP as GlobalStyles, bQ as NormalizeCSS, bR as filterProps, bS as useCss, bT as useEmotionCache, bU as defaultMantineEmotionCache, bV as createCache, $ as Dge, bi as useLocation, bW as Link, bX as Dqe, bY as ya, bs as N9, bx as CMe, p as useForm, X as queryString, l as log, bZ as useParams$1, m as dj, n as lAe, b_ as tMe, b$ as wQ, bv as Qa, u as useQuery, bq as Iqe, Z as Epe, ab as Ol, ac as ua, ad as RX, a8 as rze, a7 as Xfe, y as useLocalStorage, as as Y, a9 as zV, au as Routes, av as Route, Q as QueryClient, f as useDocumentTitle, at as useNavigate, E as QueryClientProvider, H as createRoot, I as BrowserRouter } from "./use-form.ce617065.js";
import { a9 as createSafeContext, aa as createScopedKeydownHandler, z as Collapse, ab as CloseButton, ac as HorizontalSection, ad as Section, ae as VerticalSection, af as DefaultItem$2, ag as groupOptions, ah as SelectPopover, ai as SelectScrollArea, aj as SelectItems, ak as noop$1, P as Popover, A as Affix, al as useFocusTrap, am as useScrollLock, an as useFocusReturn, ao as GroupedTransition, ap as createEventHandler, a as useDisclosure, aq as useDelayedHover, ar as _objectWithoutPropertiesLoose, as as useScrollIntoView, at as getSelectRightSectionProps, i as useOs, au as useElementSize, D as Divider, N as Navbar, H as Header, a0 as AppShell, av as Avatar, r as Badge, B as Breadcrumbs, E as Burger, y as Card, aw as CardSection, f as Chip, C as CopyButton, F as FocusTrap, ax as Highlight, I as Image, K as Kbd, L as List, ay as Mark, az as Menu, M as Modal, aA as Notification, R as RingProgress, d as ScrollArea, Q as SegmentedControl, aB as Select, aC as ChevronIcon$1, k as Skeleton, V as Table, T as ThemeIcon, aD as Global, aE as AppContext, n as getNavigationItem, aF as stopNavigationProgress, aG as resetNavigationProgress, l as links, g as HeaderLogo, o as openSpotlight, U as UserMenu, j as useMutation, h as SafeSelect, t as ActionPopoverIcon, s as successMsg, e as errorMsg, G as GenericService, v as UserHooks, $ as useNavProgressFetchEffect, m as useInView, p as useToggle, u as useQueryParams, S as StringParam, J as JsonParam, W as useInputState, X as RelativeDrawer, Y as LogicalGroup, Z as uuid, q as useInfinityScroll, a1 as ReactQueryDevtools, a2 as useColorScheme, a3 as navigationData, a4 as SpotlightProvider, a5 as NotificationsProvider, a6 as NavigationProgress, a7 as QueryParamProvider, a8 as ReactRouter6Adapter } from "./LogicalGroup.cb78380d.js";
import { P as PasswordInput } from "./PasswordInput.bd23c941.js";
function getSafeId(uid, errorMessage) {
return (value) => {
if (typeof value !== "string" || value.trim().length === 0) {
Expand Down Expand Up @@ -13434,10 +13434,10 @@ function AdminSettings() {
})]
});
}
const RefreshActionIcon = ({
function RefreshActionIcon({
newestItemsQuery,
firstPageQuery
}) => {
}) {
var _a, _b, _c, _d, _e, _f;
const theme = useMantineTheme();
const newestItems = ((_a = newestItemsQuery == null ? void 0 : newestItemsQuery.data) == null ? void 0 : _a.results.length) > 50 ? "50+" : (_b = newestItemsQuery == null ? void 0 : newestItemsQuery.data) == null ? void 0 : _b.results.length;
Expand Down Expand Up @@ -13469,14 +13469,14 @@ const RefreshActionIcon = ({
lineHeight: "16px",
fontWeight: 400,
fontFamily: '"Roboto","Arial",sans-serif',
border: `2px`,
border: "2px",
borderStyle: "solid",
borderColor: theme.colorScheme === "dark" ? theme.colors.dark[7] : "white"
},
children: newestItems
})]
});
};
}
const adminLogsTableColumns = {
_id: {
label: "Id",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { c as createStyles, u as useQuery, k as ky, a as config, l as log, j as jsxs, C as Center, A as Anchor, b as jsx, N as NR, T as Text, d as useMantineTheme, e as Container, P as Paper, B as Box, f as useDocumentTitle, r as react, L as LoadingOverlay, z as zB, w as wN, g as Title, h as Button, i as Progress, G as Group, m as dj, n as lAe, o as useSearchParams, p as useForm, q as TextInput, s as Checkbox, S as Switch, t as GCe, v as Nie, Q as QueryClient, x as useRoutes, y as useLocalStorage, D as useHotkeys, E as QueryClientProvider, F as ColorSchemeProvider, M as MantineProvider, H as createRoot, I as BrowserRouter } from "./use-form.bba2ce1c.js";
import { P as PasswordInput } from "./PasswordInput.bcd5b37b.js";
import { c as createStyles, u as useQuery, k as ky, a as config, l as log, j as jsxs, C as Center, A as Anchor, b as jsx, N as NR, T as Text, d as useMantineTheme, e as Container, P as Paper, B as Box, f as useDocumentTitle, r as react, L as LoadingOverlay, z as zB, w as wN, g as Title, h as Button, i as Progress, G as Group, m as dj, n as lAe, o as useSearchParams, p as useForm, q as TextInput, s as Checkbox, S as Switch, t as GCe, v as Nie, Q as QueryClient, x as useRoutes, y as useLocalStorage, D as useHotkeys, E as QueryClientProvider, F as ColorSchemeProvider, M as MantineProvider, H as createRoot, I as BrowserRouter } from "./use-form.ce617065.js";
import { P as PasswordInput } from "./PasswordInput.bd23c941.js";
const index = "";
const useStyle = createStyles((theme) => ({
footer: {
Expand Down
Binary file removed mvc/views/react/assets/background.db3c16e4.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body::before {
top: inherit;
width: inherit;
height: inherit;
background-image: url("/assets/background.db3c16e4.jpg");
background-image: url("/assets/bg_2_0_dark_L2.3a31edc0.png");
background-size: cover;
opacity: var(--before-opacity);
}
Loading

0 comments on commit a6dbb79

Please sign in to comment.