jf-roku/components/config/SetServerScreen.xml

37 lines
1.9 KiB
XML
Raw Normal View History

2021-07-09 10:12:19 +00:00
<?xml version="1.0" encoding="utf-8"?>
<component name="SetServerScreen" extends="JFGroup">
<interface>
2021-07-09 10:21:24 +00:00
<field id="serverUrl" type="string" alias="serverUrlTextbox.text" />
<field id="serverWidth" alias="serverUrlOutline.width,serverUrlTextbox.width,serverUrlContainer.width,submitSizer.width" value="1620" />
2021-07-09 10:21:24 +00:00
<field id="serverHeight" alias="serverUrlOutline.height,serverUrlTextbox.height,serverUrlContainer.height" value="60" />
<field id="errorMessage" type="string" alias="errorMessage.text" />
2021-07-09 10:12:19 +00:00
</interface>
<children>
2021-07-16 02:32:34 +00:00
<LayoutGroup translation="[150,150]" itemSpacings="40">
<LayoutGroup>
<label text="Connect to Server" id="prompt" font="font:LargeBoldSystemFont" />
<label text="Pick a Jellyfin server from the local network" />
</LayoutGroup>
2021-07-09 10:12:19 +00:00
<!--background for server picker-->
<Rectangle color="0x00000020" width="1620" height="400">
<MarkupList id="serverPicker" translation="[50, 20]" itemComponentName="JFServer" itemSpacing="[0, 10]" itemSize="[1520, 100]" numRows="3" vertFocusAnimationStyle="floatingFocus" />
2021-07-09 10:12:19 +00:00
</Rectangle>
<label text="...or enter server URL manually:" translation="[0, 690]" />
<Rectangle id="serverUrlContainer" color="0x00000000">
<TextEditBox id="serverUrlTextbox" hintText="e.g. 192.168.1.100:8096 or https://example.com/jellyfin"></TextEditBox>
<Poster id="serverUrlOutline" visible="false" uri="pkg:/images/hd_focus.9.png" />
</Rectangle>
<label id="errorMessage" text="" font="font:MediumSystemFont" color="#ff0000FF" />
<LayoutGroup horizAlignment="center">
<JFButton id="submit" minChars="30" text="Submit"></JFButton>
<!--add a known width invisibile element to allow the button to be centered-->
2021-07-09 19:33:25 +00:00
<Rectangle id="submitSizer" width="1620" height="0" color="#00000000" />
</LayoutGroup>
2021-07-09 10:21:24 +00:00
</LayoutGroup>
2021-12-23 01:00:47 +00:00
<OptionsSlider id="options" />
2021-07-09 10:12:19 +00:00
</children>
</component>