Téléverser les fichiers vers "workstation-setup/src"
This commit is contained in:
@@ -341,17 +341,24 @@ Kirigami.ApplicationWindow {
|
|||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.alignment: Qt.AlignVCenter
|
||||||
spacing: 2
|
spacing: 2
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
Layout.fillWidth: true
|
||||||
text: modelData.title
|
text: modelData.title
|
||||||
color: "white"
|
color: "white"
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
font.weight: index === root.currentStep ? Font.DemiBold : Font.Medium
|
font.weight: index === root.currentStep ? Font.DemiBold : Font.Medium
|
||||||
|
horizontalAlignment: Text.AlignLeft
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
Layout.fillWidth: true
|
||||||
text: modelData.subtitle
|
text: modelData.subtitle
|
||||||
color: "#b9cee5"
|
color: "#b9cee5"
|
||||||
font.pixelSize: 11
|
font.pixelSize: 11
|
||||||
|
horizontalAlignment: Text.AlignLeft
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -597,8 +604,40 @@ Kirigami.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
InfoBox {
|
InfoBox {
|
||||||
iconText: "☝"
|
iconText: "🔐"
|
||||||
text: "Saisissez le mot de passe que vous venez de choisir et le PIN de la YubiKey. Touchez la clé à chaque fois qu'elle clignote pendant l'enrôlement. Aucune recovery key n'est demandée dans ce workflow."
|
text: "Saisissez le mot de passe que vous venez de choisir et le PIN de la YubiKey. Aucune recovery key n'est demandée dans ce workflow."
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
implicitHeight: touchInstruction.implicitHeight + 32
|
||||||
|
radius: 12
|
||||||
|
color: "#fffbeb"
|
||||||
|
border.width: 2
|
||||||
|
border.color: "#f59e0b"
|
||||||
|
|
||||||
|
RowLayout {
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 16
|
||||||
|
spacing: 14
|
||||||
|
|
||||||
|
Controls.Label {
|
||||||
|
text: "☝"
|
||||||
|
font.pixelSize: 25
|
||||||
|
Layout.alignment: Qt.AlignTop
|
||||||
|
}
|
||||||
|
|
||||||
|
Controls.Label {
|
||||||
|
id: touchInstruction
|
||||||
|
Layout.fillWidth: true
|
||||||
|
text: "IMPORTANT : après avoir cliqué sur « Associer la YubiKey », surveillez la clé. Elle peut clignoter plusieurs fois. Touchez-la à CHAQUE clignotement jusqu'à la fin de l'association."
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
color: "#92400e"
|
||||||
|
font.pixelSize: 14
|
||||||
|
font.weight: Font.DemiBold
|
||||||
|
lineHeight: 1.25
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.preferredHeight: 8 }
|
Item { Layout.preferredHeight: 8 }
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
|||||||
QGuiApplication::setOrganizationName(QStringLiteral("Raspot"));
|
QGuiApplication::setOrganizationName(QStringLiteral("Raspot"));
|
||||||
QGuiApplication::setOrganizationDomain(QStringLiteral("raspot.in"));
|
QGuiApplication::setOrganizationDomain(QStringLiteral("raspot.in"));
|
||||||
QGuiApplication::setApplicationName(QStringLiteral("NixOS Workstations Setup"));
|
QGuiApplication::setApplicationName(QStringLiteral("NixOS Workstations Setup"));
|
||||||
QGuiApplication::setApplicationVersion(QStringLiteral("1.8.3"));
|
QGuiApplication::setApplicationVersion(QStringLiteral("1.8.4"));
|
||||||
QGuiApplication::setDesktopFileName(QStringLiteral("org.raspot.nixosworkstations.setup"));
|
QGuiApplication::setDesktopFileName(QStringLiteral("org.raspot.nixosworkstations.setup"));
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
|
|||||||
Reference in New Issue
Block a user