mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-04 10:54:30 +08:00
Fix ui for team automation page [SCI-12343]
This commit is contained in:
parent
1b9d116af0
commit
c110d137a9
1 changed files with 6 additions and 8 deletions
|
@ -4,19 +4,17 @@
|
|||
</div>
|
||||
|
||||
<div v-if="teamObject?.teamAutomationGroups">
|
||||
<div class="flex flex-col gap-8 mb-4 rounded">
|
||||
<div class="flex flex-col gap-8 mb-4">
|
||||
<div v-for="(subGroups, group) in teamObject.teamAutomationGroups" :key="group">
|
||||
<h2 class="mt-0">{{ i18n.t(`team_automations.groups.${group}`) }}</h2>
|
||||
<div class="flex flex-col bg-sn-white gap-4 p-4 w-full">
|
||||
<div class="flex flex-col bg-sn-white gap-4 p-4 w-full rounded">
|
||||
<div v-for="(subGroupElements, subGroup) in subGroups" :key="subGroup">
|
||||
<h5>{{ i18n.t(`team_automations.sub_groups.${subGroup}`) }}</h5>
|
||||
<div v-for="(subGroupElement, i) in subGroupElements" :key="subGroupElement" class="flex w-full">
|
||||
<div class="w-1/2 border-0 border-t border-solid border-sn-super-light-grey">
|
||||
<div class="text-base py-3 pl-2">
|
||||
{{ i18n.t(`team_automations.sub_group_element.${subGroupElement}`) }}
|
||||
</div>
|
||||
<div v-for="(subGroupElement, i) in subGroupElements" :key="subGroupElement" class="flex justify-between max-w-3xl border-0 border-t border-solid border-sn-super-light-grey">
|
||||
<div class="text-base py-3 pl-2">
|
||||
{{ i18n.t(`team_automations.sub_group_element.${subGroupElement}`) }}
|
||||
</div>
|
||||
<div class="flex-shrink-0 border-0 border-t border-solid border-sn-super-light-grey flex items-center">
|
||||
<div class="flex-shrink-0 flex items-center">
|
||||
<div class="sci-toggle-checkbox-container py-3">
|
||||
<input v-model="teamAutomationSettings[group][subGroup][subGroupElement]" type="checkbox" class="sci-toggle-checkbox" @change="setTeamAutomationsSettings"/>
|
||||
<label class="sci-toggle-checkbox-label"></label>
|
||||
|
|
Loading…
Add table
Reference in a new issue