__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*
* SPDX-FileCopyrightText: 2019 Rituka Patwal <ritukapatwal21@gmail.com>
* SPDX-FileCopyrightText: 2015 Martin Klapetek <mklapetek@kde.org>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.2
import org.kde.kirigami 2.5 as Kirigami
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.5
Kirigami.Page {
title: i18n("Nextcloud Login")
header: Kirigami.InlineMessage {
type: Kirigami.MessageType.Error
text: helper.errorMessage
visible: text.length > 0
}
Column {
width: parent.width
height: childrenRect.height
anchors.centerIn: parent
visible: !busy.running
Kirigami.Icon {
source: "kaccounts-nextcloud"
width: Kirigami.Units.gridUnit * 6
height: width
anchors.horizontalCenter: form.horizontalCenter
}
Item {
width: 1
height: Kirigami.Units.gridUnit
}
Kirigami.FormLayout {
id: form
width: parent.width
TextField {
id: serverText
placeholderText: "https://nextcloud.provider.com"
inputMethodHints: Qt.ImhUrlCharactersOnly
Kirigami.FormData.label: i18n("Server address:")
}
}
}
BusyIndicator {
id: busy
anchors.centerIn: parent
running: helper.isWorking
}
footer: ToolBar {
RowLayout {
anchors.fill: parent
Button {
text: i18n("Next")
Layout.alignment: Qt.AlignRight
enabled: serverText.text.length > 0 // TODO Do a more thorough validation of the URL
onClicked: {
helper.checkServer(serverText.text)
}
}
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Server.qml | File | 1.81 KB | 0644 |
|
| Services.qml | File | 2.58 KB | 0644 |
|
| WebLogin.qml | File | 626 B | 0644 |
|
| main.qml | File | 1.21 KB | 0644 |
|