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