Commit 7014ca2f authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Use white background for main pages

parent 1099352f
......@@ -27,6 +27,9 @@ import org.kde.newstuff 1.0 as KNS
Kirigami.Page {
id: root
title: i18n("Download Training Material")
background: Rectangle {
color: "#ffffff"
}
Component {
id: courseDownloadItem
......
......@@ -29,6 +29,9 @@ Kirigami.Page {
Layout.fillWidth: true
title: i18n("Configure Profile")
background: Rectangle {
color: "#ffffff"
}
readonly property Learner profile: g_profileManager.activeProfile
......
......@@ -22,15 +22,19 @@
import QtQuick 2.5
import QtQuick.Shapes 1.10
import QtQuick.Controls 2.3 as QQC2
import org.kde.kirigami 2.0 as Kirigami2
import org.kde.kirigami 2.7 as Kirigami
import artikulate 1.0
Kirigami2.Page {
Kirigami.Page {
id: root
readonly property color colorTask: "#1dbf4e"
readonly property color colorAnswer: "#7e48a5"
background: Rectangle {
color: "#ffffff"
}
title: {
var titleString = "";
if (g_trainingSession.unit === null) {
......@@ -45,13 +49,13 @@ Kirigami2.Page {
return titleString
}
actions {
main: Kirigami2.Action {
main: Kirigami.Action {
text: i18n("Next")
tooltip: i18n("Mark current phrase as completed and proceed with next one.")
iconName: "dialog-ok"
onTriggered: g_trainingSession.accept()
}
right: Kirigami2.Action {
right: Kirigami.Action {
text: i18n("Skip")
tooltip: i18n("Skip current phrase and proceed with next one.")
iconName: "go-next"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment