Split the main view on 2
This commit is contained in:
+39
-11
@@ -1,19 +1,47 @@
|
|||||||
import QtQuick 2.5
|
import QtQuick 2.5
|
||||||
import fbx.application 1.0
|
import fbx.application 1.0
|
||||||
import "Views" 1.0
|
import "Views" as View
|
||||||
|
|
||||||
Application {
|
Application {
|
||||||
Image {
|
Column {
|
||||||
source: "icon.png"
|
anchors.fill: parent
|
||||||
}
|
spacing: 10
|
||||||
Text {
|
|
||||||
text: "Connect to Jellifyn server"
|
|
||||||
}
|
|
||||||
|
|
||||||
GridView {
|
Rectangle {
|
||||||
model: ViewLogin {}
|
// Logo left section
|
||||||
delegate: Column {
|
width: parent.width / 2 - 5
|
||||||
Text { text: name; anchors.horizontalCenter: parent.horizontalCenter }
|
height: parent.height
|
||||||
|
|
||||||
|
color: "#000B25"
|
||||||
|
|
||||||
|
Image {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
source: "icon.png"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
// Grid View section to log user and setup the server link
|
||||||
|
width: parent.width / 2 - 5
|
||||||
|
height: parent.height
|
||||||
|
|
||||||
|
color: "blue"
|
||||||
|
|
||||||
|
Text {
|
||||||
|
color: "orange"
|
||||||
|
text: "Connect to Jellyfin"
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
GridView {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
width: parent.width; height: parent.height
|
||||||
|
|
||||||
|
model: View.Login {}
|
||||||
|
delegate: Column {
|
||||||
|
Text { text: name; anchors.horizontalCenter: parent.horizontalCenter }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"description": "Jellyfin for Freebox",
|
"description": "Jellyfin for Freebox",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
"net_wan": "required",
|
"net_wan": "required"
|
||||||
},
|
},
|
||||||
"entryPoints": {
|
"entryPoints": {
|
||||||
"main": {
|
"main": {
|
||||||
|
|||||||
Reference in New Issue
Block a user