kleinere grafische Verbesserungen

This commit is contained in:
dorian 2018-07-06 14:40:45 +02:00
parent f125030885
commit edb85b7b38
3 changed files with 36 additions and 14 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<manifest package="com.itsblue.flgvertretung" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.03.3" android:versionCode="6" android:installLocation="auto"> <manifest package="com.itsblue.flgvertretungtest" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.03.3" android:versionCode="6" android:installLocation="auto">
<paths xmlns:android="http://schemas.android.com/apk/res/android"> <paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="external_files" path="."/> <external-path name="external_files" path="."/>
</paths> </paths>

View file

@ -8,7 +8,11 @@ Page {
objectName: "LoginPage"; objectName: "LoginPage";
header: AppToolBar { header: AppToolBar {
Label {
text: "Anmeldung"
anchors.centerIn: parent
color: "white"
}
} }
Image { Image {
@ -22,12 +26,30 @@ Page {
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
} }
Label {
id: infoText
text: "<html>Bitte melde dich mit den Anmeldedaten an, die du für den Vertretungsplan erhalten hast.
<a href='http://www.fanny-leicht.de/j34/index.php/aktuelles/vertretungsplan'>Weitere Informationen</a></html>"
wrapMode: Text.Wrap
onLinkActivated: {
Qt.openUrlExternally(link)
}
anchors {
top: bigLogo.bottom
left: parent.left
right: parent.right
leftMargin: window.width * 0.05
rightMargin: window.width * 0.05
}
}
ColumnLayout { ColumnLayout {
spacing: 40 spacing: 40
width: parent.width width: parent.width
anchors.fill: parent anchors.fill: parent
anchors.topMargin: bigLogo.height + window.height * 0.01 anchors.topMargin: bigLogo.height + infoText.height + window.height * 0.02
anchors.bottomMargin: window.height * 0.2 anchors.bottomMargin: window.height * 0.2
TextField { TextField {

View file

@ -16,17 +16,17 @@ ApplicationWindow {
property string background_color: "white" property string background_color: "white"
property string toolbar_color: "#312f38" property string toolbar_color: "#312f38"
// onBeforeRendering: { onBeforeRendering: {
// if(!firstinitdone){ if(!firstinitdone){
// var isinit = _cppAppSettings.loadSetting("init") var isinit = _cppAppSettings.loadSetting("permanent")
// console.log("getinit"); console.log("getinit");
// console.log(isinit); console.log(isinit);
// if(isinit === "0"){ if(isinit === "0"){
// stackView.push("qrc:/LoginPage.qml", {}); stackView.push("qrc:/LoginPage.qml", {});
// } }
// } }
// firstinitdone = true firstinitdone = true
// } }
Timer { Timer {
//runs only one time at applictaion lauch //runs only one time at applictaion lauch