Skip to content

Commit dfd36e8

Browse files
committed
Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent 6d300c9 commit dfd36e8

31 files changed

+58
-83
lines changed

apps/files_sharing/src/components/SharingEntry.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
{{ t('files_sharing', 'Allow resharing') }}
7979
</NcActionCheckbox>
8080

81-
<NcActionCheckbox v-if="isSetDownloadButtonVisible"
82-
ref="canDownload"
81+
<NcActionCheckbox ref="canDownload"
8382
:checked.sync="canDownload"
83+
v-if="isSetDownloadButtonVisible"
8484
:disabled="saving || !canSetDownload">
8585
{{ allowDownloadText }}
8686
</NcActionCheckbox>

apps/settings/css/settings.css

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/css/settings.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/css/settings.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ input {
120120

121121
#locale {
122122
h3 {
123-
height: 32px;
123+
height: 44px;
124+
display: flex;
125+
align-items: center;
124126
}
125127
}
126128
}
@@ -300,6 +302,8 @@ select {
300302
flex-wrap: nowrap;
301303
justify-content: flex-start;
302304
width: 100%;
305+
align-items: center;
306+
gap: 8px;
303307

304308
> label {
305309
white-space: nowrap;
@@ -391,7 +395,7 @@ select {
391395
width: 44px;
392396
height: 44px;
393397
padding: 10px;
394-
margin: -12px 0 0 8px;
398+
margin: 0;
395399
background: none;
396400
border: none;
397401

apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -205,35 +205,11 @@ section {
205205
resize: vertical;
206206
grid-area: 1 / 1;
207207
width: 100%;
208-
margin: 3px 3px 3px 0;
209-
padding: 7px 6px;
210-
color: var(--color-main-text);
211-
border: 1px solid var(--color-border-dark);
212-
border-radius: var(--border-radius);
213-
background-color: var(--color-main-background);
214-
font-family: var(--font-face);
215-
cursor: text;
216-
217-
&:hover,
218-
&:focus,
219-
&:active {
220-
border-color: var(--color-primary-element) !important;
221-
outline: none !important;
222-
}
223208
}
224209
225210
input {
226211
grid-area: 1 / 1;
227212
width: 100%;
228-
height: 34px;
229-
margin: 3px 3px 3px 0;
230-
padding: 7px 6px;
231-
color: var(--color-main-text);
232-
border: 1px solid var(--color-border-dark);
233-
border-radius: var(--border-radius);
234-
background-color: var(--color-main-background);
235-
font-family: var(--font-face);
236-
cursor: text;
237213
}
238214
239215
.property__actions-container {

apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ export default {
130130
display: inline-flex;
131131
width: 100%;
132132
margin: 12px 0 0 0;
133+
gap: 8px;
134+
align-items: center;
133135
font-size: 16px;
134136
color: var(--color-text-light);
135137
@@ -138,7 +140,7 @@ export default {
138140
}
139141
140142
&.setting-property {
141-
height: 32px;
143+
height: 44px;
142144
}
143145
144146
label {
@@ -147,10 +149,10 @@ export default {
147149
}
148150
149151
.federation-control {
150-
margin: -12px 0 0 8px;
152+
margin: 0;
151153
}
152154
153155
.button-vue {
154-
margin: -6px 0 0 auto !important;
156+
margin: 0 0 0 auto !important;
155157
}
156158
</style>

apps/settings/templates/settings/personal/security/password.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
<div class="input-control">
4242
<label for="pass1"><?php p($l->t('Current password')); ?>: </label>
4343
<input type="password" id="pass1" name="oldpassword"
44-
placeholder="<?php p($l->t('Current password'));?>"
44+
placeholder="<?php p($l->t('Your current password'));?>"
4545
autocomplete="current-password" autocapitalize="none" autocorrect="off" />
4646
</div>
4747

4848
<div class="personal-show-container">
4949
<label for="pass2" ><?php p($l->t('New password'));?>: </label>
5050
<input type="password" id="pass2" name="newpassword"
5151
maxlength="469"
52-
placeholder="<?php p($l->t('New password')); ?>"
52+
placeholder="<?php p($l->t('Your new password')); ?>"
5353
data-typetoggle="#personal-show"
5454
autocomplete="new-password" autocapitalize="none" autocorrect="off" />
5555
<input type="checkbox" id="personal-show" class="hidden-visually" name="show" />

apps/user_status/src/components/CustomMessageInput.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
{{ visibleIcon }}
2626
</NcButton>
2727
</NcEmojiPicker>
28+
<label class="hidden-visually" for="user_status_message">
29+
{{ t('user_status', 'What is your status?') }}
30+
</label>
2831
<input ref="input"
32+
id="user_status_message"
2933
maxlength="80"
3034
:disabled="disabled"
3135
:placeholder="$t('user_status', 'What is your status?')"
@@ -39,8 +43,8 @@
3943
</template>
4044

4145
<script>
42-
import NcButton from '@nextcloud/vue/dist/Components/NcButton.vue'
43-
import NcEmojiPicker from '@nextcloud/vue/dist/Components/NcEmojiPicker.vue'
46+
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
47+
import NcEmojiPicker from '@nextcloud/vue/dist/Components/NcEmojiPicker.js'
4448
4549
export default {
4650
name: 'CustomMessageInput',
@@ -104,7 +108,7 @@ export default {
104108
flex-grow: 1;
105109
position: relative;
106110
107-
.v-popover {
111+
.v-popper {
108112
position: absolute;
109113
}
110114

apps/user_status/src/components/SetStatusModal.vue

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,8 @@
7272

7373
<script>
7474
import { showError } from '@nextcloud/dialogs'
75-
<<<<<<< HEAD
76-
import NcEmojiPicker from '@nextcloud/vue/dist/Components/NcEmojiPicker'
7775
import NcModal from '@nextcloud/vue/dist/Components/NcModal'
7876
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
79-
||||||| parent of f456d3bb0f (Various fixes)
80-
import EmojiPicker from '@nextcloud/vue/dist/Components/EmojiPicker'
81-
import Modal from '@nextcloud/vue/dist/Components/Modal'
82-
import ButtonVue from '@nextcloud/vue/dist/Components/Button'
83-
=======
84-
import Modal from '@nextcloud/vue/dist/Components/Modal'
85-
import ButtonVue from '@nextcloud/vue/dist/Components/Button'
86-
>>>>>>> f456d3bb0f (Various fixes)
8777
import { getAllStatusOptions } from '../services/statusOptionsService'
8878
import OnlineStatusMixin from '../mixins/OnlineStatusMixin'
8979
import PredefinedStatusesList from './PredefinedStatusesList'
@@ -97,15 +87,7 @@ export default {
9787
components: {
9888
ClearAtSelect,
9989
CustomMessageInput,
100-
<<<<<<< HEAD
101-
NcEmojiPicker,
10290
NcModal,
103-
||||||| parent of f456d3bb0f (Various fixes)
104-
EmojiPicker,
105-
Modal,
106-
=======
107-
Modal,
108-
>>>>>>> f456d3bb0f (Various fixes)
10991
OnlineStatusSelect,
11092
PredefinedStatusesList,
11193
NcButton,

apps/workflowengine/src/components/Check.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,6 @@ export default {
191191
margin-bottom: -5px;
192192
}
193193
.invalid {
194-
border: 1px solid var(--color-error) !important;
194+
border-color: var(--color-error) !important;
195195
}
196196
</style>

0 commit comments

Comments
 (0)