#!/bin/bash

# Wizard 'end of life' info.
# Author: T.Jokiel <http://porteus-kiosk.org>
# All rights reserved.

echo '
<window decorated="false" title="Kiosk Wizard" resizable="false" window-position="1" icon-name="kiosk" width-request="500">
<vbox margin="10">
    <text use-markup="true" yalign="1"><label>"<span weight='"'bold'"'>Porteus Kiosk notification</span>"</label></text>
        <hseparator></hseparator>
        <text yalign="0" xalign="0" wrap="true" width-request="470"><label>Porteus Kiosk versions 4.x and 5.x are "end of life" now and have their repositories removed from our server. Only version 6.x can complete the installation. Mind that 6.x requires a paid subscription as we no longer have free products in our offer.</label></text>
        <text><label>""</label></text>
        <text yalign="0" xalign="0" wrap="true" width-request="470"><label>If you are interested in using our solution then please register an account in the Customer Panel on https://porteus-kiosk.org website and download installation ISO from it.</label></text>
        <text><label>""</label></text>
        <text yalign="0" xalign="0" wrap="true" width-request="470"><label>Press the "Exit" button to shutdown the PC.</label></text>
<hbox>
<vbox width-request="5"><text><label>""</label></text></vbox>
</hbox>
        <hbox>
                <button can-default="true" has-default="true" use-stock="true">
                        <label>Exit</label>
                        <input file icon="gtk-no"></input>
                        <action>init 0</action>
                </button>
        </hbox>
</vbox>
</window>
' | gtkdialog -s -c
