mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
This commit is contained in:
parent
f072edf701
commit
3381aaa0db
|
@ -65,7 +65,7 @@ function TabInputOperation({
|
|||
<TextInput
|
||||
id='operation_alias'
|
||||
label='Сокращение'
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
disabled={attachedID !== undefined}
|
||||
|
|
|
@ -42,7 +42,7 @@ function TabSynthesisOperation({
|
|||
<TextInput
|
||||
id='operation_alias'
|
||||
label='Сокращение'
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
/>
|
||||
|
|
|
@ -24,7 +24,7 @@ function TabOperation({ alias, setAlias, title, setTitle, comment, setComment }:
|
|||
<TextInput
|
||||
id='operation_alias'
|
||||
label='Сокращение'
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
/>
|
||||
|
|
|
@ -152,7 +152,7 @@ function FormCreateItem() {
|
|||
required={!file}
|
||||
label='Сокращение'
|
||||
placeholder={file && 'Загрузить из файла'}
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
/>
|
||||
|
|
|
@ -219,7 +219,7 @@ function HelpThesaurus() {
|
|||
<IconDownload size='1rem' className='inline-icon' /> загрузка КС из библиотеки;
|
||||
</li>
|
||||
<li>
|
||||
<IconSynthesis size='1rem' className='inline-icon' /> синтез концептуальных схем.
|
||||
<IconSynthesis size='1rem' className='inline-icon' /> синтез концептуальных схем.ыф
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -100,7 +100,7 @@ function FormOSS({ id, isModified, setIsModified }: FormOSSProps) {
|
|||
id='schema_alias'
|
||||
required
|
||||
label='Сокращение'
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
disabled={!controller.isMutable}
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
|
|
|
@ -100,7 +100,7 @@ function FormRSForm({ id, isModified, setIsModified }: FormRSFormProps) {
|
|||
id='schema_alias'
|
||||
required
|
||||
label='Сокращение'
|
||||
className='w-[14rem]'
|
||||
className='w-[16rem]'
|
||||
disabled={!controller.isContentEditable}
|
||||
value={alias}
|
||||
onChange={event => setAlias(event.target.value)}
|
||||
|
|
|
@ -20,8 +20,11 @@ function RSFormStats({ stats }: RSFormStatsProps) {
|
|||
}
|
||||
return (
|
||||
<div className='flex flex-col mt-3 sm:gap-1 sm:ml-6 sm:mt-8 sm:w-[16rem]'>
|
||||
<LabeledValue id='count_all' label='Всего конституент' text={stats.count_all} />
|
||||
<div className='grid grid-cols-4 gap-1 justify-items-start sm:justify-items-end'>
|
||||
<div className='grid grid-cols-4 gap-1 mb-3 justify-items-start sm:justify-items-end'>
|
||||
<div className='col-span-2 text-left w-full flex gap-3 sm:pl-3'>
|
||||
<span>Всего</span>
|
||||
<span>{stats.count_all}</span>
|
||||
</div>
|
||||
<IconValue
|
||||
id='count_owned'
|
||||
dense
|
||||
|
@ -126,9 +129,11 @@ function RSFormStats({ stats }: RSFormStatsProps) {
|
|||
/>
|
||||
</div>
|
||||
|
||||
<LabeledValue id='count_text_term' label='Термины' text={stats.count_text_term} />
|
||||
<LabeledValue id='count_definition' label='Определения' text={stats.count_definition} />
|
||||
<LabeledValue id='count_convention' label='Конвенции' text={stats.count_convention} />
|
||||
<div className='sm:pl-3 max-w-[10rem] sm:max-w-[12rem]'>
|
||||
<LabeledValue id='count_text_term' label='Термины' text={stats.count_text_term} />
|
||||
<LabeledValue id='count_definition' label='Определения' text={stats.count_definition} />
|
||||
<LabeledValue id='count_convention' label='Конвенции' text={stats.count_convention} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user