mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 23:56:39 +00:00
39 lines
755 B
QML
39 lines
755 B
QML
import Git 1.0
|
|
import Lomiri.Components 1.3
|
|
import Pass 1.0
|
|
import QtQuick 2.4
|
|
|
|
Column {
|
|
width: parent.width
|
|
spacing: units.gu(1)
|
|
|
|
Text {
|
|
id: repoUrlLabel
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
width: parent.width
|
|
text: i18n.tr('Repo Url')
|
|
}
|
|
|
|
TextField {
|
|
id: repoUrlInput
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
width: parent.width
|
|
}
|
|
|
|
Button {
|
|
id: buttonClone
|
|
|
|
width: parent.width
|
|
color: theme.palette.normal.positive
|
|
text: i18n.tr('Clone')
|
|
onClicked: {
|
|
Git.cloneHttp(repoUrlInput.text, Pass.password_store);
|
|
}
|
|
}
|
|
|
|
}
|