35 lines
832 B
QML
Raw Normal View History

2019-12-19 07:46:16 -04:00
// SPDX-License-Identifier: LGPL-3.0-or-later
2019-12-07 12:39:56 -04:00
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
import "../../Base/Buttons"
2019-12-07 12:39:56 -04:00
HFlickableColumnPage {
function takeFocus() { resetButton.forceActiveFocus() }
footer: AutoDirectionLayout {
ApplyButton {
id: resetButton
text: qsTr("Reset password from Riot")
icon.name: "reset-password"
onClicked:
Qt.openUrlExternally("https://riot.im/app/#/forgot_password")
Layout.fillWidth: true
2019-12-07 12:39:56 -04:00
}
}
2019-12-07 12:39:56 -04:00
HLabel {
wrapMode: HLabel.Wrap
horizontalAlignment: Qt.AlignHCenter
2019-12-07 12:39:56 -04:00
text: qsTr(
"Not implemented yet\n\n" +
"You can reset your password from another client such as Riot."
2019-12-07 12:39:56 -04:00
)
Layout.fillWidth: true
}
}