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
|
2020-03-11 00:03:56 +11:00
|
|
|
horizontalAlignment: Qt.AlignHCenter
|
2019-12-08 03:39:56 +11:00
|
|
|
text: qsTr(
|
2020-03-11 00:03:56 +11:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|