Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KAccounts Providers
Commits
e302ca46
Commit
e302ca46
authored
Oct 01, 2020
by
Nicolas Fella
Browse files
Reposition own/nextcloud icon
According to VDG feedback
parent
186d8cbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/nextcloud-ui/package/contents/ui/Server.qml
View file @
e302ca46
...
...
@@ -19,26 +19,34 @@ Kirigami.Page {
visible
:
text
.
length
>
0
}
Kirigami.Icon
{
source
:
"
kaccounts-nextcloud
"
width
:
Kirigami
.
Units
.
gridUnit
*
6
height
:
width
Column
{
anchors
{
horizontalCenter
:
form
.
horizontalCenter
bottom
:
form
.
top
bottomMargin
:
Kirigami
.
Units
.
gridUnit
*
3
width
:
parent
.
width
height
:
childrenRect
.
height
anchors.centerIn
:
parent
Kirigami.Icon
{
source
:
"
kaccounts-nextcloud
"
width
:
Kirigami
.
Units
.
gridUnit
*
6
height
:
width
anchors.horizontalCenter
:
form
.
horizontalCenter
}
}
Kirigami.FormLayout
{
id
:
form
anchors.centerIn
:
parent
visible
:
!
busy
.
running
TextField
{
id
:
serverText
placeholderText
:
"
https://nextcloud.provider.com
"
Kirigami.FormData.label
:
i18n
(
"
Server address:
"
)
Item
{
width
:
1
height
:
Kirigami
.
Units
.
gridUnit
}
Kirigami.FormLayout
{
id
:
form
visible
:
!
busy
.
running
width
:
parent
.
width
TextField
{
id
:
serverText
placeholderText
:
"
https://nextcloud.provider.com
"
Kirigami.FormData.label
:
i18n
(
"
Server address:
"
)
}
}
}
...
...
plugins/owncloud-ui/package/contents/ui/Server.qml
View file @
e302ca46
...
...
@@ -20,37 +20,45 @@ Kirigami.Page {
visible
:
text
.
length
>
0
}
Kirigami.Icon
{
source
:
"
kaccounts-owncloud
"
width
:
Kirigami
.
Units
.
gridUnit
*
6
height
:
width
Column
{
anchors
{
horizontalCenter
:
form
.
horizontalCenter
bottom
:
form
.
top
}
}
Kirigami.FormLayout
{
id
:
form
width
:
parent
.
width
height
:
childrenRect
.
height
anchors.centerIn
:
parent
visible
:
!
busy
.
running
TextField
{
id
:
nameText
Kirigami.FormData.label
:
i18n
(
"
Username:
"
)
Kirigami.Icon
{
source
:
"
kaccounts-owncloud
"
width
:
Kirigami
.
Units
.
gridUnit
*
6
height
:
width
anchors.horizontalCenter
:
form
.
horizontalCenter
}
TextField
{
id
:
passwordText
Kirigami.FormData.label
:
i18n
(
"
Password:
"
)
echoMode
:
TextInput
.
Password
Item
{
width
:
1
height
:
Kirigami
.
Units
.
gridUnit
}
TextField
{
id
:
serverText
placeholderText
:
"
https://nextcloud.provider.com
"
Kirigami.FormData.label
:
i18n
(
"
Server address:
"
)
Kirigami.FormLayout
{
id
:
form
visible
:
!
busy
.
running
width
:
parent
.
width
TextField
{
id
:
nameText
Kirigami.FormData.label
:
i18n
(
"
Username:
"
)
}
TextField
{
id
:
passwordText
Kirigami.FormData.label
:
i18n
(
"
Password:
"
)
echoMode
:
TextInput
.
Password
}
TextField
{
id
:
serverText
placeholderText
:
"
https://nextcloud.provider.com
"
Kirigami.FormData.label
:
i18n
(
"
Server address:
"
)
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment