Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Review UI/UX of node drawer - MEED-6834 - Meeds-io/MIPs#137 #153

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
<div class="ms-8">
<div class="d-flex align-center justify-space-between flex-grow-1">
<span>{{ $t('siteNavigation.label.choosePage') }}</span>
<v-checkbox
<div class="d-flex align-center">
<span>{{ $t('siteNavigation.label.chooseSite') }}</span>
<v-checkbox
v-model="allSites"
:label="$t('siteNavigation.label.chooseSite')"
class="mt-0" />
class="mt-1 me-0 ms-1" />
</div>
</div>
<site-navigation-site-suggester
v-if="!allSites"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@
<v-form
v-model="isValidInputs">
<v-card-text class="d-flex pb-2">
<v-label>
<span class="text-color font-weight-bold text-start text-truncate-2">
{{ $t('siteNavigation.label.nodeLabel.title') }}
</span>
</v-label>
<span class="font-weight-bold text-start text-truncate-2">
{{ $t('siteNavigation.label.nodeLabel.title') }}
</span>
</v-card-text>
<v-card-text class="d-flex py-0">
<v-text-field
Expand All @@ -71,7 +69,7 @@
<v-card-text class="py-2">
<div class="d-flex align-center justify-space-between">
<div>
<span class="text-color font-weight-bold text-start mr-6 text-truncate-2 v-label">
<span class="font-weight-bold text-start mr-6 text-truncate-2">
{{ $t('siteNavigation.label.nodeId.title') }}
</span>
</div>
Expand All @@ -94,7 +92,7 @@
</v-card-text>
<v-card-text class="d-flex flex-grow-1 text-no-wrap text-left font-weight-bold pb-2">
<v-label>
<span class="text-color font-weight-bold">
<span class="font-weight-bold">
{{ $t('siteNavigation.label.nodeType.title') }}
</span>
</v-label>
Expand All @@ -114,8 +112,8 @@
<site-navigation-existing-page-element
v-if="!isNewPageElement"
:selected-page="selectedPage" />
<div class="d-flex align-center justify-space-between flex-row pb-2">
<span class="caption">
<div class="d-flex align-center justify-space-between flex-row ms-8 pb-2">
<span>
{{ $t('siteNavigation.label.openSameTab') }}
</span>
<v-switch
Expand All @@ -137,7 +135,7 @@
outlined
dense />
<div class="d-flex align-center justify-space-between flex-row pb-2">
<span class="caption">
<span>
{{ $t('siteNavigation.label.openSameTab') }}
</span>
<v-switch
Expand All @@ -153,7 +151,7 @@
</v-card-text>
<v-card-text class="d-flex flex-grow-1 pb-2 pt-0">
<v-label>
<span class="text-color font-weight-bold text-start mr-6 text-truncate-2">
<span class="font-weight-bold text-start mr-6 text-truncate-2">
{{ $t('siteNavigation.label.icon.title') }}
</span>
</v-label>
Expand Down Expand Up @@ -183,15 +181,13 @@
</div>
</v-card-text>
<v-card-text class="d-flex flex-grow-1 pb-0">
<v-label>
<span class="text-color font-weight-bold pt-2">
{{ $t('siteNavigation.label.visibility.title') }}
</span>
</v-label>
<span class="font-weight-bold pt-2">
{{ $t('siteNavigation.label.visibility.title') }}
</span>
</v-card-text>
<v-card-text class="pt-2">
<div class="d-flex align-center justify-space-between flex-row">
<span class="caption">
<span>
{{ $t('siteNavigation.label.visibility.visible') }}
</span>
<v-switch
Expand All @@ -201,7 +197,7 @@
<div
class="d-flex align-center justify-space-between flex-row"
v-if="visible">
<span class="caption pt-1">
<span class="pt-1">
{{ $t('siteNavigation.label.visibility.scheduleVisibility') }}
</span>
<v-switch
Expand Down