mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
Small fixes and update initial data
This commit is contained in:
parent
58d85da72f
commit
d888eada82
File diff suppressed because it is too large
Load Diff
|
@ -141,10 +141,13 @@ function FormCreateItem() {
|
|||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
/>
|
||||
<div className='flex flex-col items-center gap-2'>
|
||||
<Label text='Тип схемы' className='self-center select-none' />
|
||||
<SelectItemType value={itemType} onChange={setItemType} />
|
||||
</div>
|
||||
{user?.is_staff ? (
|
||||
<div className='flex flex-col items-center gap-2'>
|
||||
<Label text='Тип схемы' className='self-center select-none' />
|
||||
<SelectItemType value={itemType} onChange={setItemType} />
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<div className='flex flex-col gap-2'>
|
||||
<Label text='Доступ' className='self-center select-none' />
|
||||
<div className='ml-auto cc-icons'>
|
||||
|
|
|
@ -113,9 +113,9 @@ function SearchPanel({
|
|||
<div className='flex items-center h-full mx-auto'>
|
||||
<SearchBar
|
||||
id='library_search'
|
||||
placeholder='Аттрибуты'
|
||||
placeholder='Атрибуты'
|
||||
noBorder
|
||||
className='min-w-[10rem]'
|
||||
className='min-w-[8rem]'
|
||||
value={query}
|
||||
onChange={setQuery}
|
||||
/>
|
||||
|
@ -167,7 +167,7 @@ function SearchPanel({
|
|||
placeholder='Путь'
|
||||
noIcon
|
||||
noBorder
|
||||
className='min-w-[10rem]'
|
||||
className='min-w-[5rem]'
|
||||
value={path}
|
||||
onChange={setPath}
|
||||
/>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
import { useMemo } from 'react';
|
||||
|
||||
import { SubscribeIcon } from '@/components/DomainIcons';
|
||||
import { IconDestroy, IconDownload, IconSave, IconShare } from '@/components/Icons';
|
||||
import { IconDestroy, IconSave, IconShare } from '@/components/Icons';
|
||||
import BadgeHelp from '@/components/info/BadgeHelp';
|
||||
import MiniButton from '@/components/ui/MiniButton';
|
||||
import Overlay from '@/components/ui/Overlay';
|
||||
|
@ -41,11 +41,6 @@ function RSFormToolbar({ modified, anonymous, subscribed, onSubmit, onDestroy }:
|
|||
icon={<IconShare size='1.25rem' className='icon-primary' />}
|
||||
onClick={controller.share}
|
||||
/>
|
||||
<MiniButton
|
||||
title='Скачать TRS файл'
|
||||
icon={<IconDownload size='1.25rem' className='icon-primary' />}
|
||||
onClick={controller.download}
|
||||
/>
|
||||
{!anonymous ? (
|
||||
<MiniButton
|
||||
titleHtml={`Отслеживание <b>${subscribed ? 'включено' : 'выключено'}</b>`}
|
||||
|
|
|
@ -3,11 +3,16 @@
|
|||
# Create a copy in secure location @production host. Update backup scripts from repository manually
|
||||
# ========================================
|
||||
|
||||
# Create local backup:
|
||||
# python -Xutf8 manage.py dumpdata
|
||||
# --exclude=admin.LogEntry --exclude=sessions --exclude=contenttypes --exclude=auth.permission
|
||||
# --indent 4 -o InitialData_LI.json
|
||||
|
||||
# Input params
|
||||
$backupLocation = "D:\DEV\backup\portal"
|
||||
|
||||
$containerDB = "dev-portal-db"
|
||||
$containerBackend = "dev-portal-backend"
|
||||
$containerDB = "local-portal-db"
|
||||
$containerBackend = "local-portal-backend"
|
||||
$pgUser = "portal-admin"
|
||||
$pgDB = "portal-db"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user