moment/src/gui/Pages/AddAccount/Reset.qml

37 lines
747 B
QML
Raw Normal View History

2019-12-19 22:46:16 +11:00
// SPDX-License-Identifier: LGPL-3.0-or-later
2019-12-08 03:39:56 +11:00
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HBox {
id: signInBox
clickButtonOnEnter: "ok"
buttonModel: [
{
name: "ok",
text: qsTr("Reset password from Riot"),
iconName: "reset-password"
},
]
buttonCallbacks: ({
ok: button => {
Qt.openUrlExternally("https://riot.im/app/#/forgot_password")
}
})
HLabel {
wrapMode: Text.Wrap
horizontalAlignment: Qt.AlignHCenter
2019-12-08 03:39:56 +11:00
text: qsTr(
"Not yet implemented\n\nYou can reset your " +
"password using another client such as Riot."
2019-12-08 03:39:56 +11:00
)
Layout.fillWidth: true
}
}